Update facture.php
fix change customer function in customer invoices - include customers or prospects only
This commit is contained in:
parent
0ec62c05cc
commit
e415a3ddf2
@ -2837,7 +2837,7 @@ else if ($id > 0 || ! empty($ref))
|
|||||||
print '</tr></table>';
|
print '</tr></table>';
|
||||||
print '</td><td colspan="5">';
|
print '</td><td colspan="5">';
|
||||||
if ($action == 'editthirdparty') {
|
if ($action == 'editthirdparty') {
|
||||||
$form->form_thirdparty($_SERVER['PHP_SELF'] . '?facid=' . $object->id, $object->socid, 'socid');
|
$form->form_thirdparty($_SERVER['PHP_SELF'] . '?facid=' . $object->id, $object->socid, 'socid','client>0');
|
||||||
} else {
|
} else {
|
||||||
print ' ' . $soc->getNomUrl(1, 'compta');
|
print ' ' . $soc->getNomUrl(1, 'compta');
|
||||||
print ' ';
|
print ' ';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user