Clean code
This commit is contained in:
parent
d500a4a4d9
commit
bc7d5d21e3
2 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue