Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bank Reconciliation repeats the bank
02-24-2023, 07:20 PM,
#1
Bank Reconciliation repeats the bank
Hello,

I upgraded to the newer version of ERP .15.2,

when I go to Bank Reconciliation BankReconciliation.php it repeats the banks, Either it appends the repeated Iteam with - (USD) or - (UGX).

please check  the attachment.
Reply
02-25-2023, 07:09 PM, (This post was last modified: 02-25-2023, 07:10 PM by wissedenis22.)
#2
RE: Bank Reconciliation repeats the bank
ok this is how i solved this. the 15.2 under BankReconciliation.php

i commented out line 127-130


PHP Code:
// Lists bank accounts order by name
/*echo '<option',
((isset($_POST['BankAccount']) and $_POST['BankAccount'] == $MyRow['accountcode']) ? ' selected="selected"' : '' ),
' value="', $MyRow['accountcode'], '">', $MyRow['bankaccountname'], ' - ', $MyRow['currcode'], '</option>';*/ 

I compared the previous version, in the end i left only this


PHP Code:
if (isset($_POST['BankAccount']) and $_POST['BankAccount']==$MyRow['accountcode']) {
echo 
'<option selected="selected" value="' $MyRow['accountcode'] . '">' $MyRow['bankaccountname'] . '</option>';
} else {
echo 
'<option value="' $MyRow['accountcode'] . '">' $MyRow['bankaccountname'] . '</option>';


someone explain why they included it, cos it was doubling the the bank accounts
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)