{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)} {if $m.plugin != 'pay'} {if !empty($m.logo)} {/if} {/if} {if !empty($m.name)} {$m.name|escape} {if $m.plugin == 'pay' && !$empty_provider} {/if} {/if} {if !empty($m.description)} {$m.description} {/if} {if $empty_provider} [s`OK, thanks`] {/if} {if !empty($m.error)} {$m.error} {/if} {if !empty($m.custom_html)} {$m.custom_html} {/if} {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} {*
{$company.name|escape}
[`Invoice`] [`#`] {$invoice.number|escape}
{$invoice.amount|wa_format_amount_currency:$invoice.currency_id}
{$m.name|escape} {if $m.plugin == 'pay' && !$empty_provider} {/if}
{$m.description}
{$m.error}
No payment methods or payment