<div class="cp-cols">
{# BANK #}
<div class="cp cp-2">
<label for="receiver-bank">{{ getLanguage('bank', 'receiver') }}{{ req|raw }}</label>
<select id="receiver-bank" name="bankCode" class="custom-select custom-select--search js--select-form" required>
<option value="">{{ getLanguage('select_bank', 'receiver') }}</option>
{% for bank in banksData %}
<option value="{{ bank.id }}" {{ (receiverEdit and receiverEdit.bankCode == bank.id)? 'selected' }}>{{ bank.name }}</option>
{% endfor %}
</select>
</div>
{# BANK ACCOUNT TYPE #}
<div class="cp cp-2">
<label class="label-so" for="receiver-bank-account-type">{{ getLanguage('account_type', 'my_order') }}{{ req|raw }}</label>
<select id="receiver-bank-account-type" name="bankAccountType" class="custom-select js--select-form" required>
<option value="">{{ getLanguage('account_type_select', 'my_order') }}</option>
<option value="{{ enum('ReceiverEnum::ACCOUNT_BANK_CC') }}"{{ (receiverEdit and receiverEdit.bankAccountType == enum('ReceiverEnum::ACCOUNT_BANK_CC'))? ' selected'}}>{{ getLanguage('account_CC', 'my_order') }}</option>
<option value="{{ enum('ReceiverEnum::ACCOUNT_BANK_CI') }}"{{ (receiverEdit and receiverEdit.bankAccountType == enum('ReceiverEnum::ACCOUNT_BANK_CI'))? ' selected'}}>{{ getLanguage('account_CI', 'my_order') }}</option>
<option value="{{ enum('ReceiverEnum::ACCOUNT_BANK_CCC') }}"{{ (receiverEdit and receiverEdit.bankAccountType == enum('ReceiverEnum::ACCOUNT_BANK_CCC'))? ' selected'}}>{{ getLanguage('account_CCC', 'my_order') }}</option>
<option value="{{ enum('ReceiverEnum::ACCOUNT_BANK_CIC') }}"{{ (receiverEdit and receiverEdit.bankAccountType == enum('ReceiverEnum::ACCOUNT_BANK_CIC'))? ' selected'}}>{{ getLanguage('account_CIC', 'my_order') }}</option>
</select>
</div>
{% if formEdit %}
<div class="box-form-warning">
<p>
<b>{{ getLanguage('attention', 'receiver') }}</b> {{ getLanguage('fill_in', 'receiver') }}
{% if receiverEdit %}
 <b>{{ getDocumentFormat(receiverEdit.documentNumber) }}</b>
{% else %}
digitado na primeira etapa.
{% endif %}
</p>
</div>
{% endif %}
{# BANK AGENCY #}
<div class="cp cp-3">
<div class="cp-bank">
<label for="receiver-agency">{{ getLanguage('bank_agency', 'receiver') }}{{ req|raw }}</label>
<label for="receiver-agency-dv">{{ getLanguage('digit', 'receiver') }}</label>
<input id="receiver-agency" type="text" name="agency" class="bank-code js--input-form" value="{{ receiverEdit? receiverEdit.agency }}" required></input>
<input id="receiver-agency-dv" type="text" name="agencyDv" class="js--input-form" maxlength="1" value="{{ receiverEdit? receiverEdit.agencyDv }}"></input>
</div>
</div>
{# BANK ACCOUNT #}
<div class="cp cp-3">
<div class="cp-bank">
<label for="receiver-account">{{ getLanguage('account_bank', 'receiver') }}{{ req|raw }}</label>
<label for="receiver-account-dv">{{ getLanguage('digit', 'receiver') }}</label>
<input id="receiver-account" type="text" name="account" class="bank-code js--input-form" value="{{ receiverEdit? receiverEdit.account }}" required></input>
<input id="receiver-account-dv" type="text" name="accountDv" class="js--input-form" maxlength="1" value="{{ receiverEdit? receiverEdit.accountDv }}"></input>
</div>
</div>
</div>