refs #434 money bill, invoice, revenue and payment fixed

This commit is contained in:
cuneytsenturk
2018-08-07 12:30:21 +03:00
parent b355cc17c9
commit 9d8029893f
12 changed files with 65 additions and 147 deletions

View File

@ -39,7 +39,7 @@ class BillTotal extends Model
*/
public function setAmountAttribute($value)
{
$this->attributes['amount'] = (double) money($value, $this->bill->currency_code)->getAmount();
$this->attributes['amount'] = (double) $value;
}
/**