Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Daily Bank Transactions - Matched/Unmatched Ignored?
12-11-2018, 03:49 AM,
#1
Daily Bank Transactions - Matched/Unmatched Ignored?
DailyBankTransactions.php

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

It appears name="ShowType" is not used anywhere in the script?
https://www.linkedin.com/in/eclipsepaulbecker
Reply
12-14-2018, 07:39 PM,
#2
RE: Daily Bank Transactions - Matched/Unmatched Ignored?
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
Reply
12-14-2018, 08:37 PM,
#3
RE: Daily Bank Transactions - Matched/Unmatched Ignored?
Sorry about ambiguity. This is the piece that does not work:

   
https://www.linkedin.com/in/eclipsepaulbecker
Reply
12-14-2018, 09:08 PM,
#4
RE: Daily Bank Transactions - Matched/Unmatched Ignored?
(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:
   
Selecting All shows
   
Selecting Matched shows:
   
Selecting Unmatched shows:
   

Tim
Reply
12-14-2018, 10:56 PM,
#5
RE: Daily Bank Transactions - Matched/Unmatched Ignored?
I am using GIT version so I will have another look in just a bit.

Thank you for verifying all works on your end...
https://www.linkedin.com/in/eclipsepaulbecker
Reply
12-14-2018, 11:03 PM,
#6
RE: Daily Bank Transactions - Matched/Unmatched Ignored?
Using 4.15 and it works for me too.
Reply
12-15-2018, 03:39 AM,
#7
RE: Daily Bank Transactions - Matched/Unmatched Ignored?
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.
https://www.linkedin.com/in/eclipsepaulbecker
Reply
12-15-2018, 11:53 PM, (This post was last modified: 12-15-2018, 11:55 PM by VortecCPI.)
#8
RE: Daily Bank Transactions - Matched/Unmatched Ignored?
I don't care much for the "Yes" / "No" so I changed ours to look like this:

   

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 != '')) { 
https://www.linkedin.com/in/eclipsepaulbecker
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)