<?php
use App\Classes\jDate;
error_reporting(1);
$explode = explode('/',$_SERVER['REQUEST_URI']);

$jDate	= new jDate();
$persian = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
$english = [ 0 ,  1 ,  2 ,  3 ,  4 ,  5 ,  6 ,  7 ,  8 ,  9 ];
$today = str_replace($persian,$english , $jDate::forge(time())->format('Y-m-d'));

?>



<?php $__env->startSection('content'); ?>
    <link href="https://v3dboy.ir/previews/html/qovex/qovex/Vertical/assets/libs/datepicker-jalali/bootstrap-datepicker.min.css" rel="stylesheet">

    <div class="page-content">

        <!-- start page title -->
        <div class="row">
            <div class="col-12">
                <div class="page-title-box d-flex align-items-center justify-content-between">
                    <h4 class="page-title mb-0 font-size-18"><?php echo e($_GET['type']); ?></h4>

                    <div class="page-title-right">
                        <ol class="breadcrumb m-0">
                            <li class="breadcrumb-item"><a href="javascript:%20void(0);">فرم ها</a></li>
                            <li class="breadcrumb-item active">عناصر فرم</li>
                        </ol>
                    </div>

                </div>
            </div>
        </div>
        <!-- end page title -->

        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-body">

                        <h4 class="card-title">ورودی های متنی</h4>
                        <p class="card-title-desc">در زیر مثال هایی از <code>.form-control</code> اعمال شده بر هر <code>type</code> از تگ <code>&lt;input&gt;</code> آورده شده است.</p>
                        <form action="saveNewTicket" method="post" id="sidebar"><?php echo csrf_field(); ?>



                            <div class="form-group row">
                                <label for="example-date-input" class="col-md-2 col-form-label">عنوان</label>
                                <div class="col-md-10">
                                    <input class="form-control" name="title" type="text" id="example-date-input">
                                </div>
                            </div>
                            <div class="form-group row">
                                <label for="example-text-input" class="col-md-2 col-form-label">پروژه هدف</label>
                                <div class="col-md-10">
                                    <select class="form-control" name="project_id" required>
                                        <?php $__currentLoopData = $Projects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $admin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($admin->id); ?>|-|<?php echo e($admin->title); ?>"><?php echo e($admin->title); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label for="example-text-input" class="col-md-2 col-form-label">سیستم پشتیبانی</label>
                                <div class="col-md-10">
                            <select class="form-control" id="pet-select" name="department"  >
                                <option value="مشاوره">مشاوره</option>
                                <option value="فنی">فنی</option>
                                <option value="مالی">مالی</option>
                                <option value="سایر">سایر</option>
                                <option disabled value="مدریت">مدریت</option>
                            </select>
                                </div>
                            </div>

                            <div class="form-group row">
                                <label for="example-text-input" class="col-md-2 col-form-label">وضعیت</label>
                                <div class="col-md-10">
                            <select class="form-control" id="pet-select" name="status"  >
                                <option value="0">عادی</option>
                                <option disabled value="1">مهم</option>
                                <option disabled value="2">فوری</option>
                            </select>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label for="example-text-input" class="col-md-2 col-form-label">ادمین مورد نظر</label>
                                <div class="col-md-10">
                                    <select class="form-control" name="admin_id"  >
                                        <?php $__currentLoopData = $Admins; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $admin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="" selected>انتخاب نشده</option>
                                            <option value="<?php echo e($admin->id); ?>|-|<?php echo e($admin->name); ?>"><?php echo e($admin->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>

                                </div>

                                <input type="hidden" name="user" value="<?php echo e($Admin->name); ?>">
                                <input type="hidden" name="user_id" value="<?php echo e($Admin->id); ?>">
                                <input type="hidden" name="user_status" value="<?php echo e($Admin->status); ?>">
                            </div>
                            <div class="form-group row">

                            </div>



                            <input type="submit" class="btn btn-success  btn-lg btn-block waves-effect waves-light mb-1">


                        </form>
                    </div>
                </div>
            </div>
            <!-- end col -->
        </div>
        <!-- end row -->

    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script-time-custom'); ?>
    <!-- bootstrap datepicker -->
    <script src="https://v3dboy.ir/previews/html/qovex/qovex/Vertical/assets/libs/datepicker-jalali/bootstrap-datepicker.min.js"></script>
    <script src="https://v3dboy.ir/previews/html/qovex/qovex/Vertical/assets/libs/datepicker-jalali/bootstrap-datepicker.fa.min.js"></script>

    <!-- Summernote js -->
    <script src="https://v3dboy.ir/previews/html/qovex/qovex/Vertical/assets/libs/summernote/summernote-bs4.min.js"></script>
    <script src="https://v3dboy.ir/previews/html/qovex/qovex/Vertical/assets/libs/summernote/lang/summernote-fa-IR.min.js"></script>

    <!-- form repeater js -->
    <script src="https://v3dboy.ir/previews/html/qovex/qovex/Vertical/assets/libs/jquery.repeater/jquery.repeater.min.js"></script>

    <script src="https://v3dboy.ir/previews/html/qovex/qovex/Vertical/assets/js/pages/task-create.init.js"></script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/adminborjeweb/adminborjeweb/resources/views/content/ticket/addTicket.blade.php ENDPATH**/ ?>