Skip to content

Commit

Permalink
Fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 13, 2024
1 parent 6065b60 commit 16fcb19
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions htdocs/asset/class/asset.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,12 +355,12 @@ public function fetch($id, $ref = null)
if ($res < 0) {
return -1;
} elseif ($res > 0) {
$this->fields['date_acquisition']['noteditable'] = '1';
$this->fields['date_start']['noteditable'] = '1';
$this->fields['acquisition_value_ht']['noteditable'] = '1';
$this->fields['recovered_vat']['noteditable'] = '1';
$this->fields['reversal_date']['noteditable'] = '1';
$this->fields['reversal_amount_ht']['noteditable'] = '1';
$this->fields['date_acquisition']['noteditable'] = 1;
$this->fields['date_start']['noteditable'] = 1;
$this->fields['acquisition_value_ht']['noteditable'] = 1;
$this->fields['recovered_vat']['noteditable'] = 1;
$this->fields['reversal_date']['noteditable'] = 1;
$this->fields['reversal_amount_ht']['noteditable'] = 1;
}
}
return $result;
Expand Down

0 comments on commit 16fcb19

Please sign in to comment.