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();
|
||||
|
||||
return view('flights.index', [
|
||||
'title' => trans_choice('frontend.flights.mybid', 2),
|
||||
'title' => trans_choice('flights.mybid', 2),
|
||||
'airlines' => $this->airlineRepo->selectBoxList(true),
|
||||
'airports' => $this->airportRepo->selectBoxList(true),
|
||||
'flights' => $flights,
|
||||
|
@ -26,11 +26,11 @@ $(document).ready(function () {
|
||||
if(params.method === 'DELETE') {
|
||||
console.log('successfully removed flight');
|
||||
btn.removeClass(class_name);
|
||||
alert('@lang("frontend.flights.bidremoved")');
|
||||
alert('@lang("flights.bidremoved")');
|
||||
} else {
|
||||
console.log('successfully saved flight');
|
||||
btn.addClass(class_name);
|
||||
alert('@lang("frontend.flights.bidadded")');
|
||||
alert('@lang("flights.bidadded")');
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
|
@ -1,7 +1,7 @@
|
||||
@if($aircraft)
|
||||
<div class="form-container">
|
||||
<h6><i class="fas fa-ellipsis-h"></i>
|
||||
{{ trans_coice('frontend.pireps.fare', 2) }}
|
||||
{{ trans_choice('pireps.fare', 2) }}
|
||||
</h6>
|
||||
<div class="form-container-body">
|
||||
@foreach($aircraft->subfleet->fares as $fare)
|
||||
|
Loading…
Reference in New Issue
Block a user