webERP Forum
Daily Bank Transactions - Matched/Unmatched Ignored? - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Daily Bank Transactions - Matched/Unmatched Ignored? (/showthread.php?tid=8293)



Daily Bank Transactions - Matched/Unmatched Ignored? - VortecCPI - 12-11-2018

DailyBankTransactions.php

Selecting "Matched" or "Unmatched" yields nothing in the results list.

It appears name="ShowType" is not used anywhere in the script?


RE: Daily Bank Transactions - Matched/Unmatched Ignored? - TimSchofield - 12-14-2018

This seems to work fine for me. Do you still get this issue on the Git branch?

All I can imagine, is that the script decides whether a transaction is matched with the following:

$MyRow['amount'] == $MyRow['amountcleared']

and maybe there are fractions getting in the way. Try:

round($MyRow['amount'], 2) == round($MyRow['amountcleared'], 2)

and see if the problem persists.

Tim


RE: Daily Bank Transactions - Matched/Unmatched Ignored? - VortecCPI - 12-14-2018

Sorry about ambiguity. This is the piece that does not work:

[attachment=941]


RE: Daily Bank Transactions - Matched/Unmatched Ignored? - TimSchofield - 12-14-2018

(12-14-2018, 08:37 PM)VortecCPI Wrote: Sorry about ambiguity. This is the piece that does not work:

It seems to work fine for me Paul.

The selection screen shows:
[attachment=945]
Selecting All shows
[attachment=942]
Selecting Matched shows:
[attachment=943]
Selecting Unmatched shows:
[attachment=944]

Tim


RE: Daily Bank Transactions - Matched/Unmatched Ignored? - VortecCPI - 12-14-2018

I am using GIT version so I will have another look in just a bit.

Thank you for verifying all works on your end...


RE: Daily Bank Transactions - Matched/Unmatched Ignored? - alanmi3833 - 12-14-2018

Using 4.15 and it works for me too.


RE: Daily Bank Transactions - Matched/Unmatched Ignored? - VortecCPI - 12-15-2018

Sorry guys... This was a 4.14.1 issue.

I thought I was in the GIT version but I was in our old 4.14.1 version.


RE: Daily Bank Transactions - Matched/Unmatched Ignored? - VortecCPI - 12-15-2018

I don't care much for the "Yes" / "No" so I changed ours to look like this:

[attachment=951]

I only want to see an indicator for Cleared/Matched lines -- I find indicators on each line a bit confusing.

PHP Code:
            if ($myrow['amount']==$myrow['amountcleared']) {
                
$Matched='&#10004';    //_('Yes');
            
} else {
                
$Matched='';            //_('No');
            
}

            if (
$_POST['ShowType'] == 'All' or ($_POST['ShowType'] == 'Unmatched' and $Matched == '') or ($_POST['ShowType'] == 'Matched' and $Matched != '')) {