Add additional settings; Use pilot id length from setting

This commit is contained in:
Nabeel Shahzad
2017-12-12 12:43:58 -06:00
parent 695900a008
commit e05976a982
12 changed files with 82 additions and 45 deletions

View File

@@ -4,7 +4,7 @@
<img src="{!! $pirep->pilot->gravatar() !!}" />
</div>--}}
Filed By: <a href="{!! route('admin.users.edit', [$pirep->pilot->id]) !!}" target="_blank">
{!! $pirep->pilot->pilot_id() !!} {!! $pirep->pilot->name !!}
{!! $pirep->pilot->pilot_id !!} {!! $pirep->pilot->name !!}
</a>
</div>

View File

@@ -100,7 +100,7 @@
<table>
@foreach($users as $u)
<tr>
<td style="padding-right: 10px;">{!! $u->pilot_id() !!}</td>
<td style="padding-right: 10px;">{!! $u->pilot_id !!}</td>
<td><span class="description">{!! $u->name !!}</span></td>
</tr>
@endforeach