Changeset 595 for trunk/grails-app/views/inventoryItemDetailed
- Timestamp:
- Jun 11, 2010, 11:44:49 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/inventoryItemDetailed/show.gsp
r584 r595 502 502 </g:link> 503 503 </td> 504 504 505 <g:if test="${purchase.inventoryItemPurchaseType.id == 1}"> 505 506 <g:if test="${!purchase.receivedComplete}"> 506 507 <td class="notClickable"> 507 <g:link controller="inventoryItemPurchaseDetailed" action="receive" id="${purchase.id}">508 <g:link controller="inventoryItemPurchaseDetailed" action="receive" params="[id: purchase.id, returnTo: 'inventoryItem']"> 508 509 <img src="${resource(dir:'images/skin',file:'basket_put.png')}" alt="Receive" title="Receive" /> 509 510 </g:link> 510 511 </td> 512 <td class="notClickable"> 513 </td> 511 514 </g:if> 512 515 <g:else> 513 516 <td class="notClickable"> 514 517 </td> 518 <td class="notClickable"> 519 </td> 515 520 </g:else> 521 </g:if> 522 <g:elseif test="${(purchase.inventoryItemPurchaseType.id == 2)||(purchase.inventoryItemPurchaseType.id == 3)}"> 516 523 <g:if test="${!purchase.invoicePaymentApproved}"> 517 524 <td class="notClickable"> 518 <g:link controller="inventoryItemPurchaseDetailed" action="approveInvoicePayment" id="${purchase.id}"> 525 </td> 526 <td class="notClickable"> 527 <g:link controller="inventoryItemPurchaseDetailed" action="approveInvoicePayment" params="[id: purchase.id, returnTo: 'inventoryItem']"> 519 528 <img src="${resource(dir:'images/skin',file:'tick.png')}" alt="Approve" title="Approve Payment" /> 520 529 </g:link> … … 524 533 <td class="notClickable"> 525 534 </td> 535 <td class="notClickable"> 536 </td> 526 537 </g:else> 527 </g: if>538 </g:elseif> 528 539 <g:else> 529 540 <td class="notClickable">
Note: See TracChangeset
for help on using the changeset viewer.