fixed #53
This commit is contained in:
@ -71,14 +71,14 @@ class Account extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert opening balance to float.
|
||||
* Convert opening balance to double.
|
||||
*
|
||||
* @param string $value
|
||||
* @return void
|
||||
*/
|
||||
public function setOpeningBalanceAttribute($value)
|
||||
{
|
||||
$this->attributes['opening_balance'] = (float) $value;
|
||||
$this->attributes['opening_balance'] = (double) $value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user