mirror of https://github.com/interlegis/sapl.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							23 lines
						
					
					
						
							1.4 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							23 lines
						
					
					
						
							1.4 KiB
						
					
					
				| {% extends "protocoloadm/protocoloadm_detail.html" %} | |
| {% load i18n %} | |
| {% load crispy_forms_tags %} | |
| 
 | |
| {% block detail_content %} | |
| 	<strong>Protocolo:</strong>{{ protocolo.numero|stringformat:'06d' }}/{{ protocolo.ano }}</br> | |
| 	<strong>Assunto:</strong> {{ protocolo.assunto_ementa }}</br> | |
| 	<strong>Data Protocolo:</strong> {{ protocolo.data|date:"d/m/Y" }} - Horário: {{ protocolo.timestamp|date:"H:m:s" }}</br> | |
| 	<strong>Interessado:</strong> {{ protocolo.interessado }}</br> | |
| 	<!-- TODO: convert if-else to custom tag --> | |
| 	<strong>Natureza do Processo:</strong>{% if protocolo.tipo_protocolo == 0 %} Administrativo {% elif protocolo.tipo_protocolo == 1 %} Matéria Legislativa {% endif %}</br> | |
| 	<strong>Classificação:</strong> {{ protocolo.tipo_documento }} </br> | |
| 	<strong>Número de Páginas:</strong> {{ protocolo.numero_paginas }} </br> | |
| 	<strong>Observação:</strong>{{ protocolo.observacao|default:"Não há" }}</br> | |
| 
 | |
| 	<br /> | |
| 
 | |
| 	<strong>Documento Vinculado:</strong></br> | |
| 	<a href="{% url 'criar_documento' protocolo.numero protocolo.ano %}" class="btn btn-primary">Criar Documento</a> | |
| 	     | |
| 	<a href="{% url 'comprovante_protocolo' protocolo.numero protocolo.ano %}" target="popup" class="btn btn-primary" onclick="window.open('{% url 'comprovante_protocolo' protocolo.numero protocolo.ano %}','Comprovante','width=800, height=600')">Comprovante | |
| 	</a> | |
| {% endblock detail_content %} |