mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Save but don't use.
This commit is contained in:
parent
601fe68346
commit
80d845fdf2
@ -42,12 +42,13 @@ class Transaction extends Model
|
|||||||
*/
|
*/
|
||||||
public function getAmountAttribute($value)
|
public function getAmountAttribute($value)
|
||||||
{
|
{
|
||||||
if (is_null($this->amount_encrypted)) {
|
|
||||||
return $value;
|
|
||||||
}
|
|
||||||
$value = floatval(Crypt::decrypt($this->amount_encrypted));
|
|
||||||
|
|
||||||
return $value;
|
return $value;
|
||||||
|
// if (is_null($this->amount_encrypted)) {
|
||||||
|
// return $value;
|
||||||
|
// }
|
||||||
|
// $value = floatval(Crypt::decrypt($this->amount_encrypted));
|
||||||
|
//
|
||||||
|
// return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user