diff --git a/applications/party/config/PartyUiLabels.xml b/applications/party/config/PartyUiLabels.xml index 61e1fd0aea..777faebcb4 100644 --- a/applications/party/config/PartyUiLabels.xml +++ b/applications/party/config/PartyUiLabels.xml @@ -2498,6 +2498,10 @@ Присоединить содержание หัวข้อติดกัน + + Attach File + Allega file + Jméno Zu Händen von @@ -4116,6 +4120,10 @@ เปลี่ยนแปลงชื่อที่อยู่เป็นผลสำเร็จ 已成功更新域名。 + + Draft Emails + Bozze emails + Kommunikation Kundenanfrage bearbeiten Edit Communication Customer Request @@ -4514,6 +4522,10 @@ หมายเลขแฟกซ์ 传真号码 + + File Attach. + Allega file + Fin. History Histórico financiero @@ -5746,9 +5758,8 @@ ข้อมูลการติดต่อไม่ใช่ของคุณ, คุณไม่อาจจะดูหรือแก้ไขมันได้ 指定的联系信息不属于你,你不能浏览或编辑它。 - - Draft Emails - Bozze emails + + My Communications Jméno @@ -6045,6 +6056,12 @@ ชื่อเล่น 昵称 + + You do not have access to this information + Vous n'avez pas accès à cette information + Non hai l'accesso a queste informazioni + คุณไม่มีข้อมูลอยู่ในระบบ + Nebyla vybrána fakturační adresa Sie haben keine Rechnungsadresse ausgewählt diff --git a/applications/party/data/PartyPortletData.xml b/applications/party/data/PartyPortletData.xml index b21c7bf03b..360996687d 100644 --- a/applications/party/data/PartyPortletData.xml +++ b/applications/party/data/PartyPortletData.xml @@ -23,8 +23,8 @@ - diff --git a/applications/party/script/org/ofbiz/party/communication/CommunicationEventEvents.xml b/applications/party/script/org/ofbiz/party/communication/CommunicationEventEvents.xml new file mode 100644 index 0000000000..98953d050b --- /dev/null +++ b/applications/party/script/org/ofbiz/party/communication/CommunicationEventEvents.xml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml b/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml index 9070b55084..f752b4ca0e 100644 --- a/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml +++ b/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml @@ -62,7 +62,11 @@ under the License. - + + + + + @@ -74,7 +78,7 @@ under the License. - + @@ -140,24 +144,32 @@ under the License. - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/specialpurpose/myportal/webapp/myportal/WEB-INF/actions/GetMyCommunicationEventRole.groovy b/applications/party/webapp/partymgr/WEB-INF/actions/communication/GetMyCommunicationEventRole.groovy similarity index 92% rename from specialpurpose/myportal/webapp/myportal/WEB-INF/actions/GetMyCommunicationEventRole.groovy rename to applications/party/webapp/partymgr/WEB-INF/actions/communication/GetMyCommunicationEventRole.groovy index 02c3202f6b..4b53478b61 100644 --- a/specialpurpose/myportal/webapp/myportal/WEB-INF/actions/GetMyCommunicationEventRole.groovy +++ b/applications/party/webapp/partymgr/WEB-INF/actions/communication/GetMyCommunicationEventRole.groovy @@ -21,18 +21,18 @@ import org.ofbiz.base.util.*; import org.ofbiz.entity.util.EntityUtil; if (parameters.communicationEventId) { - communicationEventRoles = delegator.findByAnd("CommunicationEventRole", + communicationEventRoles = delegator.findByAnd("CommunicationEventAndRole", ["communicationEventId" : parameters.communicationEventId, "partyId" : userLogin.partyId, "statusId" : "COM_ROLE_READ" ]); if (!communicationEventRoles) { - communicationEventRoles = delegator.findByAnd("CommunicationEventRole", + communicationEventRoles = delegator.findByAnd("CommunicationEventAndRole", ["communicationEventId" : parameters.communicationEventId, "partyId" : userLogin.partyId ]); } if (communicationEventRoles) { - context.communicationEventRole = communicationEventRoles.get(0); + context.myCommunicationEventRole = communicationEventRoles.get(0); } } \ No newline at end of file diff --git a/applications/party/webapp/partymgr/WEB-INF/controller.xml b/applications/party/webapp/partymgr/WEB-INF/controller.xml index 0c6098ad5a..3661134361 100644 --- a/applications/party/webapp/partymgr/WEB-INF/controller.xml +++ b/applications/party/webapp/partymgr/WEB-INF/controller.xml @@ -46,7 +46,7 @@ under the License. - + @@ -684,38 +684,95 @@ under the License. - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + @@ -731,27 +788,20 @@ under the License. - + - - + + - - - - - - - - - + + @@ -771,8 +821,8 @@ under the License. - - + + @@ -793,16 +843,15 @@ under the License. - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/specialpurpose/myportal/webapp/myportal/addAttachFile.ftl b/applications/party/webapp/partymgr/communication/addAttachFile.ftl similarity index 76% rename from specialpurpose/myportal/webapp/myportal/addAttachFile.ftl rename to applications/party/webapp/partymgr/communication/addAttachFile.ftl index 7568b58674..20fa9557c5 100644 --- a/specialpurpose/myportal/webapp/myportal/addAttachFile.ftl +++ b/applications/party/webapp/partymgr/communication/addAttachFile.ftl @@ -1,10 +1,3 @@ -
-
-

${uiLabelMap.MyPageAttachFile}

-
-
- -
${uiLabelMap.MyPageAttachFile}
@@ -17,10 +10,7 @@ - +


-
-
-
diff --git a/specialpurpose/myportal/webapp/myportal/attachFileList.ftl b/applications/party/webapp/partymgr/communication/attachFileList.ftl similarity index 91% rename from specialpurpose/myportal/webapp/myportal/attachFileList.ftl rename to applications/party/webapp/partymgr/communication/attachFileList.ftl index c890405c23..b57bca24a1 100644 --- a/specialpurpose/myportal/webapp/myportal/attachFileList.ftl +++ b/applications/party/webapp/partymgr/communication/attachFileList.ftl @@ -1,8 +1,4 @@
-
-

${uiLabelMap.MyPageAttachFile}

-
-
<#if commEventContent?has_content> <#list commEventContent as commContent> @@ -33,5 +29,4 @@ <#else> ${uiLabelMap.PartyNoContent} - \ No newline at end of file diff --git a/applications/party/widget/Menus.xml b/applications/party/widget/Menus.xml deleted file mode 100644 index 1d3c4fbab4..0000000000 --- a/applications/party/widget/Menus.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/applications/party/widget/partymgr/CommonScreens.xml b/applications/party/widget/partymgr/CommonScreens.xml index 5796e58318..6238a2c4fa 100644 --- a/applications/party/widget/partymgr/CommonScreens.xml +++ b/applications/party/widget/partymgr/CommonScreens.xml @@ -48,7 +48,7 @@ under the License. - + @@ -138,7 +138,7 @@ under the License. - + @@ -171,6 +171,7 @@ under the License.
+