|
|
@ -92,6 +92,14 @@ class FinancialRecord extends Model |
|
|
'comment', |
|
|
'comment', |
|
|
'status', |
|
|
'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. |
|
|
* The attributes that should be cast to native types. |
|
|
* |
|
|
* |
|
|
|