source: trunk/grails-app/views/inventoryItemDetailed/show.gsp @ 720

Last change on this file since 720 was 720, checked in by gav, 13 years ago

Domain change: as per ticket #96 - Remove unused fields from InventoryItem?.
Removed InventoryItem?.alternateItems.

File size: 35.5 KB
Line 
1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
7        <title>Show InventoryItem</title>
8        <nav:resources override="true"/>
9        <resource:tabView skin="tabviewCustom" />
10        <g:render template="/shared/pictureHead" />
11    </head>
12    <body>
13        <div class="nav">
14            <nav:renderSubItems group="nav"/>
15        </div>
16        <div class="body">
17            <g:render template="/shared/messages" />
18            <g:if test="${inventoryItemInstance.isObsolete || !inventoryItemInstance.isActive}" >
19                <div class="errors">
20                    <ul>
21                        <g:if test="${inventoryItemInstance.isObsolete}" >
22                            <li><g:message code="inventory.item.is.obsolete.message" /><li>
23                        </g:if>
24                        <g:if test="${!inventoryItemInstance.isActive}" >
25                            <li><g:message code="inventory.item.not.active.message" /><li>
26                        </g:if>
27                    </ul>
28                </div>
29            </g:if>
30            <g:if test="${!inventoryItemInstance.enableReorderListing}" >
31                <div class="message">
32                    <g:message code="inventory.item.reorder.listing.disabled" />
33                </div>
34            </g:if>
35            <g:hasErrors bean="${inventoryMovementInstance}">
36                <div class="errors">
37                    <g:renderErrors bean="${inventoryMovementInstance}" as="list" />
38                </div>
39            </g:hasErrors>
40
41            <g:hasErrors bean="${inventoryItemInstance}">
42                <div class="errors">
43                    <g:renderErrors bean="${inventoryItemInstance}" as="list" />
44                </div>
45            </g:hasErrors>
46
47            <div class="tabHeader">
48                <h1>
49                    ${inventoryItemInstance.name}
50                </h1>
51                ${fieldValue(bean:inventoryItemInstance, field:'description')}
52            </div>
53
54            <br/>
55
56            <richui:tabView id="tabView">
57
58                <richui:tabLabels>
59                    <richui:tabLabel selected="${showTab.inventory}" title="Inventory Item" />
60                    <richui:tabLabel selected="${showTab.detail}" title="Detail" />
61                    <g:if test="${!inventoryMovementList.isEmpty()}">
62                        <richui:tabLabel selected="${showTab.movement}" title="Movement (${inventoryMovementList.size()})" />
63                    </g:if>
64                    <g:else>
65                        <richui:tabLabel selected="${showTab.movement}" title="Movement" />
66                    </g:else>
67                    <g:if test="${!inventoryItemPurchases.isEmpty()}">
68                        <richui:tabLabel selected="${showTab.purchasing}" title="Purchasing (${inventoryItemPurchases.size()})" />
69                    </g:if>
70                    <g:else>
71                        <richui:tabLabel selected="${showTab.purchasing}" title="Purchasing" />
72                    </g:else>
73                </richui:tabLabels>
74
75                <richui:tabContents>
76
77<!-- Start Inventory tab -->
78                    <richui:tabContent>
79
80                        <g:if test="${inventoryMovementInstance}" >
81
82                            <div id="useInventoryItemDiv" style="display:inline"> <!-- inline required for IE -->
83                                <div class="pane_close" >
84                                    <g:remoteLink action="clearUseInventoryItem" update="useInventoryItemDiv">
85                                        <img  src="${resource(dir:'images/skin',file:'cross.png')}" alt="Clear" title="Clear"/>
86                                    </g:remoteLink>
87                                </div>
88                                <g:form controller="inventoryItemDetailed" action="useInventoryItem" method="post" >
89                                    <div class="dialog">
90                                        <table>
91                                            <tbody>
92                                                    <g:hiddenField name="task.id" value="${inventoryMovementInstance.task.id}"/>
93                                                    <g:hiddenField name="inventoryItem.id" value="${inventoryItemInstance.id}"/>
94                                                    <tr class="prop">
95                                                        <td valign="top" class="name">Use on task:</td>
96                                                        <td valign="top" class="value">
97                                                            <g:link controller="taskDetailed" action="show" id="${inventoryMovementInstance.task.id}" >
98                                                                ${Task.get(inventoryMovementInstance.task.id).encodeAsHTML()}
99                                                            </g:link>
100                                                        </td>
101                                                    </tr>
102
103                                                    <tr class="prop">
104                                                        <td valign="top" class="name">
105                                                            <label for="quantity">Quantity:</label>
106                                                        </td>
107                                                        <td valign="top">
108                                                            <input class="medium ${hasErrors(bean:inventoryMovementInstance,field:'quantity','errors')}"
109                                                                        type="text" id="quantity" name="quantity"
110                                                                        value="${fieldValue(bean:inventoryMovementInstance,field:'quantity')}"/>
111                                                            ${inventoryItemInstance.unitOfMeasure?.encodeAsHTML()}
112
113                                                            <span class="buttons">
114                                                                <g:actionSubmit action="useInventoryItem" class="save" value="${InventoryMovementType.read(1)}" />
115                                                            </span>
116
117                                                        </td>
118                                                    </tr>
119
120                                            </tbody>
121                                        </table>
122                                    </div>
123                                </g:form>
124
125                                <br />
126                            </div>
127
128                        </g:if>
129
130                        <div class="dialog">
131                            <table>
132                                <tbody>
133
134                                    <tr class="prop">
135                                        <td valign="top" class="name">Picture:</td>
136                                        <td valign="top" class="value">
137                                            <g:if test="${inventoryItemInstance.picture}" >
138                                                <span class='gallery'><wa:pictureLightboxAnchor picture="${inventoryItemInstance.picture}" size="${Image.Medium}" lightboxSize="${Image.Large}" target="_blank" title="Show Original" /></span>
139                                            </g:if>
140                                            <g:else>
141                                                <g:link controller="pictureDetailed"
142                                                                params="['inventoryItem.id':inventoryItemInstance.id]"
143                                                                action="create">
144                                                    Add Picture
145                                                </g:link>
146                                            </g:else>
147                                        </td>
148                                    </tr>
149
150                                    <tr class="prop">
151                                        <td valign="top" class="name">Comment:</td>
152
153                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'comment')}</td>
154                                    </tr>
155
156                                    <tr class="prop">
157                                        <td valign="top" class="name">In Stock:</td>
158
159                                        <td valign="top" class="value">
160                                            ${fieldValue(bean:inventoryItemInstance, field:'unitsInStock')} ${inventoryItemInstance.unitOfMeasure.encodeAsHTML()}
161                                        </td>
162                                    </tr>
163
164                                    <tr class="prop">
165                                        <td valign="top" class="name">Location:</td>
166
167                                        <td valign="top" class="value">
168                                            <g:link controller="inventoryLocationDetailed" action="show" id="${inventoryItemInstance.inventoryLocation?.id}">
169                                                ${inventoryItemInstance.inventoryLocation?.encodeAsHTML()}
170                                            </g:link>
171                                                in ${inventoryItemInstance.inventoryLocation?.inventoryStore.encodeAsHTML()}
172                                        </td>
173                                    </tr>
174
175                                    <tr class="prop">
176                                        <td valign="top" class="name">Active:</td>
177
178                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'isActive')}</td>
179                                    </tr>
180
181                                    <tr class="prop">
182                                        <td valign="top" class="name">Spare For:</td>
183
184                                        <td  valign="top" style="text-align:left;" class="value">
185                                            <ul>
186                                            <g:each var="s" in="${ inventoryItemInstance.spareFor.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }">
187                                                <li><g:link controller="assetDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
188                                            </g:each>
189                                            </ul>
190                                        </td>
191                                    </tr>
192
193                                </tbody>
194                            </table>
195                        </div>
196                        <div class="buttons">
197                            <g:form>
198                                <g:hiddenField name="id" value="${inventoryItemInstance.id}" />
199                                <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
200                                <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
201                            </g:form>
202                        </div>
203
204                        <br />
205
206                    </richui:tabContent>
207<!-- End Inventory tab -->
208
209<!-- Start Detail tab -->
210                    <richui:tabContent>
211
212                        <div class="dialog">
213                            <table>
214                                <tbody>
215
216                                    <tr class="prop">
217                                        <td valign="top" class="name">Id:</td>
218                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'id')}</td>
219                                    </tr>
220
221                                    <tr class="prop">
222                                        <td valign="top" class="name">Obsolete:</td>
223                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'isObsolete')}</td>
224                                    </tr>
225
226                                    <tr class="prop">
227                                        <td valign="top" class="name">Inventory Group:</td>
228                                        <td valign="top" class="value">${inventoryItemInstance.inventoryGroup?.encodeAsHTML()}</td>
229                                    </tr>
230
231                                    <tr class="prop">
232                                        <td valign="top" class="name">Inventory Type:</td>
233                                        <td valign="top" class="value">${inventoryItemInstance.inventoryType?.encodeAsHTML()}</td>
234                                    </tr>
235
236                                    <tr class="prop">
237                                        <td valign="top" class="name">Reorder Point:</td>
238                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'reorderPoint')}</td>
239                                    </tr>
240
241                                    <tr class="prop">
242                                        <td valign="top" class="name">Enable Reorder Listing:</td>
243                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'enableReorderListing')}</td>
244                                    </tr>
245
246                                    <tr class="prop">
247                                        <td valign="top" class="name">Reorder Quantity:</td>
248                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'reorderQuantity')}</td>
249                                    </tr>
250
251                                    <tr class="prop">
252                                        <td valign="top" class="name">Estimated Unit Price:</td>
253
254                                        <td valign="top" class="value">
255                                            <g:if test="${inventoryItemInstance.estimatedUnitPriceAmount}">
256                                                ${inventoryItemInstance.estimatedUnitPriceAmount.encodeAsHTML()}
257                                                ${inventoryItemInstance.estimatedUnitPriceCurrency.encodeAsHTML()}
258                                            </g:if>
259                                        </td>
260                                    </tr>
261
262                                    <tr class="prop">
263                                        <td valign="top" class="name">Suppliers Part Number:</td>
264                                        <td valign="top" class="value">${fieldValue(bean:inventoryItemInstance, field:'suppliersPartNumber')}</td>
265                                    </tr>
266
267                                    <tr class="prop">
268                                        <td valign="top" class="name">Preferred Supplier:</td>
269
270                                        <td  valign="top" style="text-align:left;" class="value">
271                                            <g:link controller="supplierDetailed" action="show" id="${inventoryItemInstance.preferredSupplier?.id}">
272                                                ${inventoryItemInstance.preferredSupplier?.encodeAsHTML()}
273                                            </g:link>
274                                        </td>
275                                    </tr>
276
277                                    <tr class="prop">
278                                        <td valign="top" class="name">Alternate Suppliers:</td>
279
280                                        <td  valign="top" style="text-align:left;" class="value">
281                                            <ul>
282                                            <g:each var="s" in="${ inventoryItemInstance.alternateSuppliers.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }">
283                                                <li><g:link controller="supplierDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
284                                            </g:each>
285                                            </ul>
286                                        </td>
287                                    </tr>
288
289                                </tbody>
290                            </table>
291                        </div>
292                        <div class="buttons">
293                            <g:form>
294                                <g:hiddenField name="id" value="${inventoryItemInstance.id}" />
295                                <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
296                                <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
297                            </g:form>
298                        </div>
299                    </richui:tabContent>
300<!-- End Detail tab -->
301
302<!-- Start Movement tab -->
303                    <richui:tabContent>
304
305                        <g:if test="${inventoryMovementList.isEmpty()}">
306                            <br />
307                            No Inventory Movements.
308                            <br />
309                            <br />
310
311                            <div class="buttons">
312                                <g:form controller="inventoryMovementDetailed">
313                                    <g:hiddenField name="inventoryItem.id" value="${inventoryItemInstance.id}" />
314                                    <span class="button"><g:actionSubmit action="create" class="add" value="Create" /></span>
315                                </g:form>
316                            </div>
317
318                        </g:if>
319                        <g:else>
320
321                            <div class="list">
322                                <table>
323                                    <thead>
324                                        <tr>
325                                            <th>Quantity</th>
326                                            <th>Movement Type</th>
327                                            <th>Date</th>
328                                            <th>Person</th>
329                                            <th></th>
330                                        </tr>
331                                    </thead>
332                                    <tbody>
333                                        <g:each in="${inventoryMovementList}" status="i" var="movements">
334                                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
335
336                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'>
337                                                    ${fieldValue(bean:movements, field:'quantity')}
338                                                </td>
339                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'>
340                                                    ${fieldValue(bean:movements, field:'inventoryMovementType')}
341                                                </td>
342                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'>
343                                                    <g:formatDate date="${movements.date}" format="EEE, dd-MMM-yyyy"/>
344                                                </td>
345                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'>
346                                                    ${fieldValue(bean:movements, field:'person')}
347                                                </td>
348
349                                                <td class="notClickable">
350                                                    <g:link controller="inventoryMovementDetailed" action="show" id="${movements.id}">
351                                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
352                                                    </g:link>
353                                                </td>
354
355                                            </tr>
356                                        </g:each>
357                                    </tbody>
358                                </table>
359                            </div>
360
361                            <div class="buttons">
362                                <g:form controller="inventoryMovementDetailed">
363                                    <g:hiddenField name="inventoryItem.id" value="${inventoryItemInstance.id}" />
364                                    <g:if test="${inventoryMovementListTotal > inventoryMovementListMax}">
365                                        Showing ${inventoryMovementListMax} of ${inventoryMovementListTotal}
366                                        <br />
367                                    </g:if>
368                                    <g:else>
369                                        Total ${inventoryMovementListTotal}
370                                        <br />
371                                    </g:else>
372                                    <span class="button"><g:actionSubmit action="listInventoryMovements" class="table" value="List" /></span>
373                                    <span class="button"><g:actionSubmit action="create" class="add" value="Create" /></span>
374                                </g:form>
375                            </div>
376
377                        </g:else>
378
379                    </richui:tabContent>
380<!-- End Movement tab -->
381
382<!-- Start Purchases tab -->
383                    <richui:tabContent>
384
385                        <g:if test="${inventoryItemPurchases.isEmpty()}">
386                            <br />
387                            No Inventory Purchases.
388                            <br />
389                            <br />
390
391                            <div class="buttons">
392                                <!--Fake button to prevent ordering disabled inventory items-->
393                                <g:if test="${inventoryItemInstance.isObsolete || !inventoryItemInstance.isActive}" >
394                                    <g:form controller="inventoryItemDetailed">
395                                        <g:hiddenField name="id" value="${inventoryItemInstance.id}" />
396                                        <span class="button">
397                                            <g:actionSubmit action="show" class="add" value="${g.message(code:'inventory.item.reorder.not.allowed')}" />
398                                        </span>
399                                        <span class="button">
400                                            <input type="button" class="search" value="Search"
401                                                        onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/search"' />
402                                        </span>
403                                    </g:form>
404                                </g:if>
405                                <g:else><!--Real order button.-->
406                                    <g:form controller="inventoryItemPurchaseDetailed">
407                                        <g:hiddenField name="inventoryItem.id" value="${inventoryItemInstance.id}" />
408                                        <span class="button">
409                                            <g:actionSubmit action="create" class="add" value="Order" />
410                                        </span>
411                                        <span class="button">
412                                            <g:actionSubmit action="search" class="search" value="Search" />
413                                        </span>
414                                    </g:form>
415                                </g:else>
416                            </div>
417
418                        </g:if>
419                        <g:else>
420
421                            <div class="list">
422                                <table>
423                                    <thead>
424                                        <tr>
425                                            <g:sortableColumn action="show" property="purchaseOrderNumber"
426                                                                                title="Order #" params="[paginate: 'purchases']"  />
427                                            <g:sortableColumn action="show"  property="date"
428                                                                                title="Date" params="[paginate: 'purchases']" />
429                                            <g:sortableColumn action="show"  property="costCode"
430                                                                                title="Cost Code" params="[paginate: 'purchases']" />
431                                            <g:sortableColumn action="show"  property="quantity"
432                                                                                title="Quantity" params="[paginate: 'purchases']" />
433                                            <g:sortableColumn action="show"  property="orderValueAmount"
434                                                                                title="Order \$" params="[paginate: 'purchases']" />
435                                            <g:sortableColumn action="show"  property="invoiceNumber"
436                                                                                title="Invoice Number" params="[paginate: 'purchases']" />
437                                            <g:sortableColumn action="show"  property="inventoryItemPurchaseType"
438                                                                                title="Type" params="[paginate: 'purchases']" />
439                                            <th>
440                                                <img  src="${resource(dir:'images/skin',file:'database_go_grey.png')}" alt="Show" title="Show" />
441                                            </th>
442                                            <th>
443                                                <img  src="${resource(dir:'images/skin',file:'basket_put_grey.png')}" alt="Receive" title="Receive" />
444                                            </th>
445                                            <th>
446                                                <img  src="${resource(dir:'images/skin',file:'tick_grey.png')}" alt="Approve" title="Approve Payment" />
447                                            </th>
448                                        </tr>
449                                    </thead>
450                                    <tbody>
451                                        <g:each in="${inventoryItemPurchases}" status="i" var="purchase">
452                                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
453
454                                                <td onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/show/${purchase.id}"'>
455                                                    ${fieldValue(bean:purchase, field:'purchaseOrderNumber')}
456                                                </td>
457                                                <td onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/show/${purchase.id}"'>
458                                                    <g:formatDate date="${purchase.date}" format="EEE, dd-MMM-yyyy"/>
459                                                </td>
460                                                <td onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/show/${purchase.id}"'>
461                                                    ${fieldValue(bean:purchase, field:'costCode')}
462                                                </td>
463                                                <td onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/show/${purchase.id}"'>
464                                                    ${fieldValue(bean:purchase, field:'quantity')}
465                                                </td>
466                                                <td onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/show/${purchase.id}"'>
467                                                    ${fieldValue(bean:purchase, field:'orderValueAmount')}
468                                                    ${fieldValue(bean:purchase, field:'orderValueCurrency')}
469                                                </td>
470                                                <td onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/show/${purchase.id}"'>
471                                                    ${fieldValue(bean:purchase, field:'invoiceNumber')}
472                                                </td>
473                                                <td onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/show/${purchase.id}"'>
474                                                    ${fieldValue(bean:purchase, field:'inventoryItemPurchaseType')}
475                                                </td>
476                                                <td class="notClickable">
477                                                    <g:link controller="inventoryItemPurchaseDetailed" action="show" id="${purchase.id}">
478                                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" title="Show" />
479                                                    </g:link>
480                                                </td>
481
482                                                <g:if test="${purchase.inventoryItemPurchaseType.id == 1}">
483                                                    <g:if test="${!purchase.receivedComplete}">
484                                                        <td class="notClickable">
485                                                            <g:link controller="inventoryItemPurchaseDetailed" action="receive" params="[id: purchase.id, returnTo: 'inventoryItem']">
486                                                                <img  src="${resource(dir:'images/skin',file:'basket_put.png')}" alt="Receive" title="Receive" />
487                                                            </g:link>
488                                                        </td>
489                                                        <td class="notClickable">
490                                                        </td>
491                                                    </g:if>
492                                                    <g:else>
493                                                        <td class="notClickable">
494                                                        </td>
495                                                        <td class="notClickable">
496                                                        </td>
497                                                    </g:else>
498                                                </g:if>
499                                                <g:elseif test="${(purchase.inventoryItemPurchaseType.id == 2)||(purchase.inventoryItemPurchaseType.id == 3)}">
500                                                    <g:if test="${!purchase.invoicePaymentApproved}">
501                                                        <td class="notClickable">
502                                                        </td>
503                                                        <td class="notClickable">
504                                                            <g:link controller="inventoryItemPurchaseDetailed" action="approveInvoicePayment" params="[id: purchase.id, returnTo: 'inventoryItem']">
505                                                                <img  src="${resource(dir:'images/skin',file:'tick.png')}" alt="Approve" title="Approve Payment" />
506                                                            </g:link>
507                                                        </td>
508                                                    </g:if>
509                                                    <g:else>
510                                                        <td class="notClickable">
511                                                        </td>
512                                                        <td class="notClickable">
513                                                        </td>
514                                                    </g:else>
515                                                </g:elseif>
516                                                <g:else>
517                                                    <td class="notClickable">
518                                                    </td>
519                                                    <td class="notClickable">
520                                                    </td>
521                                                </g:else>
522
523                                            </tr>
524                                        </g:each>
525                                    </tbody>
526                                </table>
527                            </div>
528
529                            <div class="buttons">
530                                <!--Fake button to prevent ordering disabled inventory items-->
531                                <g:if test="${inventoryItemInstance.isObsolete || !inventoryItemInstance.isActive}" >
532                                    <g:form controller="inventoryItemDetailed">
533                                        <g:hiddenField name="id" value="${inventoryItemInstance.id}" />
534                                        Results: ${inventoryItemPurchases.size()} / ${inventoryItemPurchasesTotal}
535                                        <span class="button">
536                                            <g:actionSubmit action="show" class="add" value="${g.message(code:'inventory.item.reorder.not.allowed')}" />
537                                        </span>
538                                        <span class="button">
539                                            <input type="button" class="search" value="Search"
540                                                        onclick='window.location = "${request.getContextPath()}/inventoryItemPurchaseDetailed/search"' />
541                                        </span>
542                                    </g:form>
543                                </g:if>
544                                <g:else><!--Real order button.-->
545                                    <g:form controller="inventoryItemPurchaseDetailed">
546                                        <g:hiddenField name="inventoryItem.id" value="${inventoryItemInstance.id}" />
547                                        Results: ${inventoryItemPurchases.size()} / ${inventoryItemPurchasesTotal}
548                                        <span class="button">
549                                            <g:actionSubmit action="create" class="add" value="Order" />
550                                        </span>
551                                        <span class="button">
552                                            <g:actionSubmit action="search" class="search" value="Search" />
553                                        </span>
554                                    </g:form>
555                                </g:else>
556                            </div>
557
558                            <div class="paginateButtons">
559                                <g:paginate action="show"
560                                                        id="${inventoryItemInstance?.id}"
561                                                        total="${inventoryItemPurchasesTotal}"
562                                                        params="[paginate: 'purchases']" />
563                            </div>
564
565                        </g:else>
566
567                    </richui:tabContent>
568<!-- End Movement tab -->
569
570                </richui:tabContents>
571            </richui:tabView>
572
573        </div>
574    </body>
575</html>
Note: See TracBrowser for help on using the repository browser.