From e415a3ddf279911383f60dc2511d892c071750c4 Mon Sep 17 00:00:00 2001 From: Bahfir Abbes Date: Mon, 14 Dec 2015 15:01:29 +0100 Subject: [PATCH] Update facture.php fix change customer function in customer invoices - include customers or prospects only --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 9ce11ee5abf..4d3c194bce1 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2837,7 +2837,7 @@ else if ($id > 0 || ! empty($ref)) print ''; print ''; 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 '   ';