projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sales invoice voiding is blocked when sales credit was issued against the invoice.
[fa-stable.git]
/
reporting
/
rep112.php
diff --git
a/reporting/rep112.php
b/reporting/rep112.php
index ee1a0e1f2dddad639450952d4b18f6df664b77b3..6cb3148fa292df4ba18e43afb0dcf8b7ca5c639a 100644
(file)
--- a/
reporting/rep112.php
+++ b/
reporting/rep112.php
@@
-98,6
+98,9
@@
function print_receipts()
$myrow = get_receipt($j, $i);
if (!$myrow)
continue;
$myrow = get_receipt($j, $i);
if (!$myrow)
continue;
+ if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) {
+ continue;
+ }
$res = get_bank_trans($j, $i);
$baccount = db_fetch($res);
$params['bankaccount'] = $baccount['bank_act'];
$res = get_bank_trans($j, $i);
$baccount = db_fetch($res);
$params['bankaccount'] = $baccount['bank_act'];