@ -92,6 +92,14 @@ class FinancialRecord extends Model
'comment',
'status',
];
protected $appends = [
'created_at_text',
public function getCreatedAtTextAttribute()
{
return date('Y-m-d H:i:s', $this->attributes['created_at']);
}
/**
* The attributes that should be cast to native types.
*