projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow reuse of references previously used on voided documents.
[fa-stable.git]
/
reporting
/
rep107.php
diff --git
a/reporting/rep107.php
b/reporting/rep107.php
index 275498c9d184b06f92baf88756132f7d74f2cecc..11af3b832f90f83c7826ca50812cfc9a87761314 100644
(file)
--- a/
reporting/rep107.php
+++ b/
reporting/rep107.php
@@
-109,7
+109,8
@@
function print_invoices()
}
else
$rep->title = ($j == ST_SALESINVOICE) ? _('INVOICE') : _('CREDIT NOTE');
}
else
$rep->title = ($j == ST_SALESINVOICE) ? _('INVOICE') : _('CREDIT NOTE');
- $rep->SetCommonData($myrow, $branch, $sales_order, $baccount, $j);
+ $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no']);
+ $rep->SetCommonData($myrow, $branch, $sales_order, $baccount, $j, $contacts);
$rep->NewPage();
$result = get_customer_trans_details($j, $i);
$rep->NewPage();
$result = get_customer_trans_details($j, $i);