<commit_before>{% extends '::layout.html.twig' %}


{% block content %}
 <h1>Listado Solicitud de Servicios de Clientes</h1>
 
<!--script src="http://code.jquery.com/jquery-2.1.0.min.js"></script-->


<script src="{{ asset('bundles/techt/js/jquery-ui.min.js') }}" type="text/javascript"></script>
    


<div class="container" >

    <section class="register">
        <a href="#" name="consulta_link"><h1>Consulta de Solicitudes de Servicios</h1></a>
        
        <form action="{{ path('SolicitudServicio_search') }}" method="post" class="login">
         {{ form_start(search_form) }}
        {{ form_errors(search_form) }}  
        

            <table border="0" cellpadding="1" cellspacing="1">
             
                   <tr>
                         <div class="error">{{ form_errors(search_form.fkIidContrato) }}</div>       
                   <td></td><td width="130">
                {{ form_label(search_form.fkIidContrato, 'Contrato:') }}</td>
                        <td>{{ form_widget(search_form.fkIidContrato,{'required': false}) }}</td>
                   
                        <td width="20"></td>
                 <div class="error">{{ form_errors(search_form.tbgentiposolicitud) }}</div>       
                   <td width='50' ><h2></h2></td><td width="115">
                {{ form_label(search_form.tbgentiposolicitud, 'Tipo Solicitud:') }}</td>
                        <td>{{ form_widget(search_form.tbgentiposolicitud,{'required': false}) }}</td>
                    
                 
                        <td width="20"></td>
                
                        <div class="error" >
                {{ form_errors(search_form.vdescEstatus) }}</div>       
                 <td width='50'><h2></h2></td><td width="100">
                {{ form_label(search_form.vdescEstatus, 'Estatus:') }}</td>
                        <td>{{ form_widget(search_form.vdescEstatus,{'required': false}) }}</td>
                 
                        <td width="20"></td>
                        
                        
                        
                        
                     </tr>
                     
                        <tr>
                 <div class="error">
                {{ form_errors(search_form.iid) }}</div>       
                        <td></td><td width="115">
                {{ form_label(search_form.iidCaso, 'Nro Caso:') }}</td>
                        <td>{{ form_widget(search_form.iidCaso,{'required': false}) }}</td>
                        <td width="20"></td>
                     
                        
                        
                   
                   <div class="error">
                {{ form_errors(search_form.dfechaCreacion) }}</div>       
                    <td></td><td width="150">
                {{ form_label(search_form.dfechaCreacion, 'Fecha Creación:') }}</td>
                        <td>{{ form_widget(search_form.dfechaCreacion,{'required': false,'type': 'date'})}}</td>
                   <td width="20"></td>
                        <div class="error">
                {{ form_errors(search_form.dfechaCierre) }}</div>       
                    <td></td><td width="130">
                {{ form_label(search_form.dfechaCierre, 'Fecha Cierre:') }}</td>
                        <td>{{ form_widget(search_form.dfechaCierre,{'required': false,'type': 'date'})}}</td>
                             
                        </tr>
            </table>              
                     <div style="display: none;">     
                {{ form_row(search_form.iid)}}
                {{ form_row(search_form.vdescEstatus)}}
                {{ form_row(search_form.vdetalles, {'required' : false})}}
                
                {{ form_row(search_form.fkIidUsuaDatos, {'required' : false})}}
                {{ form_row(search_form.vpersona, {'required' : false})}}                      
                {{ form_row(search_form.vcorreo, {'required' : false})}}                      
                {{ form_row(search_form.vtelefono, {'required' : false})}}                      
                {{ form_row(search_form.fkIidContrato, {'required' : false})}}  
                {{ form_row(search_form.vdescripcion, {'required' : false})}}                      
                 {{ form_row(search_form.fkIidEspSol, {'required' : false})}}  
                {{ form_row(search_form.submit, { 'label': 'Buscar' }) }}        
                {{ form_row(search_form.reset, { 'label': 'Limpiar' }) }}  
                </div> 
                   <table>
                       <br>
                   <tr>
                       
                  <td  width="650" align="right">
                        <input type="reset" name="clear" value="Limpiar"> </td>
                        <td><input type="submit" name="commit" value="Buscar">
                    
                    
                   </td>
                   </tr>
                   
                   </table>
                   
                {{ form_end(search_form) }} 
                
            
        </form>  
                   
    </section>
</div>
<div class="container" >

    <section class="register">
        <h1>Listado de Solicitudes de Servicio. ({{ pagination.getTotalItemCount }})</h1>

       
 <div class="navigation" align="right">
    {{ knp_pagination_render(pagination) }} 
        </div>

        <table class="records_list">
            {% if (pagination.getTotalItemCount!=0) %}
            <thead> 
                <tr>
           <td align="center"  width="70"><h4 ><strong>Nro Caso</strong></h4></td>
                <td width="20"></td>
                    <td align="center" width="120"><h4><strong>Usuario</strong></h4></td>
                <td width="20"></td>
                <td align="center" width="80"><h4><strong>Estatus Caso</strong></h4></td>
                <td width="20"></td>
                <td align="center"  width="140"><h4><strong>Tipo Solicitud</strong></h4></td>
                <td width="20"></td>
                <td align="center" width="40"><h4><strong>Contrato</strong></h4></td>
                <td width="20"></td>
                
                <td align="center" width="83"><h4><strong>Fecha Creación</strong></h4></td>
                <td width="20"></td>
                <td align="center" width="80"><h4><strong>Fecha Cierre</strong></h4></td>
                <td width="20"></td>
                <td align="center" width="80"><h4><strong>Acciones</strong></h4></td>
            </tr>
        </thead>
        {% else %}
         <thead><div align="center"> 
             <br>
                <h4>No se encontraron coincidencias.</h4></div>
                </thead> 
                
         {% endif %}       
        <tbody>
                {% for entity in pagination %}
                <tr {% if loop.index is odd %} bgcolor="#FFFFFF" {% endif %}>
                    {% set t= entity.iidCaso|length %}
                <td align="center"><a href="{{ path('SolicitudServicio_show', { 'id': entity.id }) }}">{{ entity.iidCaso[t-4:] }}</a></td>
                <td width="20"></td>
                <td align="center" width="80">{{ entity.fkIidUsuaDatos.vnombre}} {{ entity.fkIidUsuaDatos.vapellido}} </td>
                <td width="20"></td>
                <td align="center" width="80">{{ entity.vdescEstatus}} </td>
                <td width="20"></td>                    
                <td align="center" width="80">{{ entity.fkIidEspSol.fkIidEspSol.vnombreTipoSol}} </td>
                <td width="20"></td>                    
                <td align="center" width="60">{{ entity.fkIidContrato}} </td>
                <td width="20"></td>
                <td align="center" width="80">{{ entity.dfechaCreacion|date('d-m-Y') }}</td>
                <td width="20"></td>
                {% if entity.vdescEstatus=='Culminado'%}
                <td align="center" width="80">{{ entity.dfechaCierre?entity.dfechaCierre|date('d-m-Y'):'No posee'}}</td>
                {% else%}
                <td align="center" width="80">No posee</td>
                
                {%endif%}
                <td width="20"></td>
                
                 
                <td align="center">
                    
                <noscript>&#9733;ec-stars-wrapperNecesita tener habilitado javascript para poder votar</noscript>
                <ul align="center">
                    
                    <li>
                        
                        <a href="{{ path('SolicitudServicio_edit', { 'id': entity.id }) }}"><img width="40" height="40"  title="Editar" src="/bundles/techt/images/Draft.png"></a>
                        
                    </li>
                
                </td>
                 
            
                
            <td width="120">
                <ul>
                    <li>
                        <div  title="Haz Click Para Calificar tu Servicio" id="extern{{entity.id}}">
                    <div id="dialog{{entity.id}}"  align="left"  onclick="popup({maxvalue: '5', curvalue:'0', id:'20', iid:'{{entity.id}}'}); return false;"  />                      
                    <img title="Calificar" width='14' type=image src="/bundles/techt/images/star1_1.gif" />
                   <img title="Calificar" width='14' type=image src="/bundles/techt/images/star1_1.gif" />
                   <img title="Calificar" width='14' type=image src="/bundles/techt/images/star1_1.gif" />
                    </div>  
                    </div>
                        </li>
                        </ul>
                        </td>
            <tr>
        {% endfor %}            
           </tbody>
        </table><commit_msg>Cambios solution event select contrato<commit_after>{% extends '::layout.html.twig' %}


{% block content %}
 <h1>Listado Solicitud de Servicios de Clientes</h1>
 
<!--script src="http://code.jquery.com/jquery-2.1.0.min.js"></script-->


<script src="{{ asset('bundles/techt/js/jquery-ui.min.js') }}" type="text/javascript"></script>
    


<div class="container" >

    <section class="register">
        <a href="#" name="consulta_link"><h1>Consulta de Solicitudes de Servicios</h1></a>
        
        <form action="{{ path('SolicitudServicio_search') }}" method="post" class="login">
         {{ form_start(search_form) }}
        {{ form_errors(search_form) }}  
        

            <table border="0" cellpadding="1" cellspacing="1">
             
                   <tr>
                         <div class="error">{{ form_errors(search_form.fkIidContrato) }}</div>       
                   <td></td><td width="130">
                {{ form_label(search_form.fkIidContrato, 'Contrato:') }}</td>
                        <td>{{ form_widget(search_form.fkIidContrato,{'required': false}) }}</td>
                   
                        <td width="20"></td>
                 <div class="error">{{ form_errors(search_form.tbgentiposolicitud) }}</div>       
                   <td width='50' ><h2></h2></td><td width="115">
                {{ form_label(search_form.tbgentiposolicitud, 'Tipo Solicitud:') }}</td>
                        <td>{{ form_widget(search_form.tbgentiposolicitud,{'required': false}) }}</td>
                    
                 
                        <td width="20"></td>
                
                        <div class="error" >
                {{ form_errors(search_form.vdescEstatus) }}</div>       
                 <td width='50'><h2></h2></td><td width="100">
                {{ form_label(search_form.vdescEstatus, 'Estatus:') }}</td>
                        <td>{{ form_widget(search_form.vdescEstatus,{'required': false}) }}</td>
                 
                        <td width="20"></td>
                        
                        
                        
                        
                     </tr>
                     
                        <tr>
                 <div class="error">
                {{ form_errors(search_form.iid) }}</div>       
                        <td></td><td width="115">
                {{ form_label(search_form.iidCaso, 'Nro Caso:') }}</td>
                        <td>{{ form_widget(search_form.iidCaso,{'required': false}) }}</td>
                        <td width="20"></td>
                     
                        
                        
                   
                   <div class="error">
                {{ form_errors(search_form.dfechaCreacion) }}</div>       
                    <td></td><td width="150">
                {{ form_label(search_form.dfechaCreacion, 'Fecha Creación:') }}</td>
                        <td>{{ form_widget(search_form.dfechaCreacion,{'required': false,'type': 'date'})}}</td>
                   <td width="20"></td>
                        <div class="error">
                {{ form_errors(search_form.dfechaCierre) }}</div>       
                    <td></td><td width="130">
                {{ form_label(search_form.dfechaCierre, 'Fecha Cierre:') }}</td>
                        <td>{{ form_widget(search_form.dfechaCierre,{'required': false,'type': 'date'})}}</td>
                             
                        </tr>
            </table>              
                     <div style="display: none;">     
                {{ form_row(search_form.iid)}}
                {{ form_row(search_form.vdescEstatus)}}
                {{ form_row(search_form.vdetalles, {'required' : false})}}
                
                {{ form_row(search_form.fkIidUsuaDatos, {'required' : false})}}
                {{ form_row(search_form.vpersona, {'required' : false})}}                      
                {{ form_row(search_form.vcorreo, {'required' : false})}}                      
                {{ form_row(search_form.vtelefono, {'required' : false})}}                      
                {{ form_row(search_form.fkIidContrato, {'required' : false})}}  
                {{ form_row(search_form.vdescripcion, {'required' : false})}}                      
                 {{ form_row(search_form.fkIidEspSol, {'required' : false})}}  
                {{ form_row(search_form.submit, { 'label': 'Buscar' }) }}        
                {{ form_row(search_form.reset, { 'label': 'Limpiar' }) }}  
                </div> 
                   <table>
                       <br>
                   <tr>
                       
                  <td  width="650" align="right">
                        <input type="reset" name="clear" value="Limpiar"> </td>
                        <td><input type="submit" name="commit" value="Buscar">
                    
                    
                   </td>
                   </tr>
                   
                   </table>
                   
                {{ form_end(search_form) }} 
                
            
        </form>  
                   
    </section>
</div>
<div class="container" >

    <section class="register">
        <h1>Listado de Solicitudes de Servicio. ({{ pagination.getTotalItemCount }})</h1>

       
 <div class="navigation" align="right">
    {{ knp_pagination_render(pagination) }} 
        </div>

        <table class="records_list">
            {% if (pagination.getTotalItemCount!=0) %}
            <thead> 
                <tr>
           <td align="center"  width="70"><h4 ><strong>Nro Caso</strong></h4></td>
                <td width="20"></td>
                    <td align="center" width="120"><h4><strong>Usuario</strong></h4></td>
                <td width="20"></td>
                <td align="center" width="80"><h4><strong>Estatus Caso</strong></h4></td>
                <td width="20"></td>
                <td align="center"  width="140"><h4><strong>Tipo Solicitud</strong></h4></td>
                <td width="20"></td>
                <td align="center" width="40"><h4><strong>Contrato</strong></h4></td>
                <td width="20"></td>
                
                <td align="center" width="83"><h4><strong>Fecha Creación</strong></h4></td>
                <td width="20"></td>
                <td align="center" width="80"><h4><strong>Fecha Cierre</strong></h4></td>
                <td width="20"></td>
                <td align="center" width="60"><h4><strong>Acciones</strong></h4></td>
                
            </tr>
        </thead>
        {% else %}
         <thead><div align="center"> 
             <br>
                <h4>No se encontraron coincidencias.</h4></div>
                </thead> 
                
         {% endif %}       
        <tbody>
                {% for entity in pagination %}
                <tr {% if loop.index is odd %} bgcolor="#FFFFFF" {% endif %}>
                    {% set t= entity.iidCaso|length %}
                <td align="center"><a href="{{ path('SolicitudServicio_show', { 'id': entity.id }) }}">{{ entity.iidCaso[t-4:] }}</a></td>
                <td width="20"></td>
                <td align="center" width="80">{{ entity.fkIidUsuaDatos.vnombre}} {{ entity.fkIidUsuaDatos.vapellido}} </td>
                <td width="20"></td>
                <td align="center" width="80">{{ entity.vdescEstatus}} </td>
                <td width="20"></td>                    
                <td align="center" width="80">{{ entity.fkIidEspSol.fkIidEspSol.vnombreTipoSol}} </td>
                <td width="20"></td>                    
                <td align="center" width="60">{{ entity.fkIidContrato}} </td>
                <td width="20"></td>
                <td align="center" width="80">{{ entity.dfechaCreacion|date('d-m-Y') }}</td>
                <td width="20"></td>
                {% if entity.vdescEstatus=='Culminado'%}
                <td align="center" width="80">{{ entity.dfechaCierre?entity.dfechaCierre|date('d-m-Y'):'No posee'}}</td>
                {% else%}
                <td align="center" width="80">No posee</td>
                
                {%endif%}
                <td width="20"></td>
                
                 
                <td align="center">
                    
                <noscript>&#9733;ec-stars-wrapperNecesita tener habilitado javascript para poder votar</noscript>
                <ul align="center">
                    
                    <li>
                        
                        <a href="{{ path('SolicitudServicio_edit', { 'id': entity.id }) }}"><img width="40" height="40"  title="Editar" src="/bundles/techt/images/Draft.png"></a>
                        
                    </li>
                </ul>
                </td>
                 
            
                
            <td width="100">
                <ul>
                    <li>
                        <div  title="Haz Click Para Calificar tu Servicio" id="extern{{entity.id}}">
                    <div id="dialog{{entity.id}}"  align="left"  onclick="popup({maxvalue: '5', curvalue:'0', id:'20', iid:'{{entity.id}}'}); return false;"  />                      
                    <img title="Calificar Servicio" width='16' type=image src="/bundles/techt/images/star1_1.gif" />
                    <img title="Calificar Servicio" width='16' type=image src="/bundles/techt/images/star1_1.gif" />
                    <img  title="Calificar Servicio" width='16' type=image src="/bundles/techt/images/star1_1.gif" />
                    </div>  
                    </div>
                        </li>
                        </ul>
                        </td>
            <tr>
        {% endfor %}            
           </tbody>
        </table>
{'fraction_non_alphanumeric': 0.16326843476927794, 'fraction_numerical': 0.016147989166538913, 'mean_word_length': 1.303165823231729, 'pattern_counts': {'":': 0, '<': 478, '<?xml version=': 0, '>': 478, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '18050', 'n_tokens_mistral': 5978, 'n_tokens_neox': 5434, 'n_words': 849}