This commit is contained in:
Laurent Destailleur
2026-02-17 15:36:58 +01:00
parent 9d0a2c0978
commit b1aefa13d7
2 changed files with 2 additions and 2 deletions

View File

@@ -2318,7 +2318,7 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon = null, $nopr
$out .= '</td>';
// Owner
$out .= '<td class="liste_titre">';
$out .= $form->select_dolusers(($filters['search_filtert'] > 0 ? $filters['search_filtert'] : ''), 'search_filtert', 1, null, (int) !$canedit, '', '', '0', 0, 0, '', 2, '', 'minwidth100 maxwidth250 widthcentpercentminusx');
$out .= $form->select_dolusers(($filters['search_filtert'] > 0 ? $filters['search_filtert'] : ''), 'search_filtert', 1, null, 0, '', '', '0', 0, 0, '', 2, '', 'minwidth100 maxwidth250 widthcentpercentminusx');
$out .= '</td>';
// Type
$out .= '<td class="liste_titre">';

View File

@@ -1507,7 +1507,7 @@ class Societe extends CommonObject
$this->supplier_order_min_amount = price2num($this->supplier_order_min_amount);
$this->tva_assuj = (is_numeric($this->tva_assuj)) ? (int) trim((string) $this->tva_assuj) : 0;
$this->tva_intra = trim($this->tva_intra);
$this->tva_intra = trim((string) $this->tva_intra);
$this->vat_reverse_charge = empty($this->vat_reverse_charge) ? 0 : 1;
if (empty($this->status)) {
$this->status = 0;