From bda25a4b6101494fa903fbc7923f413d9c6bd4b0 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Tue, 16 Dec 2025 10:13:11 -0700 Subject: [PATCH 1/3] Update from Original Fix by Raymond for Source display in invoiced Items --- .../onprc_billing/miscCharges/.qview.xml | 78 +++++++++++++------ .../resources/schemas/onprc_billing.xml | 9 ++- .../window/ReverseChargeWindow.js | 22 +++--- 3 files changed, 69 insertions(+), 40 deletions(-) diff --git a/onprc_billing/resources/queries/onprc_billing/miscCharges/.qview.xml b/onprc_billing/resources/queries/onprc_billing/miscCharges/.qview.xml index e7b28cb59..716dbf1d6 100644 --- a/onprc_billing/resources/queries/onprc_billing/miscCharges/.qview.xml +++ b/onprc_billing/resources/queries/onprc_billing/miscCharges/.qview.xml @@ -1,25 +1,53 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + study + Animal + Id + + + + + core + qcstate + rowid + + + + Charge Unit + + onprc_billing_public + chargeUnits + chargetype + + + + + Source Transaction + false + + /ONPRC/Admin/Finance + onprc_billing + invoicedItems + objectid + transactionNumber + + + + + onprc_billing + miscChargesType + category + + + + +
+
+
+
diff --git a/onprc_billing/resources/schemas/onprc_billing.xml b/onprc_billing/resources/schemas/onprc_billing.xml index 2bb09f73b..5b9a0badb 100644 --- a/onprc_billing/resources/schemas/onprc_billing.xml +++ b/onprc_billing/resources/schemas/onprc_billing.xml @@ -419,10 +419,11 @@ Source Transaction true + /ONPRC/Admin/Finance onprc_billing invoicedItems objectid - rowid + transactionNumber @@ -1152,11 +1153,11 @@ OGA Grant Number - + Agency Award Number - + Investigator @@ -1641,4 +1642,4 @@ - \ No newline at end of file + diff --git a/onprc_billing/resources/web/onprc_billing/window/ReverseChargeWindow.js b/onprc_billing/resources/web/onprc_billing/window/ReverseChargeWindow.js index fb7058865..289bdf417 100644 --- a/onprc_billing/resources/web/onprc_billing/window/ReverseChargeWindow.js +++ b/onprc_billing/resources/web/onprc_billing/window/ReverseChargeWindow.js @@ -49,7 +49,7 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { }, items: [{ html: 'This helper allows you to make adjustments and reversals. Once you select the type of adjustment, look below to see an explanation of the items it will create.

' + - 'NOTE: You have selected ' + this.checked.length + ' items to be reversed or adjusted. These are based on the rows you checked on the previous grid.', + 'NOTE: You have selected ' + this.checked.length + ' items to be reversed or adjusted. These are based on the rows you checked on the previous grid.', style: 'padding-bottom: 10px;' },{ xtype: 'radiogroup', @@ -192,13 +192,13 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { items.push({ html: 'This will reverse the original charges and create adjustments based on your selections below. ' + - '', + '', style: 'padding-bottom: 10px;' },{ xtype: 'datefield', @@ -429,7 +429,7 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { } //added as part of Finance 11380 update by Gary //this issues is causing error - if (this.down('#doChangedebitAlias').getValue() && !this.down('#newDebitAliasField').getValue()){ + if (this.down('#doChangedebitAlias').getValue() && !this.down('#newDebitAliasField').getValue()){ Ext4.Msg.alert('Error', 'You have checked that you want to alter the debit alias, but did not supply the new alias. Either enter an alias or uncheck the field'); return; } @@ -491,7 +491,7 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { toApply.debitedaccount = Ext4.String.trim(toApply.debitedaccount); } } - //Added by Gary as part of 11380 update + //Added by Gary as part of 11380 update if (this.down('#doChangedebitAlias').getValue()){ toApply.debitedaccount = this.down('#newDebitAliasField').getValue(); if (toApply.debitedaccount){ @@ -681,4 +681,4 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { } }); } -}); \ No newline at end of file +}); From cfeb889c132ea382a20eab337809a9a914645dd3 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Mon, 12 Jan 2026 13:16:46 -0700 Subject: [PATCH 2/3] Update to Allow Reversal to show transaction number in window instead of Object ID --- .../onprc_billing/miscCharges.query.xml | 15 ++++++++++++-- .../resources/schemas/onprc_billing.xml | 2 +- .../window/ReverseChargeWindow.js | 20 +++++++++---------- 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/onprc_billing/resources/queries/onprc_billing/miscCharges.query.xml b/onprc_billing/resources/queries/onprc_billing/miscCharges.query.xml index 7b284cbb5..716dbf1d6 100644 --- a/onprc_billing/resources/queries/onprc_billing/miscCharges.query.xml +++ b/onprc_billing/resources/queries/onprc_billing/miscCharges.query.xml @@ -16,7 +16,7 @@ core qcstate rowid - +
Charge Unit @@ -27,6 +27,17 @@ + + Source Transaction + false + + /ONPRC/Admin/Finance + onprc_billing + invoicedItems + objectid + transactionNumber + + onprc_billing @@ -39,4 +50,4 @@ - \ No newline at end of file + diff --git a/onprc_billing/resources/schemas/onprc_billing.xml b/onprc_billing/resources/schemas/onprc_billing.xml index 5b9a0badb..596aba084 100644 --- a/onprc_billing/resources/schemas/onprc_billing.xml +++ b/onprc_billing/resources/schemas/onprc_billing.xml @@ -423,7 +423,7 @@ onprc_billing invoicedItems objectid - transactionNumber + transactionNumber diff --git a/onprc_billing/resources/web/onprc_billing/window/ReverseChargeWindow.js b/onprc_billing/resources/web/onprc_billing/window/ReverseChargeWindow.js index 289bdf417..5691d0a26 100644 --- a/onprc_billing/resources/web/onprc_billing/window/ReverseChargeWindow.js +++ b/onprc_billing/resources/web/onprc_billing/window/ReverseChargeWindow.js @@ -49,7 +49,7 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { }, items: [{ html: 'This helper allows you to make adjustments and reversals. Once you select the type of adjustment, look below to see an explanation of the items it will create.

' + - 'NOTE: You have selected ' + this.checked.length + ' items to be reversed or adjusted. These are based on the rows you checked on the previous grid.', + 'NOTE: You have selected ' + this.checked.length + ' items to be reversed or adjusted. These are based on the rows you checked on the previous grid.', style: 'padding-bottom: 10px;' },{ xtype: 'radiogroup', @@ -192,13 +192,13 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { items.push({ html: 'This will reverse the original charges and create adjustments based on your selections below. ' + - '', + '', style: 'padding-bottom: 10px;' },{ xtype: 'datefield', @@ -429,7 +429,7 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { } //added as part of Finance 11380 update by Gary //this issues is causing error - if (this.down('#doChangedebitAlias').getValue() && !this.down('#newDebitAliasField').getValue()){ + if (this.down('#doChangedebitAlias').getValue() && !this.down('#newDebitAliasField').getValue()){ Ext4.Msg.alert('Error', 'You have checked that you want to alter the debit alias, but did not supply the new alias. Either enter an alias or uncheck the field'); return; } @@ -491,7 +491,7 @@ Ext4.define('ONPRC_Billing.window.ReverseChargeWindow', { toApply.debitedaccount = Ext4.String.trim(toApply.debitedaccount); } } - //Added by Gary as part of 11380 update + //Added by Gary as part of 11380 update if (this.down('#doChangedebitAlias').getValue()){ toApply.debitedaccount = this.down('#newDebitAliasField').getValue(); if (toApply.debitedaccount){ From 0fa5c17967b1bb0eeb014449c30ea168c2189e14 Mon Sep 17 00:00:00 2001 From: Brent Logan Date: Tue, 13 Jan 2026 09:56:46 -0800 Subject: [PATCH 3/3] Restore .qview.xml to original version --- .../onprc_billing/miscCharges.query.xml | 2 +- .../onprc_billing/miscCharges/.qview.xml | 78 ++++++------------- 2 files changed, 26 insertions(+), 54 deletions(-) diff --git a/onprc_billing/resources/queries/onprc_billing/miscCharges.query.xml b/onprc_billing/resources/queries/onprc_billing/miscCharges.query.xml index 716dbf1d6..09f09c99f 100644 --- a/onprc_billing/resources/queries/onprc_billing/miscCharges.query.xml +++ b/onprc_billing/resources/queries/onprc_billing/miscCharges.query.xml @@ -50,4 +50,4 @@ - + \ No newline at end of file diff --git a/onprc_billing/resources/queries/onprc_billing/miscCharges/.qview.xml b/onprc_billing/resources/queries/onprc_billing/miscCharges/.qview.xml index 716dbf1d6..e7b28cb59 100644 --- a/onprc_billing/resources/queries/onprc_billing/miscCharges/.qview.xml +++ b/onprc_billing/resources/queries/onprc_billing/miscCharges/.qview.xml @@ -1,53 +1,25 @@ - - - - - - - - - study - Animal - Id - - - - - core - qcstate - rowid - - - - Charge Unit - - onprc_billing_public - chargeUnits - chargetype - - - - - Source Transaction - false - - /ONPRC/Admin/Finance - onprc_billing - invoicedItems - objectid - transactionNumber - - - - - onprc_billing - miscChargesType - category - - - - -
-
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file