@extends('payments.payment_method')
@section('head')
@parent
@stop
@section('payment_details')
{!! Former::open($url)
->autocomplete('on')
->addClass('payment-form')
->id('payment-form')
->rules(array(
'iban' => 'required',
'authorize_sepa' => 'required',
)) !!}
@if (Utils::isNinjaDev())
{{ Former::populateField('iban', 'DE89370400440532013000') }}
@endif
{!! Former::text('iban') !!}
{!! Former::checkbox('authorize_sepa')
->text(trans('texts.sepa_authorization', ['company'=>$account->getDisplayName(), 'email' => $account->work_email]))
->label(' ')
->value(1) !!}