[{block name="admin_order_heidelpay_form"}]
[{* showing all transactions for this order *}]
[{assign var='transactions' value=$oView->getTransactions()}]
[{assign var='transactions' value=$transactions->reverse()}]
[{if !empty($transactions)}]
[{oxmultilang ident="D3UNZER_PAYMENT_COMPANY_RESULT"}] |
[{oxmultilang ident="D3UNZER_PAYMENT_COMPANY_DATE"}] |
[{oxmultilang ident="D3UNZER_PAYMENT_COMPANY_CARDS"}] |
[{oxmultilang ident="D3UNZER_PAYMENT_COMPANY_METHOD"}] |
[{oxmultilang ident="D3UNZER_PAYMENT_COMPANY_PAYMENTTYPE"}] |
[{oxmultilang ident="D3UNZER_PAYMENT_COMPANY_TXNID"}] |
[{oxmultilang ident="D3UNZER_PAYMENT_COMPANY_UNIQUEID"}] |
[{oxmultilang ident="D3UNZER_PAYMENT_COMPANY_SHORTID"}] |
[{foreach from=$transactions item='transaction' key='index' name='transactions'}]
[{assign var='transactionLogReader' value=$transaction->getTransactiondata()}]
[{assign var='sClassName' value='class="listitem"'}]
[{assign var='blTransactionSuccessfull' value=false}]
[{assign var='sAmount' value=$transactionLogReader->getAmount()}]
[{assign var="sPaymentType" value=$transactionLogReader->getPaymentcode()|substr:0:2}]
[{assign var="sPaymentMethod" value=$transactionLogReader->getPaymentcode()|substr:3}]
[{assign var='sUniqueId' value=$transactionLogReader->getUniqueid()}]
[{assign var='criterionTags' value=$transactionLogReader->getCriterionTags()}]
[{if false == empty($sUniqueId)}]
[{if $smarty.foreach.transactions.index is odd}]
[{assign var='sClassName' value='class="listitem2"'}]
[{/if}]
[{if $transactionLogReader->getResult() == 'ACK'}]
[{assign var='blTransactionSuccessfull' value=true}]
[{/if}]
[{if !$blTransactionSuccessfull}]
[{assign var='sAmount' value="$sAmount"}]
[{/if}]
[{if $sPaymentMethod == 'PA'}]
[{assign var='sAmount' value="($sAmount)"}]
[{/if}]
|
|
[{$transactionLogReader->getReason()}]
|
[{$transactionLogReader->getTimestamp()}]
|
[{$sAmount}] [{$transactionLogReader->getCurrency()}]
|
[{oxmultilang ident='D3_UNZER_METHOD_'|cat:$sPaymentMethod}]
([{$sPaymentMethod}])
|
[{oxmultilang ident='D3_UNZER_PAYMENT_'|cat:$sPaymentType}]
([{$sPaymentType}])
|
[{$transactionLogReader->getTransactionid()}]
|
[{$sUniqueId}]
|
[{$transactionLogReader->getShortid()}]
|
[{if $criterionTags->count() > 0}]
[{oxmultilang ident="D3_UNZER_CONTROLLERS_ADMIN_ORDER_HEIDELPAY_CRITERIONTAGS"}]
[{foreach from=$criterionTags item="criterionValue" key="criterionName" name="criterionTags"}]
[{assign var='criterionClassname' value="listitem"}]
[{if $smarty.foreach.criterionTags.iteration is even by 2}]
[{assign var='criterionClassname' value="listitem2"}]
[{/if}]
[{oxmultilang ident=$criterionName noerror=true}]: |
[{$criterionValue}]
|
[{/foreach}]
|
[{/if}]
|
|
[{/if}]
[{/foreach}]
[{if $oView->isBasicLicence()}]
[{oxmultilang ident="D3_UNZER_RESTRICTIONINFO_ORDER"}]
[{/if}]
[{else}]
[{oxmultilang ident="D3_UNZER_CONTROLLERS_ADMIN_ORDER_HEIDELPAY_IS_NOT_HEIDELPAY"}]
[{/if}]
[{/block}]
|