<?php $__env->startSection('maincontent'); ?>
    <main id="main" class="main">
        
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">Add New Complain</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <?php if(session()->has('message')): ?>
                    <div class="alert alert-success alert-dismissible fade show" role="alert">
                        <?php echo e(session()->get('message')); ?>

                        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                    </div>
                <?php endif; ?>

                <?php if(session()->has('error')): ?>
                    <div class="alert alert-danger alert-dismissible fade show" role="alert">
                        <?php echo e(session()->get('error')); ?>

                        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                    </div>
                <?php endif; ?>
                <div class="modal-body">

                    <form name="form" id="AddComplain" method="POST" action="<?php echo e(route('complains.store')); ?>"
                        enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>
                        <div class="successSMS"></div>

                        <div class="form-group mb-3">
                            <label for="menuName" class="control-label mt-2">Store Name</label>
                            <div class="">
                                <select disabled class="form-control" name="store_id" id="store_id" required>
                                    <option value=""><?php echo e(env('APP_NAME')); ?></option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="departmentName" class="control-label">Invoice No:</label>
                            <div class="">
                                <input type="text" class="form-control" name="order_invoice_id" id="order_invoice_id">
                                <span
                                    class="text-danger"><?php echo e($errors->has('order_invoice_id') ? $errors->first('order_invoice_id') : ''); ?></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="departmentName" class="control-label">Phone Number</label>
                            <div class="">
                                <input type="text" class="form-control" name="customer_phone" id="customer_phone">
                                <span
                                    class="text-danger"><?php echo e($errors->has('customer_phone') ? $errors->first('customer_phone') : ''); ?></span>
                            </div>
                        </div>
                        <div class="form-group mb-4" id="des">
                            <label for="description" class="control-label">Description</label>
                            <div class="">
                                <textarea class="form-control" name="complain_message" id="complain_message" row="6"
                                    placeholder="Write your message here ...."></textarea>
                                <span
                                    class="text-danger"><?php echo e($errors->has('complain_message') ? $errors->first('complain_message') : ''); ?>

                            </div>
                        </div>
                        <div class="form-group" style="text-align: right">
                            <div class="submitBtnSCourse">
                                <button type="submit" name="btn"
                                    class="btn btn-primary AddComplainBtn btn-block">Save</button>
                            </div>
                        </div>
                    </form>

                </div>

            </div>
        </div>
    </main>

    
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/elitedesignbd/ecommerce3.elitedesign.com.bd/resources/views/admin/content/complain/create.blade.php ENDPATH**/ ?>