Author: hansbak
Date: Wed Oct 21 09:22:16 2009
New Revision: 827935
URL: http://svn.apache.org/viewvc?rev=827935&view=rev
Log:
add username to customeritem note list
Modified:
ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/overViewRequestItems.ftl
ofbiz/trunk/specialpurpose/projectmgr/widget/CustRequestScreens.xml
Modified:
ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/overViewRequestItems.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/overViewRequestItems.ftl?rev=827935&r1=827934&r2=827935&view=diff
==============================================================================
---
ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/overViewRequestItems.ftl
(original)
+++
ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/overViewRequestItems.ftl
Wed Oct 21 09:22:16 2009
@@ -68,6 +68,9 @@
${uiLabelMap.CommonNote}
</td>
<td>
+ ${uiLabelMap.PartyParty}
${uiLabelMap.PartyName}
+ </td>
+ <td>
${uiLabelMap.CommonDate}
</td>
</tr>
@@ -78,6 +81,7 @@
<#else>
<#assign row="alternate-row">
</#if>
+ <#assign partyNameView =
delegator.findOne("PartyNameView",
Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId",
custRequestItemNoteViewList.partyId), false)?if_exists/>
<tr class="${row}">
<td>
</td>
@@ -87,6 +91,9 @@
<td >
${custRequestItemNoteViewList.noteInfo}
</td>
+ <td >
+ ${partyNameView.groupName?if_exists}
${partyNameView.firstName?if_exists} ${partyNameView.lastName?if_exists}
+ </td>
<td>
${custRequestItemNoteViewList.noteDateTime.toString().substring(0,10)}
</td>
Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CustRequestScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/CustRequestScreens.xml?rev=827935&r1=827934&r2=827935&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/CustRequestScreens.xml
(original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/CustRequestScreens.xml Wed Oct
21 09:22:16 2009
@@ -117,7 +117,7 @@
</entity-and>
<entity-condition entity-name="CustRequestItemNoteView"
list="custRequestItemNoteViews">
<condition-expr field-name="custRequestId"
operator="equals" from-field="parameters.custRequestId"/>
- <order-by field-name="-noteDateTime"/>
+ <order-by field-name="noteDateTime"/>
</entity-condition>
<entity-and entity-name="CustRequestContent"
list="custRequestContents" filter-by-date="true">
<field-map field-name="custRequestId"
from-field="custRequestId"/>