Fix typos and missing lang
This commit is contained in:
parent
8179611cac
commit
17cece598b
@ -98,7 +98,7 @@ class FlightController extends Controller
|
|||||||
$saved_flights = $flights->pluck('id')->toArray();
|
$saved_flights = $flights->pluck('id')->toArray();
|
||||||
|
|
||||||
return view('flights.index', [
|
return view('flights.index', [
|
||||||
'title' => trans_choice('frontend.flights.mybid', 2),
|
'title' => trans_choice('flights.mybid', 2),
|
||||||
'airlines' => $this->airlineRepo->selectBoxList(true),
|
'airlines' => $this->airlineRepo->selectBoxList(true),
|
||||||
'airports' => $this->airportRepo->selectBoxList(true),
|
'airports' => $this->airportRepo->selectBoxList(true),
|
||||||
'flights' => $flights,
|
'flights' => $flights,
|
||||||
|
@ -26,11 +26,11 @@ $(document).ready(function () {
|
|||||||
if(params.method === 'DELETE') {
|
if(params.method === 'DELETE') {
|
||||||
console.log('successfully removed flight');
|
console.log('successfully removed flight');
|
||||||
btn.removeClass(class_name);
|
btn.removeClass(class_name);
|
||||||
alert('@lang("frontend.flights.bidremoved")');
|
alert('@lang("flights.bidremoved")');
|
||||||
} else {
|
} else {
|
||||||
console.log('successfully saved flight');
|
console.log('successfully saved flight');
|
||||||
btn.addClass(class_name);
|
btn.addClass(class_name);
|
||||||
alert('@lang("frontend.flights.bidadded")');
|
alert('@lang("flights.bidadded")');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@if($aircraft)
|
@if($aircraft)
|
||||||
<div class="form-container">
|
<div class="form-container">
|
||||||
<h6><i class="fas fa-ellipsis-h"></i>
|
<h6><i class="fas fa-ellipsis-h"></i>
|
||||||
{{ trans_coice('frontend.pireps.fare', 2) }}
|
{{ trans_choice('pireps.fare', 2) }}
|
||||||
</h6>
|
</h6>
|
||||||
<div class="form-container-body">
|
<div class="form-container-body">
|
||||||
@foreach($aircraft->subfleet->fares as $fare)
|
@foreach($aircraft->subfleet->fares as $fare)
|
||||||
|
Loading…
Reference in New Issue
Block a user