<form class="row g-3 auto-width bank" action="{{ route('company-banks.store')}}" method="post" enctype='multipart/form-data'>
    @csrf
    <input type="hidden" name="company_id" data-id="{!! $id !!}">
    <div class="col-md-12">
        <label for="account_holder_name" class="form-label">Account Holder Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="account_holder_name" name="account_holder_name" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_account_holder_name" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="account_number" class="form-label">Account No <span class="text-danger"><b>*</b></span></label>
        <input type="number" class="form-control" id="account_number" name="account_number" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_account_number" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="ifsc_code" class="form-label">IFSC<span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="ifsc_code" name="ifsc_code" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_ifsc_code" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="swift_code" class="form-label">SWIFT Code</label>
        <input type="text" class="form-control" id="swift_code" name="swift_code" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_swift_code" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="bank_name" class="form-label">Bank Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="bank_name" name="bank_name" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_bank_name" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="bank_branch" class="form-label">Branch Name </label>
        <input type="text" class="form-control" id="bank_branch" name="bank_branch" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_bank_branch" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="upi_id" class="form-label">UPI Id</label>
        <input type="text" class="form-control" id="upi_id" name="upi_id" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_upi_id" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="priority" class="form-label">Priority <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="priority" name="priority" aria-describedby="inputGroupPrepend" required value="{!! $priority + 1 !!}">
        <span class="text-danger error_priority" style="display: none;">This field is required.</span>
    </div>
</form>