$v}}{$k}="{$v}"{{endforeach}} data-ipsForm data-role="paymentForm"> {{foreach $hiddenValues as $k => $v}} {{if \is_array($v)}} {{foreach $v as $_k => $_v}} {{endforeach}} {{else}} {{endif}} {{endforeach}} {{if $uploadField}} {{endif}} {{if $form->error}}
{$form->error}
{{endif}} {{foreach $elements as $collection}} {{foreach $collection as $inputName => $input}} {{if $inputName == 'payment_method'}}
{{if $invoice->canSplitPayment()}} {lang="split_payment"} {{endif}}
    {{foreach $input->options['options'] as $k => $v}}
  • value == (string) $k or ( isset( $input->options['userSuppliedInput'] ) and !\in_array( $input->value, array_keys( $input->options['options'] ) ) and $k == $input->options['userSuppliedInput'] )}}checked{{endif}} {{if $input->required === TRUE}}required{{endif}} {{if $input->disabled === TRUE or ( \is_array( $input->disabled ) and \in_array( $k, $input->disabled ) )}}disabled{{endif}} {{if isset( $input->options['toggles'][ $k ] ) and !empty( $input->options['toggles'][ $k ] )}}data-control="toggle" data-toggles="{expression="implode( ',', $input->options['toggles'][ $k ] )"}"{{endif}} id="elRadio_{$input->name}_{$k}" name="{$input->name}" value="{$k}">
  • {{endforeach}}
{{else}} {{endif}} {{endforeach}} {{endforeach}} {{if $showSubmitButton}}
{{endif}}