
    <style>
 .modal{
     height: 170px !important;
     color: white;
 }
#navbar {
    position: unset !important;
}
</style>

{% if user['auth'] %}
{% include 'header.twig' %}

  <link rel="stylesheet" type="text/css" href="/app/views/TECHSMM/css/smmpawv2m.css">


        <!-- Main variables *content* -->
        
    
     <main>
                 <div class="container-fluid mt-3">
                 <div class="row">
        <div class="col-lg-12 col-md-12 col-12">
            <div class="card card_type_3 service__card__wrap">
                <div class="card-header">
                    <div class="update__nav">
                        <form action="/services" method="get" id="history-search">
                            <div class="input-group">
                                <input type="text" class="form-control"
                                    placeholder="Search"
                                    data-search-service="#service-table">
                                <span class="input-group-btn">
                                    <button type="submit" class="btn btn-default"><i class="fa fa-search"
                                            aria-hidden="true"></i></button>
                                </span>
                            </div>
                        </form>
                        <div class="dropdown update_dropDwon service_filters">
                            <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown"
                                aria-expanded="false">
                                <span class="fal fa-filter"></span>
                                <span data-filter-active-category="true" class="text-service-filters">Service
                                    Filter</span>
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu service_filter-drop">
                                                                <li>
                                            <a class="dropdown-item" href="#" data-filter-category-id="All">All</a>{% for category in serviceCategory %}
                                                                                                                                                                                                <a class="dropdown-item" href="services#" data-filter-category-id="{{ category["category_id"] }}" data-filter-category-name="{{ category["category_name"] }}">{{ category["category_name"] }}</a>{% endfor %}
                                                                                                                                   
                                                                                                                                   </li>
                                                                                                                                   </ul>                                                             
                                                                                                                                          
                                        </div>
                                    </div>
                                </div>
                               

</ul>
                        </div>
                    </div>
                </div>
            
            
            <div class="row">
               <div class="col-lg-12">
                  <div class="">
                     <div class="page-body pb-4 pb-xl-6 mt-4">
                           
                            
                            <div class="nothing-found" style="display: none;">
                              <div class="card card-bg">
                                <div class="card-body p-4 p-lg-5 text-center">
                                  <div style="font-size: 64px;">
                                    <i class="ri-search-eye-line w-color"></i>
                                  </div>
                                  <h3>There were no results!</h3>
                                  <p>We searched everywhere but found nothing. Try with different keywords.</p>
                                </div>
                              </div>
                            </div>
                            
                            
                            <!-- start -->
                        
                    {% for category in serviceCategory %}
                    
                  
                                                <div class="category-card" data-category="{{ category["category_id"] }}" >
                              	<div class="service-content-head">
						 <div class="category-box select-service service-cat-side" data-filter-table-category-id="140">
							<h2 class="service-cat-header">
							    	<i class="{"icon_type":"image","image_id":"11"}"></i>
											{{ category["category_name"] }}
							</h2>
						<!--	<span class="s-count"><strong>2</strong> services</span> -->
						 </div>
										</div>
							
										</div>
                              
                              <!-- end -->
                                            
                                            
                                             {% for service in category['services'] %}
                                            

                   <div class="service-content service-count">
                    
                    
								   
								
						
				
                        <div class="service-box select-service service-item" data-filter-table-category-id="140">
                            
                             <div class="services-item-top">
							<div class="sit-first">
							    
                                  	<div class="services-id">
									{{ category["category_id"] }}
								</div>
								
									<div class="services-title">
									    <span class="ss-name">
									 {{ service["service_name"] }}	   </span>
								
								</div>
							</div>
								
                                	<div class="sit-last">
								<div class="services-rate">
                                  		<i class=""></i>
											{{service["service_price"]}}   				</div>
								
																								</div>
						</div>
						
						<div class="services-item-bottom">
							<div class="sib-first">
							   <span class="min">
                                 	<i class="fas fa-sort-shapes-down-alt"></i>
									<span>Min:</span>
									<strong>{{ service["service_min"] }}</strong>
							   </span>
							   <span class="max">
                                 	<i class="fas fa-sort-shapes-up"></i>
									<span>Max:</span>
									<strong>{{ service["service_max"] }}</strong>
							   </span>
                      			
                      			                      			   <span class="avg c-pointer" data-toggle="tooltip" data-placement="top" title="" data-original-title="The average time is based on 10 latest completed orders per 1000 quantity.">
                                 	<i class="fas fa-stopwatch"></i>
									<span>Average Time:</span>
									<strong>{{ service["time"] }}</strong>
							   </span>
							                                                                 <span class="badgearea"></span>
							</div>
							<div class="sib-last">
                              							  <a href="{{ site['url'] }}/?category_id={{category['category_id']}}&service_id={{ service['service_id'] }}" class="btn btn-primary btn_serv"> Order now</a>  
                              							   
                                     	
                           <!-- start -->			
                                                                            
                                                                            
                                                                             <td class="service-description">
                     <!-- Modal -->
                        <div class="modal fade" id="servis{{ service["service_id"] }}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                          <div class="modal-dialog" role="document">
                                <div class="modal-box" style="
    color: white;
">
                                          <div class="m-header">
                              
                                <h5 class="m-title" id="exampleModalLabel">{{ service["service_id"] }}&nbsp;-&nbsp;{{ service["service_name"] }} </h5> 
                                <button type="button" class="m-close" data-dismiss="modal" aria-label="Close">
                                    
                                  <i class="ri-close-line"></i>
                                </button>
                              </div>
                              
                              
                              <div class="m-body">
                                <p class="detail-data details-split-959"> {{ service["service_description"] }}</p>
                              </div>
                              <div class="modal-footer">
                                <button type="button" class="btn-primary btn-actions" data-dismiss="modal">Close</button>
                              </div> 
                            </div>
                          </div>
                          
                        </div><a href="javascript:void(0)"  class="btn btn-primary btn-rounded  btn-sm" data-toggle="modal" data-target="#servis{{ service["service_id"] }}">
                         Description
                      </a>
                  
                                                                              </div>
                                    </div>
                                  </div>
                                </div>
                                
                                
                                
                     
                      
                      <!-- end -->
            <style>
    
    
    
    .modal.in {
        position: fixed;
        top: 0%;
    }
</style>
                                </div>
                            </div>
                           
                        </div>
                {% endfor %}
                  
                  
                  
                  
                   {% endfor %}
                   
        </div>
      </div>
          </div>
  </div>
</div>


        </div>
      </div>
    </div> <!-- wrapper End -->
                  
    
                                        
                                                                                                            
{% include 'footer.twig' %}	
{% else %}

 {% include 'header.twig' %}

  
<!-- Main variables *content* -->
        <style>
@media only screen and (min-width: 992px) {
    .services-wrapper .s-col:last-child {
      display: none
    }
}
</style>

    <main>
                 <div class="container-fluid mt-3">
                 <div class="row">
        <div class="col-lg-12 col-md-12 col-12">
            <div class="card card_type_3 service__card__wrap">
                <div class="card-header">
                    <div class="update__nav">
                        <form action="/services" method="get" id="history-search">
                            <div class="input-group">
                                <input type="text" class="form-control"
                                    placeholder="Search"
                                    data-search-service="#service-table">
                                <span class="input-group-btn">
                                    <button type="submit" class="btn btn-default"><i class="fa fa-search"
                                            aria-hidden="true"></i></button>
                                </span>
                            </div>
                        </form>
                        <div class="dropdown update_dropDwon service_filters">
                            <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown"
                                aria-expanded="false">
                                <span class="fal fa-filter"></span>
                                <span data-filter-active-category="true" class="text-service-filters">Service
                                    Filter</span>
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu service_filter-drop">
                                                                <li>
                                            <a class="dropdown-item" href="#" data-filter-category-id="All">All</a>{% for category in serviceCategory %}
                                                                                                                                                                                                <a class="dropdown-item" href="services#" data-filter-category-id="{{ category["category_id"] }}" data-filter-category-name="{{ category["category_name"] }}">{{ category["category_name"] }}</a>{% endfor %}
                                                                                                                                   
                                                                                                                                   </li>
                                                                                                                                   </ul>                                                             
                                                                                                                                          
                                        </div>
                                    </div>
                                </div>
                               

</ul>
                        </div>
                    </div>
                </div>
            
            
            <div class="row">
               <div class="col-lg-12">
                  <div class="">
                     <div class="page-body pb-4 pb-xl-6 mt-4">
                           
                            
                            <div class="nothing-found" style="display: none;">
                              <div class="card card-bg">
                                <div class="card-body p-4 p-lg-5 text-center">
                                  <div style="font-size: 64px;">
                                    <i class="ri-search-eye-line w-color"></i>
                                  </div>
                                  <h3>There were no results!</h3>
                                  <p>We searched everywhere but found nothing. Try with different keywords.</p>
                                </div>
                              </div>
                            </div>
                            
                            
                            <!-- start -->
                        
                    {% for category in serviceCategory %}
                    
                  
                                                <div class="category-card" data-category="{{ category["category_id"] }}" >
                              	<div class="service-content-head">
						 <div class="category-box select-service service-cat-side" data-filter-table-category-id="140">
							<h2 class="service-cat-header">
							    	<i class="{"icon_type":"image","image_id":"11"}"></i>
											{{ category["category_name"] }}
							</h2>
						<!--	<span class="s-count"><strong>2</strong> services</span> -->
						 </div>
										</div>
							
										</div>
                              
                              <!-- end -->
                                            
                                            
                                             {% for service in category['services'] %}
                                            

                   <div class="service-content service-count">
                    
                    
								   
								
						
				
                        <div class="service-box select-service service-item" data-filter-table-category-id="140">
                            
                             <div class="services-item-top">
							<div class="sit-first">
							    
                                  	<div class="services-id">
									{{ category["category_id"] }}
								</div>
								
									<div class="services-title">
									    <span class="ss-name">
									 {{ service["service_name"] }}	   </span>
								
								</div>
							</div>
								
                                	<div class="sit-last">
								<div class="services-rate">
                                  		<i class=""></i>
											{{service["service_price"]}}   				</div>
								
																								</div>
						</div>
						
						<div class="services-item-bottom">
							<div class="sib-first">
							   <span class="min">
                                 	<i class="fas fa-sort-shapes-down-alt"></i>
									<span>Min:</span>
									<strong>{{ service["service_min"] }}</strong>
							   </span>
							   <span class="max">
                                 	<i class="fas fa-sort-shapes-up"></i>
									<span>Max:</span>
									<strong>{{ service["service_max"] }}</strong>
							   </span>
                      			
                      			                      			   <span class="avg c-pointer" data-toggle="tooltip" data-placement="top" title="" data-original-title="The average time is based on 10 latest completed orders per 1000 quantity.">
                                 	<i class="fas fa-stopwatch"></i>
									<span>Average Time:</span>
									<strong>{{ service["time"] }}</strong>
							   </span>
							                                                                 <span class="badgearea"></span>
							</div>
							<div class="sib-last">
                              							  <a href="{{ site['url'] }}/?category_id={{category['category_id']}}&service_id={{ service['service_id'] }}" class="btn btn-primary btn_serv"> Order now</a>  
                              							   
                                     	
                           <!-- start -->			
                                                                            
                                                                            
                                                                             <td class="service-description">
                     <!-- Modal -->
                        <div class="modal fade" id="servis{{ service["service_id"] }}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                          <div class="modal-dialog" role="document">
                                <div class="modal-box" style="
    color: white;
">
                                          <div class="m-header">
                              
                                <h5 class="m-title" id="exampleModalLabel">{{ service["service_id"] }}&nbsp;-&nbsp;{{ service["service_name"] }} </h5> 
                                <button type="button" class="m-close" data-dismiss="modal" aria-label="Close">
                                    
                                  <i class="ri-close-line"></i>
                                </button>
                              </div>
                              
                              
                              <div class="m-body">
                                <p class="detail-data details-split-959"> {{ service["service_description"] }}</p>
                              </div>
                              <div class="modal-footer">
                                <button type="button" class="btn-primary btn-actions" data-dismiss="modal">Close</button>
                              </div> 
                            </div>
                          </div>
                          
                        </div><a href="javascript:void(0)"  class="btn btn-primary btn-rounded  btn-sm" data-toggle="modal" data-target="#servis{{ service["service_id"] }}">
                         Description
                      </a>
                  
                                                                              </div>
                                    </div>
                                  </div>
                                </div>
                                
                                
                                
                     
                      
                      <!-- end -->
            <style>
    
    
    
    .modal.in {
        position: fixed;
        top: 0%;
    }
</style>
                                </div>
                            </div>
                           
                        </div>
                {% endfor %}
                  
                  
                  
                  
                   {% endfor %}
                   
        </div>
      </div>
          </div>
  </div>
</div>


        </div>
      </div>
    </div> <!-- wrapper End -->
        {% include 'footer.twig' %}	          
    
{% endif %}
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js"></script>

  <script type="text/javascript" src="/public/global/ch3915babussofa4.js">
      </script>
  <script type="text/javascript" src="/public/global/cgtptn05b64bwcs4.js">
      </script>
  <script type="text/javascript" src="/public/global/xcz59lmywkfdgsp4.js">
      </script>
  <script type="text/javascript" src="/public/global/wnzsoolloslhfumj.js">
      </script>
      <script type="text/javascript" src="/public/global/qri1ac173hshc2hdjc.js">
</script>

  <script type="text/javascript" >
     window.modules.layouts = {"auth":0};   </script>
  <script type="text/javascript" >
     window.modules.signin = [];   </script>
  <script type="text/javascript" >
      </script>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.27.6/js/jquery.tablesorter.js"></script>
