mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Updated various files for #506
This commit is contained in:
@@ -35,7 +35,7 @@ class PiggyBank extends Model
|
||||
* @var array
|
||||
*/
|
||||
protected $casts
|
||||
= [
|
||||
= [
|
||||
'created_at' => 'date',
|
||||
'updated_at' => 'date',
|
||||
'deleted_at' => 'date',
|
||||
@@ -168,6 +168,6 @@ class PiggyBank extends Model
|
||||
*/
|
||||
public function setTargetamountAttribute($value)
|
||||
{
|
||||
$this->attributes['targetamount'] = strval(round($value, 2));
|
||||
$this->attributes['targetamount'] = strval(round($value, 12));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user