MwSt
This commit is contained in:
parent
9ed251820e
commit
da08e9ff37
13 changed files with 378 additions and 56 deletions
|
|
@ -263,7 +263,7 @@ class Product extends Model
|
|||
|
||||
public function getFormattedTax()
|
||||
{
|
||||
return isset($this->attributes['tax']) ? Util::formatNumber($this->attributes['tax']) : "";
|
||||
return isset($this->attributes['tax']) ? Util::formatNumber($this->attributes['tax'], 0) : "";
|
||||
}
|
||||
|
||||
public function getFormattedPriceOld()
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ class ShoppingOrder extends Model
|
|||
'total',
|
||||
'shipping',
|
||||
'subtotal',
|
||||
'tax_rate',
|
||||
//'tax_rate',
|
||||
'tax',
|
||||
'total_shipping',
|
||||
'weight',
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ class ShoppingOrderItem extends Model
|
|||
'product_id',
|
||||
'qty',
|
||||
'price',
|
||||
'tax_rate',
|
||||
'slug',
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue