
           
                    <form  onsubmit="savesnack(this)" >
                        <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="snackcountextr">
    <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.snacks')); ?> 
                                                    <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 = $snacks; $__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="selectMealsnack<?php echo e($row->id); ?>"  value="<?php echo e($row->id); ?>" id="snack_id"  name="snack_id" class="custom-control-input">
                                                    <label class="custom-control-label" for="selectMealsnack<?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(mealname($row->id)); ?></p>
                                                                    <h6><?php echo e(mealdescription($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>
                                                                 
                                                                </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/snacks.blade.php ENDPATH**/ ?>