Changeset 498 for trunk/grails-app/views/inventoryItemDetailed
- Timestamp:
- Apr 19, 2010, 2:07:48 AM (15 years ago)
- Location:
- trunk/grails-app/views/inventoryItemDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/search.gsp
r489 r498 129 129 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" /> 130 130 131 <td class=' gallery'>131 <td class='notClickable'> 132 132 <g:if test="${inventoryItemInstance.picture}" > 133 133 <wa:pictureLightboxAnchor picture="${inventoryItemInstance.picture}" … … 155 155 </td> 156 156 157 <td >157 <td class="notClickable"> 158 158 <g:link action="show" id="${inventoryItemInstance.id}"> 159 159 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> -
trunk/grails-app/views/inventoryItemDetailed/show.gsp
r453 r498 353 353 <tbody> 354 354 <g:each in="${inventoryMovementList}" status="i" var="movements"> 355 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'/> 356 357 <td>${fieldValue(bean:movements, field:'quantity')}</td> 358 <td>${fieldValue(bean:movements, field:'inventoryMovementType')}</td> 359 <td><g:formatDate date="${movements.date}" format="EEE, dd-MMM-yyyy"/></td> 360 <td>${fieldValue(bean:movements, field:'person')}</td> 361 <td> 355 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> 356 357 <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'> 358 ${fieldValue(bean:movements, field:'quantity')} 359 </td> 360 <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'> 361 ${fieldValue(bean:movements, field:'inventoryMovementType')} 362 </td> 363 <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'> 364 <g:formatDate date="${movements.date}" format="EEE, dd-MMM-yyyy"/> 365 </td> 366 <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'> 367 ${fieldValue(bean:movements, field:'person')} 368 </td> 369 370 <td class="notClickable"> 362 371 <g:link controller="inventoryMovementDetailed" action="show" id="${movements.id}"> 363 372 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> … … 466 475 ${fieldValue(bean:purchase, field:'inventoryItemPurchaseType')} 467 476 </td> 468 <td >477 <td class="notClickable"> 469 478 <g:link controller="inventoryItemPurchaseDetailed" action="show" id="${purchase.id}"> 470 479 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" title="Show" /> … … 473 482 <g:if test="${purchase.inventoryItemPurchaseType.id == 1}"> 474 483 <g:if test="${!purchase.receivedComplete}"> 475 <td >484 <td class="notClickable"> 476 485 <g:link controller="inventoryItemPurchaseDetailed" action="receive" id="${purchase.id}"> 477 486 <img src="${resource(dir:'images/skin',file:'basket_put.png')}" alt="Receive" title="Receive" /> … … 480 489 </g:if> 481 490 <g:else> 482 <td >491 <td class="notClickable"> 483 492 </td> 484 493 </g:else> 485 494 <g:if test="${!purchase.invoicePaymentApproved}"> 486 <td >495 <td class="notClickable"> 487 496 <g:link controller="inventoryItemPurchaseDetailed" action="approveInvoicePayment" id="${purchase.id}"> 488 497 <img src="${resource(dir:'images/skin',file:'tick.png')}" alt="Approve" title="Approve Payment" /> … … 491 500 </g:if> 492 501 <g:else> 493 <td >502 <td class="notClickable"> 494 503 </td> 495 504 </g:else> 496 505 </g:if> 497 506 <g:else> 498 <td >507 <td class="notClickable"> 499 508 </td> 500 <td >509 <td class="notClickable"> 501 510 </td> 502 511 </g:else>
Note: See TracChangeset
for help on using the changeset viewer.