
           
                    <form  onsubmit="savemeal(this)" >
                        <input type="hidden" name="lengths" value="<?php echo e($length); ?>">
                        <input type="hidden" name="type" value="<?php echo e($type); ?>">
                        <input type="hidden" name="key" value="<?php echo e($key); ?>">
                        <input type="hidden" name="row" value="<?php echo e($row); ?>">
                    <div class="modal-body">
                        <div class="week-meal">
                            <div class="content">
                                <div class="row">
                                     <div class="col-12" style="display:none" id="mealcountextr">
    <div  class="alert alert-danger">
<p style="color: black;"><?php echo e(__('web.extream')); ?></p>
</div>
</div>
                                    <div class="col-lg-12">
                                        <div class="box">
                                            <div class="box-titel">
                                                <h5>
                                                    <?php echo e(__('web.meals')); ?> 
                                                    <img src="<?php echo e(url('')); ?>/assets/web/images/title_heading.svg" alt="" class="title_bg"/>
                                                </h5>
                                            </div>
                                           
                                            <div class="tab-content" id="pills-tabContent">
                                                <div class="tab-pane fade show active" id="pills-mainMeal1" role="tabpanel" aria-labelledby="pills-mainMeal1-tab">
                                                    <div class="main-meal">
                                                        <?php $__currentLoopData = $meals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <div class="item row">
                                                            <div class="col-md-3 col-sm-5">
                                                                <div class="img">
                                                                    <img src="<?php echo e(asset($row->image)); ?>" alt="">
                                                                </div>
                                                                
                                                                  <input type="radio" id="selectMeal<?php echo e($row->id); ?>"  value="<?php echo e($row->id); ?>" id="meal_id"  name="meal_id" class="custom-control-input">
                                                    <label class="custom-control-label" for="selectMeal<?php echo e($row->id); ?>">
                                                        <a class="add-item"><i class="fas fa-plus"></i> <?php echo e(__('web.add')); ?></a>
                                                    </label>
                                                            </div>
                                                            <div class="col-md-5 col-sm-7 valign">
                                                                <div class="cont">
                                                                    <p><?php echo e(categoryname($row->category_id)); ?></p>
                                                                    <h6><?php echo e(mealname($row->id)); ?></h6>
                                                                    <div class="inFlex">
                                                                        <div class="numb">
                                                                            <label for="spinner"><?php echo e(__('web.count')); ?> :</label>
                                                                            <input class="form-control qty-form" min="1" name="count" id="count<?php echo e($row->id); ?>" type="number" value="1">
                                                                        </div>
                                                                        <div class="numb mr-3 ml-3">
                                                                            <label for="spinner"><?php echo e(__('web.extras')); ?> :</label>
                                                                            <select name="extra_id" id="extra<?php echo e($row->id); ?>" class="form-control additionals-select">
                                                                                <option value=""><?php echo e(__('web.select')); ?></option>
                                                                                <?php $__currentLoopData = extras($row->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $extra): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                                <option value="<?php echo e($extra->id); ?>"><?php echo e(extraname($extra->id)); ?></option>
                                                                               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                            </select>
                                                                        </div>
                                                                    </div>
                                                                 
                                                                </div>
                                                            </div>
                                                            <div class="col-md-4">
                                                                <div class="info">
                                                                    <ul>
                                                                        <li>
                                                                            <div class="type"><?php echo e(__('web.calories')); ?></div>
                                                                            <div class="numb"><?php echo e($row->calories); ?> <?php echo e(__('web.gram')); ?></div>
                                                                        </li>
                                                                        <li>
                                                                            <div class="type"><?php echo e(__('web.fats')); ?></div>
                                                                            <div class="numb"><?php echo e($row->fats); ?> <?php echo e(__('web.gram')); ?></div>
                                                                        </li>
                                                                    </ul>
                                                                </div>

                                                            </div>
                                                            <div class="col-md-9 mr-auto mt-1 meal_notes ">
                                                                <label class="label"><?php echo e(__('web.note')); ?> :</label>
                                                                <textarea class="form-control" rows="1" id="note<?php echo e($row->id); ?>" placeholder="<?php echo e(__('web.write')); ?>"></textarea>
                                                            </div>
                                                        </div>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                    </div>
                                                </div>
                                                  </div>
                                           
                                        </div>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="submit" class="btn btn-primary"><?php echo e(__('web.save')); ?></button>
                    </div>
                    </form>
               
            <?php /**PATH /home/omaralyomhost/public_html/healthy/resources/views/web/pages/ajax/meals.blade.php ENDPATH**/ ?>