

<?php $__env->startSection('title', 'Add Mobile Banking Method'); ?>

<?php $__env->startSection('content'); ?>
<h1 class="h4 mb-3">নতুন Mobile Banking Method</h1>

<?php if($errors->any()): ?>
    <div class="alert alert-danger">
        <ul class="mb-0">
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li><?php echo e($error); ?></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
<?php endif; ?>

<form action="<?php echo e(route('admin.deposit-methods.mobile.store')); ?>" method="POST" enctype="multipart/form-data">
    <?php echo csrf_field(); ?>

    <div class="mb-3">
        <label class="form-label">Name</label>
        <input type="text" name="name" value="<?php echo e(old('name')); ?>" class="form-control" required>
    </div>

    <div class="mb-3">
        <label class="form-label">Slug</label>
        <input type="text" name="slug" value="<?php echo e(old('slug')); ?>" class="form-control" required>
        <small class="text-muted">উদাহরণ: nagad, bkash</small>
    </div>

    <div class="mb-3">
        <label class="form-label">Logo (image)</label>
        <input type="file" name="logo" class="form-control">
    </div>

    <div class="mb-3">
        <label class="form-label">Account Number</label>
        <input type="text" name="account_number" value="<?php echo e(old('account_number')); ?>" class="form-control" required>
    </div>

    <div class="mb-3 row">
        <div class="col-md-4">
            <label class="form-label">Sort Order</label>
            <input type="number" name="sort_order" value="<?php echo e(old('sort_order', 0)); ?>" class="form-control">
        </div>
        <div class="col-md-4 d-flex align-items-end">
            <div class="form-check">
                <input type="checkbox" name="status" value="1" class="form-check-input" id="status" checked>
                <label for="status" class="form-check-label">Active</label>
            </div>
        </div>
    </div>

    <button class="btn btn-primary">Save</button>
    <a href="<?php echo e(route('admin.deposit-methods.mobile.index')); ?>" class="btn btn-secondary">Back</a>
</form>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/ecareba2/loan.rkmotorsbike.top/resources/views/admin/deposit-methods/mobile/create.blade.php ENDPATH**/ ?>