{% include "headitem.html.twig" with {title: "GENERAL_ADMIN_TITLE"|translate} %}
{{ oViewConf.getHiddenSid()|raw }}
{% if error %}
{{ error }}
{% endif %} {% if order and payPalOrder %} {% set currency = oView.getPayPalCurrency() %}
{{ translate({ ident: "OSC_PAYPAL_SHOP_PAYMENT_STATUS", suffix: "COLON" }) }} {{ translate({ ident: "OSC_PAYPAL_STATUS_"|cat(oView.getPayPalPaymentStatus()) }) }}
{{ translate({ ident: "OSC_PAYPAL_ORDER_PRICE", suffix: "COLON" }) }} {{ oView.formatPrice(oView.getPayPalTotalOrderSum()) }} {{ currency }}
{{ translate({ ident: "OSC_PAYPAL_AUTHORIZED_AMOUNT", suffix: "COLON" }) }} {{ oView.formatPrice(oView.getPayPalAuthorizationAmount()) }} {{ currency }}
{{ translate({ ident: "OSC_PAYPAL_CAPTURED_AMOUNT", suffix: "COLON" }) }} {{ oView.formatPrice(oView.getPayPalCapturedAmount()) }} {{ currency }}
{{ translate({ ident: "OSC_PAYPAL_REFUNDED_AMOUNT", suffix: "COLON" }) }} {{ oView.formatPrice(oView.getPayPalRefundedAmount()) }} {{ currency }}
{{ translate({ ident: "OSC_PAYPAL_CAPTURED_NET", suffix: "COLON" }) }} {{ oView.formatPrice(oView.getPayPalResultedAmount()) }} {{ currency }}
{% if payPalOrderDetails.oscpaypal_order__oscpaypalpuipaymentreference.value %} {{ translate({ ident: "OSC_PAYPAL_PAYMENT_PUI", suffix: "COLON" }) }}
{{ translate({ ident: "OSC_PAYPAL_PAYMENT_PUI_REFERENCE", suffix: "COLON" }) }} {{ payPalOrderDetails.oscpaypal_order__oscpaypalpuipaymentreference.value }}
{{ translate({ ident: "OSC_PAYPAL_PAYMENT_PUI_BIC", suffix: "COLON" }) }} {{ payPalOrderDetails.oscpaypal_order__oscpaypalpuibic.value }}
{{ translate({ ident: "OSC_PAYPAL_PAYMENT_PUI_IBAN", suffix: "COLON" }) }} {{ payPalOrderDetails.oscpaypal_order__oscpaypalpuiiban.value }}
{{ translate({ ident: "OSC_PAYPAL_PAYMENT_PUI_BANKNAME", suffix: "COLON" }) }} {{ payPalOrderDetails.oscpaypal_order__oscpaypalpuibankname.value }}
{{ translate({ ident: "OSC_PAYPAL_PAYMENT_PUI_ACCOUNTHOLDER", suffix: "COLON" }) }} {{ payPalOrderDetails.oscpaypal_order__oscpaypalpuiaccountholdername.value }}
{% endif %}

{{ translate({ ident: "OSC_PAYPAL_ORDER_PRODUCTS", suffix: "COLON" }) }}

{% if order.isNettoMode() %} {% else %} {% endif %} {% set blWhite = "" %} {% for listitem in order.getOrderArticles() %} {% if listitem.oxorderarticles__oxstorno.value == 1 %} {% set listclass = "listitem3" %} {% else %} {% set listclass = "listitem3"|cat(blWhite) %} {% endif %} {% if order.isNettoMode() %} {% else %} {% endif %} {% if blWhite == "2" %} {% set blWhite = "" %} {% else %} {% set blWhite = "2" %} {% endif %} {% endfor %}
{{ translate({ ident: "GENERAL_SUM" }) }}    {{ translate({ ident: "GENERAL_ITEMNR" }) }}    {{ translate({ ident: "GENERAL_TITLE" }) }}{{ translate({ ident: "ORDER_ARTICLE_ENETTO" }) }}{{ translate({ ident: "ORDER_ARTICLE_EBRUTTO" }) }}{{ translate({ ident: "GENERAL_ATALL" }) }} {{ translate({ ident: "ORDER_ARTICLE_MWST" }) }}
{{ listitem.oxorderarticles__oxamount.value }} {{ listitem.oxorderarticles__oxartnum.value }} {{ listitem.oxorderarticles__oxtitle.value|truncate(20, "")|striptags }}{{ listitem.getNetPriceFormated() }} {{ order.oxorder__oxcurrency.value }} {{ listitem.getTotalNetPriceFormated() }} {{ order.oxorder__oxcurrency.value }} {{ listitem.getBrutPriceFormated() }} {{ order.oxorder__oxcurrency.value }} {{ listitem.getTotalBrutPriceFormated() }} {{ order.oxorder__oxcurrency.value }} {{ listitem.oxorderarticles__oxvat.value }}
{{ translate({ ident: "OSC_PAYPAL_PAYMENT_HISTORY", suffix: "COLON" }) }} {% for listitem in oView.getPayPalHistory() %} {% set class = smarty_cycle(["listitem", "listitem2"]) %} {% endfor %}
{{ translate({ ident: "OSC_PAYPAL_HISTORY_DATE" }) }} {{ translate({ ident: "OSC_PAYPAL_HISTORY_ACTION" }) }} {{ translate({ ident: "OSC_PAYPAL_AMOUNT" }) }} {{ translate({ ident: "OSC_PAYPAL_HISTORY_PAYPAL_STATUS" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("OSC_PAYPAL_HISTORY_PAYPAL_STATUS_HELP"), 'sHelpText': help_text("OSC_PAYPAL_HISTORY_PAYPAL_STATUS_HELP")} %} {{ translate({ ident: "OSC_PAYPAL_TRANSACTIONID" }) }} {{ translate({ ident: "OSC_PAYPAL_INVOICE_ID" }) }} {{ translate({ ident: "OSC_PAYPAL_COMMENT" }) }}
{{ listitem.date }} {{ translate({ ident: "OSC_PAYPAL_"|cat(listitem.action) }) }} {{ oView.formatPrice(listitem.amount) }} {{ currency }} {{ translate({ ident: "OSC_PAYPAL_STATUS_"|cat(listitem.status) }) }} {{ listitem.transactionid }} {{ listitem.invoiceid }} {{ listitem.comment }}
{% if oView.getPayPalPaymentStatus() == 'COMPLETED' and oView.getPayPalRemainingRefundAmount() %}

{{ translate({ ident: "OSC_PAYPAL_ISSUE_REFUND" }) }}

{{ oViewConf.getHiddenSid()|raw }}
{% elseif oView.getPayPalPaymentStatus() != 'COMPLETED' %}

{{ translate({ ident: "OSC_PAYPAL_ACTIONS", suffix: "COLON" }) }}

{{ oViewConf.getHiddenSid()|raw }}

{{ translate({ ident: "OSC_PAYPAL_CAPTURE_DAYS_LEFT", args: oView.getTimeLeftForPayPalCapture() }) }}

{% endif %} {% endif %} {% include "bottomnaviitem.html.twig" %} {% include "bottomitem.html.twig" %}