projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0000290] Can't upload files
[fa-stable.git]
/
reporting
/
rep107.php
diff --git
a/reporting/rep107.php
b/reporting/rep107.php
index 78a59495f1766e6d8818844e78914cb9f026e917..1f081ee2204be4cbf17923a039d7a069750b0b10 100644
(file)
--- a/
reporting/rep107.php
+++ b/
reporting/rep107.php
@@
-109,7
+109,7
@@
function print_invoices()
}
else
$rep->title = ($j == ST_SALESINVOICE) ? _('INVOICE') : _('CREDIT NOTE');
}
else
$rep->title = ($j == ST_SALESINVOICE) ? _('INVOICE') : _('CREDIT NOTE');
- $contacts = get_branch_contacts($branch['branch_code'], '
order
', $branch['debtor_no']);
+ $contacts = get_branch_contacts($branch['branch_code'], '
invoice
', $branch['debtor_no']);
$rep->SetCommonData($myrow, $branch, $sales_order, $baccount, $j, $contacts);
$rep->NewPage();
$rep->SetCommonData($myrow, $branch, $sales_order, $baccount, $j, $contacts);
$rep->NewPage();
@@
-219,11
+219,6
@@
function print_invoices()
if ($email == 1)
{
$myrow['dimension_id'] = $paylink; // helper for pmt link
if ($email == 1)
{
$myrow['dimension_id'] = $paylink; // helper for pmt link
- if ($myrow['email'] == '')
- {
- $myrow['email'] = $branch['email'];
- $myrow['DebtorName'] = $branch['br_name'];
- }
$rep->End($email, $doc_Invoice_no . " " . $myrow['reference'], $myrow, $j);
}
}
$rep->End($email, $doc_Invoice_no . " " . $myrow['reference'], $myrow, $j);
}
}