- add send CV status

This commit is contained in:
2023-08-04 16:25:09 +02:00
parent 6a033d108c
commit 2a2869e2c6
10 changed files with 104 additions and 11 deletions

View File

@@ -21,6 +21,10 @@ class FullCVResource extends JsonResource
'locations' => $this->locations,
'views' => $this->resource->info()->select('id')->get()->count(),
'registeredViews' => $this->views,
'sended' => [
'status' => $this->sended,
'datetime' => $this->sended_timestamp?->format('d-m-Y H:i:s'),
],
'position' => $this->position,
'mission' => explode(PHP_EOL, $this->mission ?? '', 5),
'rodo' => $this->rodo,