FIX : only active customer should be available into select list

thirdparty on invoice creation
This commit is contained in:
Florian HENRY 2015-11-06 10:19:10 +01:00
parent 63d447d1a7
commit 126b5d6eca

View File

@ -1957,7 +1957,7 @@ if ($action == 'create')
else
{
print '<td colspan="2">';
print $form->select_company('', 'socid', 's.client = 1 OR s.client = 3', 1);
print $form->select_company('', 'socid', '(s.client = 1 OR s.client = 3) AND status=1', 1);
print '</td>';
}
print '</tr>' . "\n";