[{capture append="oxidBlock_content"}] [{assign var="currency" value=$oView->getActCurrency()}] [{d3modcfgcheck modid="d3points"}][{/d3modcfgcheck}] [{if $mod_d3points}] [{block name="d3accountpoints_content"}] [{if $oModCfg_d3points->isThemeIdMappedTo('azure')}]

[{oxmultilang ident="D3_INC_ACCOUNT_HEADER_POINTS"}]

[{oxmultilang ident="D3_INC_ACCOUNT_HEADER_POINTS_ACCOUNT"}]

[{block name="d3accountpoints_main_form_points"}]
[{$oViewConf->getHiddenSid()}] [{$oViewConf->getNavFormParams()}] [{assign var=oNewVoucher value=$oView->getCreatedVoucher()}] [{if $oNewVoucher}]
[{oxmultilang ident="D3_ACCOUNT_POINTS_NEWVOUCHERTEXT1"}] [{$oNewVoucher->oxvouchers__oxvouchernr->value}] [{oxmultilang ident="D3_ACCOUNT_POINTS_NEWVOUCHERTEXT2"}] [{$oNewVoucher->fVoucherdiscount}] [{$currency->sign}] [{oxmultilang ident="D3_ACCOUNT_POINTS_NEWVOUCHERTEXT3"}]
[{if !$oView->d3GetSelectedOption(3)}] [{oxmultilang ident="D3_ACCOUNT_POINTS_NEWVOUCHERTEXT4"}] [{/if}]

[{/if}] [{assign var=oPointList value=$oView->d3GetAllPoints()}] [{assign var="cntRow" value=0}] [{assign var=oPointList value=$oView->d3GetAllPoints('azure')}] [{foreach from=$oPointList item="oPoint"}] [{if $cntRow ==0}] [{assign var="cntRow" value=1}] [{*assign var="RowStyle" value="#F0F0F0"*}] [{assign var="RowStyle" value=" first_row"}] [{else}] [{assign var="cntRow" value=0}] [{*assign var="RowStyle" value="#fff"*}] [{assign var="RowStyle" value=" second_row"}] [{/if}] [{include file=$oPoint->d3points__d3template->value oPoint=$oPoint RowStyle=$RowStyle}] [{if $cntRow ==1}] [{assign var="cntRow" value=1}] [{else}] [{assign var="cntRow" value=0}] [{/if}] [{foreachelse}] [{oxmultilang ident="D3_ACCOUNT_POINTS_NO_POINTS"}] [{/foreach}] [{assign var="dTotalSum" value=$oView->d3GetPointsTotalSum()}]

[{if $oView->d3getAllowCreateVoucher()}]

[{oxmultilang ident="D3_ACCOUNT_POINTS_CHANGETEXT1"}] [{$oView->d3getVoucherAmount()}] [{$currency->sign}] [{oxmultilang ident="D3_ACCOUNT_POINTS_CHANGETEXT2"}]
[{else}]
[{oxmultilang ident="D3_ACCOUNT_POINTS_POSSIBLETEXT1"}] [{$oView->d3getVoucherAvailable()}] [{oxmultilang ident="D3_ACCOUNT_POINTS_POSSIBLEPOINTS"}] [{oxmultilang ident="D3_ACCOUNT_POINTS_POSSIBLETEXT2"}]
[{/if}]

[{/block}] [{include file='d3points_mail_option_azure.tpl'}] [{elseif $oModCfg_d3points->isThemeIdMappedTo('flow')}]

[{oxmultilang ident="D3_INC_ACCOUNT_HEADER_POINTS"}]

[{*

[{oxmultilang ident="D3_INC_ACCOUNT_HEADER_POINTS_ACCOUNT"}]

*}] [{block name="d3accountpoints_created_voucher_message"}] [{assign var=oNewVoucher value=$oView->getCreatedVoucher()}] [{if $oNewVoucher}]
[{oxmultilang ident="D3_ACCOUNT_POINTS_NEWVOUCHERTEXT1"}] [{$oNewVoucher->oxvouchers__oxvouchernr->value}] [{oxmultilang ident="D3_ACCOUNT_POINTS_NEWVOUCHERTEXT2"}] [{$oNewVoucher->fVoucherdiscount}] [{$currency->sign}] [{oxmultilang ident="D3_ACCOUNT_POINTS_NEWVOUCHERTEXT3"}]
[{if !$oView->d3GetSelectedOption(3)}] [{oxmultilang ident="D3_ACCOUNT_POINTS_NEWVOUCHERTEXT4"}] [{/if}]
[{/if}] [{/block}] [{block name="d3accountpoints_created_voucher"}]
[{oxmultilang ident="D3_ACCOUNT_POINTS_CREATE_VOUCHER"}] & [{oxmultilang ident="D3_ACCOUNT_POINTS_TOTALSUM"}]
[{assign var="dTotalSum" value=$oView->d3GetPointsTotalSum()}]
[{oxmultilang ident="D3_ACCOUNT_POINTS_TOTALSUM_TEXT" suffix="COLON"}] [{if $dTotalSum > 0}]+[{/if}][{$dTotalSum}] [{oxmultilang ident="D3_ACCOUNT_POINTS_AMOUNT"}].

[{if $oView->d3getAllowCreateVoucher()}]
[{oxmultilang ident="D3_ACCOUNT_POINTS_CHANGETEXT1"}] [{$oView->d3getVoucherAmount()}] [{$currency->sign}] [{oxmultilang ident="D3_ACCOUNT_POINTS_CHANGETEXT2"}]
[{else}]
[{oxmultilang ident="D3_ACCOUNT_POINTS_POSSIBLETEXT1"}] [{$oView->d3getVoucherAvailable()}] [{oxmultilang ident="D3_ACCOUNT_POINTS_POSSIBLEPOINTS"}] [{oxmultilang ident="D3_ACCOUNT_POINTS_POSSIBLETEXT2"}]
[{/if}]
[{/block}] [{block name="d3accountpoints_list_with_points"}]
[{oxmultilang ident="D3_ACCOUNT_POINTS_HEADER"}]
    [{assign var=oPointList value=$oView->d3GetAllPoints('flow')}] [{foreach from=$oPointList item="oPoint"}] [{include file=$oPoint->d3points__d3template->value oPoint=$oPoint RowStyle=$RowStyle}] [{foreachelse}] [{oxmultilang ident="D3_ACCOUNT_POINTS_NO_POINTS"}] [{/foreach}]
[{/block}] [{include file='d3points_mail_option_flow.tpl'}] [{else}] [{/if}] [{/block}] [{/if}] [{/capture}] [{capture append="oxidBlock_sidebar"}] [{include file="page/account/inc/account_menu.tpl" active_link="d3pointsaccount"}] [{/capture}] [{include file="layout/page.tpl" sidebar="Left"}]