PageRenderTime 42ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 0ms

/grails-app/views/facturaAlmacen/ver.gsp

http://github.com/jdmr/mateo
text | 148 lines | 110 code | 38 blank | 0 comment | 0 complexity | 278e4e2e164f6b97226050cf8c37b7d0 MD5 | raw file
  1
  2<%@ page import="inventario.FacturaAlmacen" %>
  3<!doctype html>
  4<html>
  5	<head>
  6		<meta name="layout" content="main">
  7		<g:set var="entityName" value="${message(code: 'facturaAlmacen.label', default: 'FacturaAlmacen')}" />
  8		<title><g:message code="default.show.label" args="[entityName]" /></title>
  9	</head>
 10	<body>
 11		<a href="#show-facturaAlmacen" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
 12		<div class="nav" role="navigation">
 13			<ul>
 14				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
 15				<li><g:link class="list" action="lista"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
 16				<li><g:link class="create" action="nueva"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
 17			</ul>
 18		</div>
 19		<div id="show-facturaAlmacen" class="content scaffold-show" role="main">
 20			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
 21			<g:if test="${flash.message}">
 22			<div class="message" role="status">${flash.message}</div>
 23			</g:if>
 24			<ol class="property-list facturaAlmacen">
 25			
 26				<g:if test="${facturaAlmacen?.folio}">
 27				<li class="fieldcontain">
 28					<span id="folio-label" class="property-label"><g:message code="facturaAlmacen.folio.label" default="Folio" /></span>
 29					
 30						<span class="property-value" aria-labelledby="folio-label"><g:fieldValue bean="${facturaAlmacen}" field="folio"/></span>
 31					
 32				</li>
 33				</g:if>
 34			
 35				<g:if test="${facturaAlmacen?.comentarios}">
 36				<li class="fieldcontain">
 37					<span id="comentarios-label" class="property-label"><g:message code="facturaAlmacen.comentarios.label" default="Comentarios" /></span>
 38					
 39						<span class="property-value" aria-labelledby="comentarios-label"><g:fieldValue bean="${facturaAlmacen}" field="comentarios"/></span>
 40					
 41				</li>
 42				</g:if>
 43			
 44				<g:if test="${facturaAlmacen?.iva}">
 45				<li class="fieldcontain">
 46					<span id="iva-label" class="property-label"><g:message code="facturaAlmacen.iva.label" default="Iva" /></span>
 47					
 48						<span class="property-value" aria-labelledby="iva-label"><g:fieldValue bean="${facturaAlmacen}" field="iva"/></span>
 49					
 50				</li>
 51				</g:if>
 52			
 53				<g:if test="${facturaAlmacen?.total}">
 54				<li class="fieldcontain">
 55					<span id="total-label" class="property-label"><g:message code="facturaAlmacen.total.label" default="Total" /></span>
 56					
 57						<span class="property-value" aria-labelledby="total-label"><g:fieldValue bean="${facturaAlmacen}" field="total"/></span>
 58					
 59				</li>
 60				</g:if>
 61			
 62				<g:if test="${facturaAlmacen?.estatus}">
 63				<li class="fieldcontain">
 64					<span id="estatus-label" class="property-label"><g:message code="facturaAlmacen.estatus.label" default="Estatus" /></span>
 65					
 66						<span class="property-value" aria-labelledby="estatus-label"><g:fieldValue bean="${facturaAlmacen}" field="estatus"/></span>
 67					
 68				</li>
 69				</g:if>
 70			
 71				<g:if test="${facturaAlmacen?.almacen}">
 72				<li class="fieldcontain">
 73					<span id="almacen-label" class="property-label"><g:message code="facturaAlmacen.almacen.label" default="Almacen" /></span>
 74					
 75						<span class="property-value" aria-labelledby="almacen-label"><g:link controller="almacen" action="show" id="${facturaAlmacen?.almacen?.id}">${facturaAlmacen?.almacen?.encodeAsHTML()}</g:link></span>
 76					
 77				</li>
 78				</g:if>
 79			
 80				<g:if test="${facturaAlmacen?.cliente}">
 81				<li class="fieldcontain">
 82					<span id="cliente-label" class="property-label"><g:message code="facturaAlmacen.cliente.label" default="Cliente" /></span>
 83					
 84						<span class="property-value" aria-labelledby="cliente-label"><g:link controller="cliente" action="show" id="${facturaAlmacen?.cliente?.id}">${facturaAlmacen?.cliente?.encodeAsHTML()}</g:link></span>
 85					
 86				</li>
 87				</g:if>
 88			
 89				<g:if test="${facturaAlmacen?.dateCreated}">
 90				<li class="fieldcontain">
 91					<span id="dateCreated-label" class="property-label"><g:message code="facturaAlmacen.dateCreated.label" default="Date Created" /></span>
 92					
 93						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${facturaAlmacen?.dateCreated}" /></span>
 94					
 95				</li>
 96				</g:if>
 97			
 98				<g:if test="${facturaAlmacen?.entradas}">
 99				<li class="fieldcontain">
100					<span id="entradas-label" class="property-label"><g:message code="facturaAlmacen.entradas.label" default="Entradas" /></span>
101					
102						<g:each in="${facturaAlmacen.entradas}" var="e">
103						<span class="property-value" aria-labelledby="entradas-label"><g:link controller="entrada" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></span>
104						</g:each>
105					
106				</li>
107				</g:if>
108			
109				<g:if test="${facturaAlmacen?.fecha}">
110				<li class="fieldcontain">
111					<span id="fecha-label" class="property-label"><g:message code="facturaAlmacen.fecha.label" default="Fecha" /></span>
112					
113						<span class="property-value" aria-labelledby="fecha-label"><g:formatDate date="${facturaAlmacen?.fecha}" /></span>
114					
115				</li>
116				</g:if>
117			
118				<g:if test="${facturaAlmacen?.lastUpdated}">
119				<li class="fieldcontain">
120					<span id="lastUpdated-label" class="property-label"><g:message code="facturaAlmacen.lastUpdated.label" default="Last Updated" /></span>
121					
122						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${facturaAlmacen?.lastUpdated}" /></span>
123					
124				</li>
125				</g:if>
126			
127				<g:if test="${facturaAlmacen?.salidas}">
128				<li class="fieldcontain">
129					<span id="salidas-label" class="property-label"><g:message code="facturaAlmacen.salidas.label" default="Salidas" /></span>
130					
131						<g:each in="${facturaAlmacen.salidas}" var="s">
132						<span class="property-value" aria-labelledby="salidas-label"><g:link controller="salida" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></span>
133						</g:each>
134					
135				</li>
136				</g:if>
137			
138			</ol>
139			<g:form>
140				<fieldset class="buttons">
141					<g:hiddenField name="id" value="${facturaAlmacen?.id}" />
142					<g:link class="edit" action="edita" id="${facturaAlmacen?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
143					<g:actionSubmit class="delete" action="elimina" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
144				</fieldset>
145			</g:form>
146		</div>
147	</body>
148</html>