<?php if (isset($component)) { $__componentOriginalc6e081c8432fe1dd6b4e43af4871c93447ee9b23 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\MasterLayout::class, ['assets' => $assets ?? []]); ?>
<?php $component->withName('master-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
    <div>
        <?php $id = $id ?? null;?>
        <?php if(isset($id)): ?>
            <?php echo Form::model($userbankaccount, ['route' => ['banks-deatils-save', $id], 'method' => 'patch' , 'id' => 'bank_form']); ?>

        <?php else: ?>
            <?php echo Form::open(['route' => ['banks-deatils-save'], 'method' => 'post', 'id' => 'bank_form']); ?>

        <?php endif; ?>
        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-header d-flex justify-content-between">
                        <div class="header-title">
                            <h4 class="card-title"><?php echo e($pageTitle); ?></h4>
                        </div>
                    </div>

                    <div class="card-body">
                        <div class="new-user-info">
                            <div class="row">
                                <div class="form-group col-md-6">
                                    <?php echo e(Form::text('user_bank_account[bank_name]',$userbankaccount->bank_name ?? null , [ 'placeholder' => __('message.bank_name'),'class' =>'form-control'])); ?>

                                </div>
                                <div class="form-group col-md-6">
                                    <?php echo e(Form::text('user_bank_account[account_number]' ,$userbankaccount->account_number ?? null ,[ 'placeholder' => __('message.bank_account_number'),'class' =>'form-control'])); ?>

                                </div>
                                <div class="form-group col-md-6">
                                    <?php echo e(Form::text('user_bank_account[account_holder_name]' ,$userbankaccount->account_holder_name ?? null,[ 'placeholder' => __('message.bank_account_holder_name'),'class' =>'form-control'])); ?>

                                </div>
                                <div class="form-group col-md-6">
                                    <?php echo e(Form::text('user_bank_account[bank_code]',$userbankaccount->bank_code ?? null,[ 'placeholder' => __('message.bank_ifsc_code'),'class' =>'form-control'])); ?>

                                </div>
                                <div class="form-group col-md-6">
                                    <?php echo e(Form::text('user_bank_account[bank_address]',$userbankaccount->bank_address ?? null,[ 'placeholder' => __('message.bank_address'),'class' =>'form-control'])); ?>

                                </div>
                                <div class="form-group col-md-6">
                                    <?php echo e(Form::text('user_bank_account[routing_number]',$userbankaccount->routing_number ?? null,[ 'placeholder' => __('message.routing_number'),'class' =>'form-control'])); ?>

                                </div>
                                <div class="form-group col-md-6">
                                    <?php echo e(Form::text('user_bank_account[bank_iban]',$userbankaccount->bank_iban ?? null,[ 'placeholder' => __('message.bank_iban'),'class' =>'form-control'])); ?>

                                </div>
                                <div class="form-group col-md-6">
                                    <?php echo e(Form::text('user_bank_account[bank_swift]',$userbankaccount->bank_swift ?? null,[ 'placeholder' => __('message.bank_swift'),'class' =>'form-control'])); ?>

                                </div>
                            </div>
                            <?php echo e(Form::submit( __('message.save'), ['class'=>'btn btn-md btn-primary float-right'])); ?>

                        </div>
                    </div>
                </div>
            </div>
        </div>
        <?php echo Form::close(); ?>

    </div>
    <?php $__env->startSection('bottom_script'); ?>
        <script>
            $(document).ready(function(){

                formValidation("#bank_form", {
                        'user_bank_account[bank_name]': { required: true },
                        'user_bank_account[account_number]': { required: true },
                        'user_bank_account[account_holder_name]': { required: true },
                        'user_bank_account[bank_code]': { required: true },
                    }, {
                        'user_bank_account[bank_name]': { required: "<?php echo e(__('message.please_enter_bank_name')); ?>" },
                        'user_bank_account[account_number]': { required: "<?php echo e(__('message.please_enter_account_number')); ?>" },
                        'user_bank_account[account_holder_name]': { required: "<?php echo e(__('message.please_enter_holder_name')); ?>" },
                        'user_bank_account[bank_code]': { required: "<?php echo e(__('message.please_enter_bank_code')); ?>" },
                });
            });
        </script>
    <?php $__env->stopSection(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc6e081c8432fe1dd6b4e43af4871c93447ee9b23)): ?>
<?php $component = $__componentOriginalc6e081c8432fe1dd6b4e43af4871c93447ee9b23; ?>
<?php unset($__componentOriginalc6e081c8432fe1dd6b4e43af4871c93447ee9b23); ?>
<?php endif; ?>
<?php /**PATH /www/wwwroot/mxunzo.atharvatek.com/resources/views/clientside/bankadetails.blade.php ENDPATH**/ ?>