Clean code

This commit is contained in:
Laurent Destailleur 2025-12-30 16:21:15 +01:00
parent d500a4a4d9
commit bc7d5d21e3
2 changed files with 2 additions and 1 deletions

View file

@ -1010,6 +1010,7 @@ if ($resql) {
print '</div>';
print '<br>';
print '<!-- Last bank statements -->'."\n";
print $langs->trans("LastAccountStatements").' : ';
foreach ($last_receipts as $num_releve) {

View file

@ -2480,7 +2480,7 @@ if ($action == 'create') {
}
// Ref supplier
print '<tr><td class="fieldrequired">'.$langs->trans('RefSupplierBill').'</td><td><input name="ref_supplier" value="'.(GETPOSTISSET('ref_supplier') ? GETPOST('ref_supplier') : (!empty($objectsrc->ref_supplier) ? $objectsrc->ref_supplier : '')).'" type="text"';
print '<tr><td class="fieldrequired">'.$langs->trans('RefSupplierBill').'</td><td><input name="ref_supplier" value="'.(GETPOSTISSET('ref_supplier') ? GETPOST('ref_supplier') : (!empty($objectsrc->ref_supplier) ? $objectsrc->ref_supplier : '')).'" type="text" spellcheck="false"';
if (!empty($societe->id) && $societe->id > 0) {
print ' autofocus';
}