projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0001606: Statement are not sent to general contact
[fa-stable.git]
/
reporting
/
includes
/
reporting.inc
diff --git
a/reporting/includes/reporting.inc
b/reporting/includes/reporting.inc
index 9491c0c04b799b85bf6aa95f22e2a43e0f74ac3d..8dc119f6629dbd1cb924bf5aec88a44264511c8e 100644
(file)
--- a/
reporting/includes/reporting.inc
+++ b/
reporting/includes/reporting.inc
@@
-56,7
+56,7
@@
function print_document_link($doc_no, $link_text, $link=true, $type_no,
break;
case ST_SALESINVOICE : // Sales Invoice
case ST_CUSTCREDIT : // Customer Credit Note
break;
case ST_SALESINVOICE : // Sales Invoice
case ST_CUSTCREDIT : // Customer Credit Note
- $rep = 107;
+ $rep =
$type_no==ST_CUSTCREDIT ? 113 :
107;
// from, to, currency, bank acc, email, paylink, comments, type
$ar = array(
'PARAM_0' => $doc_no,
// from, to, currency, bank acc, email, paylink, comments, type
$ar = array(
'PARAM_0' => $doc_no,