This commit is contained in:
cuneytsenturk
2018-08-06 23:16:18 +03:00
parent b04e6d1ce5
commit bfdd3b21dc
12 changed files with 158 additions and 15 deletions

View File

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