Save but don't use.

This commit is contained in:
James Cole 2015-05-23 17:18:23 +02:00
parent 601fe68346
commit 80d845fdf2

View File

@ -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;
}
/**