Add more missing translation strings

Also fixed broken vacancy editor
This commit is contained in:
Miguel Nogueira 2020-09-03 02:20:15 +01:00
parent 5ca155ba42
commit 7e58c3af6b
2 changed files with 5 additions and 5 deletions

View File

@ -124,11 +124,11 @@ class VacancyController extends Controller
{ {
$this->authorize('update', $vacancy); $this->authorize('update', $vacancy);
$position->vacancyFullDescription = $request->vacancyFullDescription; $vacancy->vacancyFullDescription = $request->vacancyFullDescription;
$position->vacancyDescription = $request->vacancyDescription; $vacancy->vacancyDescription = $request->vacancyDescription;
$position->vacancyCount = $request->vacancyCount; $vacancy->vacancyCount = $request->vacancyCount;
$position->save(); $vacancy->save();
$request->session()->flash('success', 'Vacancy successfully updated.'); $request->session()->flash('success', 'Vacancy successfully updated.');
return redirect()->back(); return redirect()->back();

View File

@ -130,7 +130,7 @@
<div class="card-footer"> <div class="card-footer">
<button type="button" class="btn btn-default mr-2">Back</button> <button type="button" class="btn btn-default mr-2" onclick="window.location.href='{{route('dashboard')}}'">{{__('messages.back')}}</button>
</div> </div>
</div> </div>