[reconciliation refactor] added hover messages to match statement buttons
authorVíctor Martínez Romanos <victor.martinez@openbravo.com>
Tue, 26 Aug 2014 13:44:13 +0200
changeset 24588 dd160dbcf6ae
parent 24587 5c5673b35da0
child 24589 396d0ebbffd5
[reconciliation refactor] added hover messages to match statement buttons
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-matchStatement.js
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml	Tue Aug 26 13:11:43 2014 +0200
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml	Tue Aug 26 13:44:13 2014 +0200
@@ -72,6 +72,18 @@
 <!--0BBA71AF0C1F4E069A811E7CFC80FEAD-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--0BBA71AF0C1F4E069A811E7CFC80FEAD--></AD_MESSAGE>
 
+<!--0F5C45033AF44833B04850F27B93923B--><AD_MESSAGE>
+<!--0F5C45033AF44833B04850F27B93923B-->  <AD_MESSAGE_ID><![CDATA[0F5C45033AF44833B04850F27B93923B]]></AD_MESSAGE_ID>
+<!--0F5C45033AF44833B04850F27B93923B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--0F5C45033AF44833B04850F27B93923B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--0F5C45033AF44833B04850F27B93923B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--0F5C45033AF44833B04850F27B93923B-->  <VALUE><![CDATA[APRM_MATCHTRANSACTION_ADD_BUTTON]]></VALUE>
+<!--0F5C45033AF44833B04850F27B93923B-->  <MSGTEXT><![CDATA[Add new transaction]]></MSGTEXT>
+<!--0F5C45033AF44833B04850F27B93923B-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--0F5C45033AF44833B04850F27B93923B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--0F5C45033AF44833B04850F27B93923B-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--0F5C45033AF44833B04850F27B93923B--></AD_MESSAGE>
+
 <!--12A17D39C7664BDE8B1A0F079D44591E--><AD_MESSAGE>
 <!--12A17D39C7664BDE8B1A0F079D44591E-->  <AD_MESSAGE_ID><![CDATA[12A17D39C7664BDE8B1A0F079D44591E]]></AD_MESSAGE_ID>
 <!--12A17D39C7664BDE8B1A0F079D44591E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -733,6 +745,18 @@
 <!--8A4E2745545245ED81BFBC5324648833-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--8A4E2745545245ED81BFBC5324648833--></AD_MESSAGE>
 
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C--><AD_MESSAGE>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <AD_MESSAGE_ID><![CDATA[8A60F6B0EA4844F4BFC8B8DEDBCB418C]]></AD_MESSAGE_ID>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <VALUE><![CDATA[APRM_MATCHTRANSACTION_SEARCH_BUTTON]]></VALUE>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <MSGTEXT><![CDATA[Match to a not cleared transaction]]></MSGTEXT>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--8A60F6B0EA4844F4BFC8B8DEDBCB418C--></AD_MESSAGE>
+
 <!--8E01FDCFBE034863898A47F1AE37BB15--><AD_MESSAGE>
 <!--8E01FDCFBE034863898A47F1AE37BB15-->  <AD_MESSAGE_ID><![CDATA[8E01FDCFBE034863898A47F1AE37BB15]]></AD_MESSAGE_ID>
 <!--8E01FDCFBE034863898A47F1AE37BB15-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -841,6 +865,18 @@
 <!--962525CB12714F8EA3C06FAD8A3FAB4A-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--962525CB12714F8EA3C06FAD8A3FAB4A--></AD_MESSAGE>
 
+<!--98D98BDB439647EBA0F5D680CDC414F3--><AD_MESSAGE>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <AD_MESSAGE_ID><![CDATA[98D98BDB439647EBA0F5D680CDC414F3]]></AD_MESSAGE_ID>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <VALUE><![CDATA[APRM_MATCHTRANSACTION_DELETE_BUTTON]]></VALUE>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <MSGTEXT><![CDATA[Unmatch current transaction]]></MSGTEXT>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--98D98BDB439647EBA0F5D680CDC414F3-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--98D98BDB439647EBA0F5D680CDC414F3--></AD_MESSAGE>
+
 <!--9B5F3BE69BD34E33970599D3B352F120--><AD_MESSAGE>
 <!--9B5F3BE69BD34E33970599D3B352F120-->  <AD_MESSAGE_ID><![CDATA[9B5F3BE69BD34E33970599D3B352F120]]></AD_MESSAGE_ID>
 <!--9B5F3BE69BD34E33970599D3B352F120-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-matchStatement.js	Tue Aug 26 13:11:43 2014 +0200
+++ b/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-matchStatement.js	Tue Aug 26 13:44:13 2014 +0200
@@ -75,8 +75,8 @@
 
     searchButton = isc.OBGridToolStripIcon.create({
       buttonType: 'search',
-      originalPrompt: OB.I18N.getLabel('OBUIAPP_GridEditButtonPrompt'),
-      prompt: OB.I18N.getLabel('OBUIAPP_GridEditButtonPrompt'),
+      originalPrompt: OB.I18N.getLabel('APRM_MATCHTRANSACTION_SEARCH_BUTTON'),
+      prompt: OB.I18N.getLabel('APRM_MATCHTRANSACTION_SEARCH_BUTTON'),
       action: function () {
         var processId = '154CB4F9274A479CB38A285E16984539',
             grid = me.grid,
@@ -101,15 +101,14 @@
 
     addButton = isc.OBGridToolStripIcon.create({
       buttonType: 'add',
-      originalPrompt: OB.I18N.getLabel('OBUIAPP_GridEditButtonPrompt'),
-      prompt: OB.I18N.getLabel('OBUIAPP_GridEditButtonPrompt'),
+      originalPrompt: OB.I18N.getLabel('APRM_MATCHTRANSACTION_ADD_BUTTON'),
+      prompt: OB.I18N.getLabel('APRM_MATCHTRANSACTION_ADD_BUTTON'),
       action: function () {
         var processId = 'E68790A7B65F4D45AB35E2BAE34C1F39',
             grid = me.grid,
             record = me.record,
             standardWindow = grid.view.parentWindow.view.standardWindow;
 
-        //TODO: Apply the proper created process
         var process = standardWindow.buildProcess({
           callerField: me,
           paramWindow: true,
@@ -127,8 +126,8 @@
 
     clearButton = isc.OBGridToolStripIcon.create({
       buttonType: 'clearRight',
-      originalPrompt: OB.I18N.getLabel('OBUIAPP_GridEditButtonPrompt'),
-      prompt: OB.I18N.getLabel('OBUIAPP_GridEditButtonPrompt'),
+      originalPrompt: OB.I18N.getLabel('APRM_MATCHTRANSACTION_DELETE_BUTTON'),
+      prompt: OB.I18N.getLabel('APRM_MATCHTRANSACTION_DELETE_BUTTON'),
       action: function () {
         var callback, bankStatementLineId = me.record.id,
             view = me.grid.view;