{if ($assignment.flags & $smarty.const.TARIFF_FLAG_ALL_REWARD_PENALTY_FLAGS) > 0}
{if $assignment.value < 0}
{icon name="reward"}
{else}
{icon name="penalty"}
{/if}
|
{if $assignment.value < 0}
{trans("Reward for")}
{else}
{trans("Penalty for")}
{/if}
|
{foreach $_TARIFF_FLAGS as $flag => $label}
{if intval($assignment.flags) & intval($flag)}
-
{$label}
{/if}
{/foreach}
|
{/if}
{if $assignment.attribute}
{icon name="user-id-number"}
|
{trans("Attribute:")}
|
{if $assignment.attribute}{$assignment.attribute}{/if}
|
{/if}
{icon name="user-id-number"}
|
{trans("Numbering Plan:")} |
{if $assignment.numberplan}{$assignment.numberplan}{else}{trans("default")}{/if} |
{icon name="print"}
|
{trans("Payment Type:")}
|
{if $assignment.paytypename}{trans($assignment.paytypename)}{else}{trans("default")}{/if}
|
{icon name="options"}
|
{trans("document type:")}
|
{if $assignment.invoice == $smarty.const.DOC_INVOICE}
{trans("invoice")}
{elseif $assignment.invoice == $smarty.const.DOC_INVOICE_PRO}
{trans("pro forma invoice")}
{elseif $assignment.invoice == $smarty.const.DOC_DNOTE}
{trans("debit note")}
{else}
{trans("no")}
{/if}
|
{icon name="options"}
|
{trans("separate document")}
|
{if $assignment.separatedocument}{trans("yes")}{else}{trans("no")}{/if}
|
{icon name="money"}
|
{trans("split payment")}
|
{if $assignment.splitpayment}{trans("yes")}{else}{trans("no")}{/if}
|
{icon name="money"}
|
{trans("Tax category:")}
|
{if $assignment.taxcategory}
({sprintf('%02d', $assignment.taxcategory)}) {$_TAX_CATEGORIES[$assignment.taxcategory].label}
{else}
{trans("- none -")}
{/if}
|
{icon name="options"}
|
{trans("with settlement")}:
|
{if $assignment.settlement}{trans("yes")}{else}{trans("no")}{/if}
|
{icon name="document"}
|
{trans("Reference document:")}
|
{if $assignment.document}{$assignment.document}{else}{trans("none")}{/if}
|