[OFBiz] SVN: r6072 - trunk/applications/party/webapp/partymgr/party
sichen at svn.ofbiz.org
sichen at svn.ofbiz.org
Fri Nov 4 17:58:55 EST 2005
Author: sichen
Date: 2005-11-04 16:58:51 -0600 (Fri, 04 Nov 2005)
New Revision: 6072
Modified:
trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl
Log:
Adds field for item's quantity purchased on edit shopping list form, with ability to modify
Modified: trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl
===================================================================
--- trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl 2005-11-04 22:53:48 UTC (rev 6071)
+++ trunk/applications/party/webapp/partymgr/party/editShoppingList.ftl 2005-11-04 22:58:51 UTC (rev 6072)
@@ -243,12 +243,13 @@
<TR>
<TD NOWRAP><div class='tabletext'><b>${uiLabelMap.PartyProduct}</b></div></TD>
<TD NOWRAP align="center"><div class='tabletext'><b>${uiLabelMap.PartyQuantity}</b></div></TD>
+ <TD NOWRAP align="center"><div class='tabletext'><b>${uiLabelMap.PartyQuantityPurchased}</b></div></TD>
<TD NOWRAP align="right"><div class='tabletext'><b>${uiLabelMap.PartyPrice}</b></div></TD>
<TD NOWRAP align="right"><div class='tabletext'><b>${uiLabelMap.PartyTotal}</b></div></TD>
<td> </td>
</TR>
<TR>
- <td colspan="6"><hr class="sepbar"></td>
+ <td colspan="7"><hr class="sepbar"></td>
</TR>
<#list shoppingListItemDatas as shoppingListItemData>
<#assign shoppingListItem = shoppingListItemData.shoppingListItem>
@@ -266,15 +267,20 @@
${productContentWrapper.get("PRODUCT_NAME")?default("No Name")}</a> : ${productContentWrapper.get("DESCRIPTION")?if_exists}
</div>
</td>
- <td nowrap align="center">
<form method="post" action="<@ofbizUrl>updateShoppingListItem</@ofbizUrl>" name='listform_${shoppingListItem.shoppingListItemSeqId}' style='margin: 0;'>
<input type="hidden" name="shoppingListId" value="${shoppingListItem.shoppingListId}">
<input type="hidden" name="shoppingListItemSeqId" value="${shoppingListItem.shoppingListItemSeqId}">
- <div class='tabletext'>
- <input size="6" class='inputBox' type="text" name="quantity" value="${shoppingListItem.quantity?string.number}">
+ <td nowrap align="center">
+ <div class='tabletext'>
+ <input size="6" class='inputBox' type="text" name="quantity" value="${shoppingListItem.quantity?string.number}">
+ </div>
+ </td>
+ <td nowrap align="center">
+ <div class='tabletext'>
+ <input size="6" class='inputBox' type="text" name="quantityPurchased" value="${shoppingListItem.quantityPurchased?if_exists?string.number}">
</div>
+ </td>
</form>
- </td>
<td nowrap align="right">
<div class="tabletext"><@ofbizCurrency amount=unitPrice isoCode=currencyUomId/></div>
</td>
@@ -287,13 +293,14 @@
</td>
</tr>
</#list>
- <tr><td colspan="6"><hr class='sepbar'></td></tr>
+ <tr><td colspan="7"><hr class='sepbar'></td></tr>
<tr>
<td><div class="tabletext"> </div></td>
<td><div class="tabletext"> </div></td>
<td><div class="tabletext"> </div></td>
<td><div class="tabletext"> </div></td>
<td><div class="tabletext"> </div></td>
+ <td><div class="tabletext"> </div></td>
</tr>
</table>
<#else>
More information about the Svn
mailing list