From bda25a4b6101494fa903fbc7923f413d9c6bd4b0 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Tue, 16 Dec 2025 10:13:11 -0700 Subject: [PATCH] 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 +});