
<?php $__env->startSection('content'); ?>

 <main>
      <div class="inner_header">
            <div class="container">
                <h2><?php echo e(__('site.step')); ?></h2>
            </div>
            <img src="<?php echo e(url('')); ?>/assets/lamis/images/home-topr.png" alt="" class="slider_shape">
        </div>
        <section class="services">
            <div class="container">
                
               
                <?php if($forms_count == $all_count): ?>
                 <div class="row">
                     
               <div class="col-lg-5 col-md-4 col-sm-12 col-xs-12 no-pad"></div>
                <div class="col-6 m-auto"><a  class="btn register-btn" style="background-color:#af387d;color:white;"  href="<?php echo e(url(getCurrentLocale().'/final/save/'.$project_id)); ?>"><?php echo e(__('site.continue')); ?></a></div>
                
                </div>
                <?php endif; ?>
                <?php if(\Auth::guard('member')->user()): ?>
                <div class="col-12">
                 <label><?php echo e(__('site.progress')); ?> <?php echo e($progress); ?> %</label>
                <div class="progress">
                    <div class="progress-value" data-value="<?php echo e($progress); ?>%" ></div>
                </div>
                </div>
                <?php endif; ?>
                <div class="row">
                    <?php $__currentLoopData = $begin_service; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-lg-3 col-md-4 col-sm-12 col-xs-12 no-pad">
                        <div class="card">
                            <a href="<?php echo e(url(getCurrentLocale().'/step/'.$row->id.','.$project_id)); ?>">
                                <div class="image-content">
                                    <img src="<?php echo e(asset('/lamis/images/services/'.$row->img)); ?>" alt="">
                                </div>
                                <div class="text-content text-center">
                                    <h5><?php echo e($key+1); ?> - <?php echo e(servicelang($row->id)); ?></h5>
                                    <p>
                                        <?php echo e(servicedescription($row->id,currentLanguage()['id'])); ?>

                                    </p>
                                 
                                </div>
                            </a>
                            
                            <?php if(\Auth::guard('member')->user()): ?>
                              <div class="col-12" style="bottom:0px;">
                                 <div class="progress-box">
                                     
                                     <?php $count_row = countrow($row->id,$project_id); ?>
                                     
                                     <label><?php echo e(__('site.progress')); ?> <?php echo e(number_format(($count_row / count($row->form))*100,'1')); ?> %</label>
                                     <div class="progress">
                                       <div class="progress-value" data-value="<?php echo e(number_format(($count_row / count($row->form))*100,'1')); ?>%"></div>
                                    </div>
                                 </div>
                            </div>
                            <?php endif; ?>
                        </div>
                        
                    </div>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
                <div class="see-more-content">
                    <div class="row">
                        <?php $__currentLoopData = $services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-lg-3 col-md-4 col-sm-12 col-xs-12 no-pad">
                            <div class="card">
                                <a href="<?php echo e(url(getCurrentLocale().'/step/'.$row->id.','.$project_id)); ?>">
                                    <div class="image-content">
                                        <img src="<?php echo e(asset('/lamis/images/services/'.$row->img)); ?>" alt="">
                                    </div>
                                    <div class="text-content text-center">
                                        <h5><?php echo e($key+5); ?> - <?php echo e(servicelang($row->id)); ?></h5>
                                        <p>
                                            <?php echo e(servicedescription($row->id,currentLanguage()['id'])); ?>

                                        </p>
                                    </div>
                                </a>
                                  <?php if(\Auth::guard('member')->user()): ?>
                              <div class="col-12" style="bottom:0px;">
                             <?php $count_row = countrow($row->id,$project_id); ?>
                 <label><?php echo e(__('site.progress')); ?> <?php echo e(number_format(($count_row / count($row->form))*100,'1')); ?> %</label>
                <div class="progress">
                   
                            <div class="progress-value" data-value="<?php echo e(number_format(($count_row / count($row->form))*100,'1')); ?>%"></div>
                </div>
                </div>
                <?php endif; ?>
                            </div>
                        </div>
                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
                <div class="col-12 m-auto">
                    <?php if(count($services)>0): ?>
                    <a href="#0" class="btn see-more-btn">
                        <?php echo e(__('site.see_more')); ?>

                    </a>
                     <?php endif; ?>
                </div>
               
            </div>
            <img src="<?php echo e(url('')); ?>/assets/lamis/images/home-topr.png" alt="" class="r-top wow fadeInRight slow">
            <div class="polygan c-bottom"></div>
        </section>
    </main>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('lamis.layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/lamis/resources/views/lamis/steps.blade.php ENDPATH**/ ?>