Format all blade templates to 2 spaces #530 (#531)

This commit is contained in:
Nabeel S
2020-02-01 13:05:56 -05:00
committed by GitHub
parent 06b47d97e0
commit 59d09c0cec
254 changed files with 7123 additions and 7006 deletions

View File

@@ -1,16 +1,16 @@
@section('scripts')
<script>
const select_id = "select#aircraft_select";
const destContainer = $('#fares_container');
<script>
const select_id = "select#aircraft_select";
const destContainer = $('#fares_container');
$(select_id).change(e => {
const aircraft_id = $(select_id + ' option:selected').val();
const url = '/pireps/fares?aircraft_id=' + aircraft_id;
console.log('aircraft select change: ', aircraft_id);
$(select_id).change(e => {
const aircraft_id = $(select_id + ' option:selected').val();
const url = '/pireps/fares?aircraft_id=' + aircraft_id;
console.log('aircraft select change: ', aircraft_id);
phpvms.request(url).then(response => {
phpvms.request(url).then(response => {
destContainer.html(response.data);
});
});
});
</script>
</script>
@endsection