<?php echo $__env->make('admin.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<div class="container mt-5">
    <h2 class="mb-4">Add Bank</h2>

    <form action="<?php echo e(route('admin.banks.store')); ?>" method="POST" class="bg-white p-4 shadow rounded">
        <?php echo csrf_field(); ?>

        <div class="form-group">
            <label>A/C Name</label>
            <input type="text" name="account_name" class="form-control" required>
        </div>

        <div class="form-group">
            <label>A/C No</label>
            <input type="text" name="account_no" class="form-control" required>
        </div>

        <div class="form-group">
            <label>IBAN</label>
            <input type="text" name="iban" class="form-control" required>
        </div>

        <div class="form-group">
            <label>SWIFT</label>
            <input type="text" name="swift" class="form-control" required>
        </div>

        <div class="form-group">
            <label>Bank Name</label>
            <input type="text" name="bank_name" class="form-control" required>
        </div>

        <div class="form-group">
            <label>Bank Address</label>
            <textarea name="bank_address" class="form-control" rows="2"></textarea>
        </div>

        <div class="form-group">
            <label>Correspondent Bank</label>
            <input type="text" name="correspondent_bank" class="form-control">
        </div>

        <div class="form-group">
            <label>SWIFT of Correspondent Bank</label>
            <input type="text" name="correspondent_swift" class="form-control">
        </div>

        <div class="form-group">
            <label>Correspondent A/C No</label>
            <input type="text" name="correspondent_account" class="form-control">
        </div>

        <button type="submit" class="btn btn-success">Save</button>
        <a href="<?php echo e(route('admin.banks.index')); ?>" class="btn btn-secondary">Cancel</a>
    </form>
</div>

<?php echo $__env->make('admin.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH E:\xampp2\htdocs\texsia\resources\views/admin/banks/create.blade.php ENDPATH**/ ?>