mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -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)
|
||||
{
|
||||
if (is_null($this->amount_encrypted)) {
|
||||
return $value;
|
||||
}
|
||||
$value = floatval(Crypt::decrypt($this->amount_encrypted));
|
||||
|
||||
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