{if empty($_hide_payments) && (!empty($payment_methods) || !empty($payment))}
{if !empty($payment_methods)} {if empty($style_version)} {else} [`Pay`] {/if}

{$company.name|escape}

  • [`Invoice`] [`#`] {$invoice.number|escape}

    {$invoice.amount|wa_format_amount_currency:$invoice.currency_id}

  • {$has_pay_plugin = false} {$has_pay_plugin_divider = false} {foreach $payment_methods as $m} {if $m.plugin == 'pay'} {$has_pay_plugin = true} {/if} {if $has_pay_plugin && !$has_pay_plugin_divider && $m.plugin != 'pay'} {$has_pay_plugin_divider = true}
  • [`More payment options`]
  • {/if} {$empty_provider = $m.plugin === 'pay' && !empty($m.is_empty_provider)}
  • {foreachelse}
  • [`Oops! We are sorry, but we can not offer any payment option for your order. Checkout can not be completed.`]
  • {/foreach}
{**}
{elseif (!empty($payment))} {$payment} {/if}
{else} {*

No payment methods or payment

*} {/if}