PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/jdmr/mateo
text | 99 lines | 76 code | 23 blank | 0 comment | 0 complexity | da49d50b2844b7575ebdfb9726427285 MD5 | raw file
 1
 2<%@ page import="inventario.LoteEntrada" %>
 3<!doctype html>
 4<html>
 5	<head>
 6		<meta name="layout" content="main">
 7		<g:set var="entityName" value="${message(code: 'loteEntrada.label', default: 'LoteEntrada')}" />
 8		<title><g:message code="default.show.label" args="[entityName]" /></title>
 9	</head>
10	<body>
11		<a href="#show-loteEntrada" 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="nuevo"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
17			</ul>
18		</div>
19		<div id="show-loteEntrada" 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 loteEntrada">
25			
26				<g:if test="${loteEntrada?.cantidad}">
27				<li class="fieldcontain">
28					<span id="cantidad-label" class="property-label"><g:message code="loteEntrada.cantidad.label" default="Cantidad" /></span>
29					
30						<span class="property-value" aria-labelledby="cantidad-label"><g:fieldValue bean="${loteEntrada}" field="cantidad"/></span>
31					
32				</li>
33				</g:if>
34			
35				<g:if test="${loteEntrada?.precioUnitario}">
36				<li class="fieldcontain">
37					<span id="precioUnitario-label" class="property-label"><g:message code="loteEntrada.precioUnitario.label" default="Precio Unitario" /></span>
38					
39						<span class="property-value" aria-labelledby="precioUnitario-label"><g:fieldValue bean="${loteEntrada}" field="precioUnitario"/></span>
40					
41				</li>
42				</g:if>
43			
44				<g:if test="${loteEntrada?.iva}">
45				<li class="fieldcontain">
46					<span id="iva-label" class="property-label"><g:message code="loteEntrada.iva.label" default="Iva" /></span>
47					
48						<span class="property-value" aria-labelledby="iva-label"><g:fieldValue bean="${loteEntrada}" field="iva"/></span>
49					
50				</li>
51				</g:if>
52			
53				<g:if test="${loteEntrada?.dateCreated}">
54				<li class="fieldcontain">
55					<span id="dateCreated-label" class="property-label"><g:message code="loteEntrada.dateCreated.label" default="Date Created" /></span>
56					
57						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${loteEntrada?.dateCreated}" /></span>
58					
59				</li>
60				</g:if>
61			
62				<g:if test="${loteEntrada?.entrada}">
63				<li class="fieldcontain">
64					<span id="entrada-label" class="property-label"><g:message code="loteEntrada.entrada.label" default="Entrada" /></span>
65					
66						<span class="property-value" aria-labelledby="entrada-label"><g:link controller="entrada" action="show" id="${loteEntrada?.entrada?.id}">${loteEntrada?.entrada?.encodeAsHTML()}</g:link></span>
67					
68				</li>
69				</g:if>
70			
71				<g:if test="${loteEntrada?.lastUpdated}">
72				<li class="fieldcontain">
73					<span id="lastUpdated-label" class="property-label"><g:message code="loteEntrada.lastUpdated.label" default="Last Updated" /></span>
74					
75						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${loteEntrada?.lastUpdated}" /></span>
76					
77				</li>
78				</g:if>
79			
80				<g:if test="${loteEntrada?.producto}">
81				<li class="fieldcontain">
82					<span id="producto-label" class="property-label"><g:message code="loteEntrada.producto.label" default="Producto" /></span>
83					
84						<span class="property-value" aria-labelledby="producto-label"><g:link controller="producto" action="show" id="${loteEntrada?.producto?.id}">${loteEntrada?.producto?.encodeAsHTML()}</g:link></span>
85					
86				</li>
87				</g:if>
88			
89			</ol>
90			<g:form>
91				<fieldset class="buttons">
92					<g:hiddenField name="id" value="${loteEntrada?.id}" />
93					<g:link class="edit" action="edita" id="${loteEntrada?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
94					<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?')}');" />
95				</fieldset>
96			</g:form>
97		</div>
98	</body>
99</html>