date format valiodaiton

This commit is contained in:
merdan 2022-09-14 16:45:51 +05:00
parent cad580d854
commit 8cb99fedc7
2 changed files with 4 additions and 2 deletions

View File

@ -103,7 +103,9 @@ public function create()
*/
public function get()
{
$appication = $this->account->aplications()->latest()
$appication = $this->account
->applications()
->latest()
->with('attachments')
->first();

View File

@ -30,7 +30,7 @@ class Documentgroup extends Model
];
// protected $hidden = [];
// protected $dates = [];
protected $translatable = ['name', 'description', 'type'];
protected $translatable = ['name', 'description'];
/*
|--------------------------------------------------------------------------