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 '</td><td colspan="5">';
|
||||
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 {
|
||||
print ' ' . $soc->getNomUrl(1, 'compta');
|
||||
print ' ';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user