X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep112.php;h=acfe7394e8d4040dca6642672721681047a05796;hb=aeef2bf17512535dcdc1b37dc41bee9d7e517da5;hp=f04ee1d77f5cd1df851782269101da5492f0504d;hpb=74d962f7a82f2fd9543bf35faaa5026403b98cee;p=fa-stable.git diff --git a/reporting/rep112.php b/reporting/rep112.php index f04ee1d7..acfe7394 100644 --- a/reporting/rep112.php +++ b/reporting/rep112.php @@ -97,8 +97,8 @@ function print_receipts() for ($i = $from; $i <= $to; $i++) { - if ($from == $to) - $types = array($from); + if ($fno[0] == $tno[0]) + $types = array($fno[1]); else $types = array(ST_BANKDEPOSIT, ST_CUSTPAYMENT); foreach ($types as $j)