OSCAR build date:
OSCAR build tag:
Client browser:
Client OS: Win 7 or Mac OS
Preconditions:
- 12.1.1 installed
Steps to reproduce:
- Under Admin->Billing Reconcilliation->Summary, when you create a report it does not calculate Total OB Pay and totals are misaligned at the bottom as well.
Expected Result: OB pay and alignment
Observed:Does not calculate OB pay
Other details: code changed attached
Changed the code at the following lines in this file:
/var/lib/tomcat6/webapps/oscar/billing/CA/ON/onGenRASummary.js
Line 391
Total:
Line 628
<script language="javascript" type="text/javascript">
document.getElementById('loadingMsg').style.display='none';
var totRowIndex = tf_Tag(tf_Id('ra_table'),"tr").length;
var table_Props = {
col_0: "none",
col_1: "none",
col_2: "none",
col_3: "none",
col_4: "none",
col_5: "none",
col_6: "none",
col_7: "none",
col_8: "none",
col_9: "none",
col_10: "none",
col_11: "none",
col_12: "select",
display_all_text: " [ Show all clinics ] ",
flts_row_css_class: "dummy",
flt_css_class: "positionFilter",
sort_select: true,
rows_always_visible: [totRowIndex],
col_operation: {
id: ["amountSubmit","amountPay","clinicPay","hospitalPay","OBPay"],
col: [7,8,9,10,11],
operation: ["sum","sum","sum","sum","sum"],
write_method: ["innerHTML","innerHTML","innerHTML","innerHTML","innerHTML"],
exclude_row: [totRowIndex],
decimal_precision: [2,2,2,2,2],
tot_row_index: [totRowIndex]
}
};
var tf = setFilterGrid( "ra_table",table_Props );
</script>
code file attached.
12_1 commit:
https://source.oscartools.org:8080/#/c/10274/
Issue has been resolved (re-tested R12.1 build# 404)
Fixed on Master as well: https://source.oscartools.org:8080/#/c/10311/ and related to the bug [#3168]
Related
Bugs:
#3168