forked from miguel456/rbrecruiter
Add more missing translation strings
Also fixed broken vacancy editor
This commit is contained in:
parent
5ca155ba42
commit
7e58c3af6b
|
@ -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();
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue