Merge pull request #8011 from frederic34/patch-1

Update card.php
This commit is contained in:
Laurent Destailleur 2018-01-04 23:57:53 +01:00 committed by GitHub
commit 45ed5c20ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1411,16 +1411,13 @@ if ($action == 'create')
}
print '</tr>' . "\n";
// Contacts (ask contact only if thirdparty already defined). TODO do this also into order and invoice.
if ($socid > 0)
{
// Contacts (ask contact only if thirdparty already defined). TODO do this also into order and invoice.
print "<tr><td>" . $langs->trans("DefaultContact") . '</td><td>';
$form->select_contacts($soc->id, $contactid, 'contactid', 1, $srccontactslist);
print '</td></tr>';
}
if ($socid > 0)
{
// Ligne info remises tiers
print '<tr><td>' . $langs->trans('Discounts') . '</td><td>';
if ($soc->remise_percent)