PageRenderTime 46ms CodeModel.GetById 19ms RepoModel.GetById 0ms 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. <%@ page import="inventario.LoteEntrada" %>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <meta name="layout" content="main">
  6. <g:set var="entityName" value="${message(code: 'loteEntrada.label', default: 'LoteEntrada')}" />
  7. <title><g:message code="default.show.label" args="[entityName]" /></title>
  8. </head>
  9. <body>
  10. <a href="#show-loteEntrada" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
  11. <div class="nav" role="navigation">
  12. <ul>
  13. <li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
  14. <li><g:link class="list" action="lista"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
  15. <li><g:link class="create" action="nuevo"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
  16. </ul>
  17. </div>
  18. <div id="show-loteEntrada" class="content scaffold-show" role="main">
  19. <h1><g:message code="default.show.label" args="[entityName]" /></h1>
  20. <g:if test="${flash.message}">
  21. <div class="message" role="status">${flash.message}</div>
  22. </g:if>
  23. <ol class="property-list loteEntrada">
  24. <g:if test="${loteEntrada?.cantidad}">
  25. <li class="fieldcontain">
  26. <span id="cantidad-label" class="property-label"><g:message code="loteEntrada.cantidad.label" default="Cantidad" /></span>
  27. <span class="property-value" aria-labelledby="cantidad-label"><g:fieldValue bean="${loteEntrada}" field="cantidad"/></span>
  28. </li>
  29. </g:if>
  30. <g:if test="${loteEntrada?.precioUnitario}">
  31. <li class="fieldcontain">
  32. <span id="precioUnitario-label" class="property-label"><g:message code="loteEntrada.precioUnitario.label" default="Precio Unitario" /></span>
  33. <span class="property-value" aria-labelledby="precioUnitario-label"><g:fieldValue bean="${loteEntrada}" field="precioUnitario"/></span>
  34. </li>
  35. </g:if>
  36. <g:if test="${loteEntrada?.iva}">
  37. <li class="fieldcontain">
  38. <span id="iva-label" class="property-label"><g:message code="loteEntrada.iva.label" default="Iva" /></span>
  39. <span class="property-value" aria-labelledby="iva-label"><g:fieldValue bean="${loteEntrada}" field="iva"/></span>
  40. </li>
  41. </g:if>
  42. <g:if test="${loteEntrada?.dateCreated}">
  43. <li class="fieldcontain">
  44. <span id="dateCreated-label" class="property-label"><g:message code="loteEntrada.dateCreated.label" default="Date Created" /></span>
  45. <span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${loteEntrada?.dateCreated}" /></span>
  46. </li>
  47. </g:if>
  48. <g:if test="${loteEntrada?.entrada}">
  49. <li class="fieldcontain">
  50. <span id="entrada-label" class="property-label"><g:message code="loteEntrada.entrada.label" default="Entrada" /></span>
  51. <span class="property-value" aria-labelledby="entrada-label"><g:link controller="entrada" action="show" id="${loteEntrada?.entrada?.id}">${loteEntrada?.entrada?.encodeAsHTML()}</g:link></span>
  52. </li>
  53. </g:if>
  54. <g:if test="${loteEntrada?.lastUpdated}">
  55. <li class="fieldcontain">
  56. <span id="lastUpdated-label" class="property-label"><g:message code="loteEntrada.lastUpdated.label" default="Last Updated" /></span>
  57. <span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${loteEntrada?.lastUpdated}" /></span>
  58. </li>
  59. </g:if>
  60. <g:if test="${loteEntrada?.producto}">
  61. <li class="fieldcontain">
  62. <span id="producto-label" class="property-label"><g:message code="loteEntrada.producto.label" default="Producto" /></span>
  63. <span class="property-value" aria-labelledby="producto-label"><g:link controller="producto" action="show" id="${loteEntrada?.producto?.id}">${loteEntrada?.producto?.encodeAsHTML()}</g:link></span>
  64. </li>
  65. </g:if>
  66. </ol>
  67. <g:form>
  68. <fieldset class="buttons">
  69. <g:hiddenField name="id" value="${loteEntrada?.id}" />
  70. <g:link class="edit" action="edita" id="${loteEntrada?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
  71. <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?')}');" />
  72. </fieldset>
  73. </g:form>
  74. </div>
  75. </body>
  76. </html>