Gutschriften manuell hinzufügen, Yard 0& tax

This commit is contained in:
Kevin Adametz 2021-05-12 15:44:48 +02:00
parent e670b92f5d
commit c02fffd883
24 changed files with 497 additions and 68 deletions

View file

@ -283,7 +283,7 @@ class Product extends Model
}
public function setTaxAttribute( $value ) {
$this->attributes['tax'] = $value ? Util::reFormatNumber($value) : null;
$this->attributes['tax'] = $value != "" ? Util::reFormatNumber($value) : null;
}
public function setPriceOldAttribute( $value ) {