projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config.default.inc error on startup. Fixed by @apmuthu.
[fa-stable.git]
/
reporting
/
rep107.php
diff --git
a/reporting/rep107.php
b/reporting/rep107.php
index 83476d2135de1dce8f249627b8a4abc0cdca4c2c..c28709919bc9198dc4d7e19cffd631b4a6dcce8a 100644
(file)
--- a/
reporting/rep107.php
+++ b/
reporting/rep107.php
@@
-47,7
+47,7
@@
function get_invoice_range($from, $to, $currency=false)
." AND trans.trans_no BETWEEN ".db_escape($from)." AND ".db_escape($to);
if ($currency !== false)
." AND trans.trans_no BETWEEN ".db_escape($from)." AND ".db_escape($to);
if ($currency !== false)
- " AND cust.curr_code=".db_escape($currency);
+
$sql .=
" AND cust.curr_code=".db_escape($currency);
$sql .= " ORDER BY trans.tran_date, trans.$ref";
$sql .= " ORDER BY trans.tran_date, trans.$ref";
@@
-323,7
+323,7
@@
function print_invoices()
$rep->Font();
if ($email == 1)
{
$rep->Font();
if ($email == 1)
{
- $rep->End($email);
+ $rep->End($email
, sprintf(_("Invoice %d from %s"), $myrow['reference'], get_company_pref('coy_name'))
);
}
}
if ($email == 0)
}
}
if ($email == 0)