Restore data into bannner of thirdparty to have content matching other

tabs.
This commit is contained in:
Laurent Destailleur 2015-02-20 23:29:55 +01:00
parent 9ac38dee45
commit 6952f33309

View File

@ -94,6 +94,15 @@ if ($socid > 0)
print '</td></tr>'; print '</td></tr>';
} }
if ($societe->fournisseur)
{
print '<tr><td>';
print $langs->trans('SupplierCode').'</td><td colspan="3">';
print $societe->code_fournisseur;
if ($societe->check_codefournisseur() <> 0) print ' <font class="error">('.$langs->trans("WrongSupplierCode").')</font>';
print '</td></tr>';
}
// Total Margin // Total Margin
print '<tr><td>'.$langs->trans("TotalMargin").'</td><td colspan="3">'; print '<tr><td>'.$langs->trans("TotalMargin").'</td><td colspan="3">';
print '<span id="totalMargin"></span>'; // set by jquery (see below) print '<span id="totalMargin"></span>'; // set by jquery (see below)