#406 Refactor bids (#432)

* Add flight_id column to pireps table

* Refactor PIREPs and bids closes 406

* Formatting
This commit is contained in:
Nabeel S
2019-11-05 11:44:31 -05:00
committed by GitHub
parent db087d0ccb
commit f5183babf6
35 changed files with 967 additions and 798 deletions

View File

@@ -23,8 +23,7 @@
x-id="{{ $flight->id }}"
x-saved-class="btn-info"
type="button"
title="@lang('flights.addremovebid')"
>
title="@lang('flights.addremovebid')">
<i class="fas fa-map-marker"></i>
</button>
@endif
@@ -64,6 +63,14 @@
@endif
</div>
</div>
<div class="row">
<div class="col-sm-12 text-right">
<a href="{{ route('frontend.pireps.create') }}?flight_id={{ $flight->id }}"
class="btn btn-sm btn-info">
{{ __('pireps.newpirep') }}
</a>
</div>
</div>
</div>
</div>