close #412 Fixed: Invoice add payment problem

This commit is contained in:
cuneytsenturk
2018-07-10 18:30:03 +03:00
parent 7641d7e315
commit 6405aafef9
13 changed files with 64 additions and 16 deletions

View File

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