2014-11-14 02:07:13 -06:00
|
|
|
<table class="table table-bordered table-striped">
|
|
|
|
<tr>
|
|
|
|
<th> </th>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Current balance</th>
|
|
|
|
<th>Active</th>
|
|
|
|
<th>Last activity</th>
|
|
|
|
</tr>
|
|
|
|
@foreach($accounts as $account)
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="btn-group btn-group-xs">
|
|
|
|
<a class="btn btn-default btn-xs" href="{{route('accounts.edit',$account->id)}}"><span class="glyphicon glyphicon-pencil"></span></a>
|
|
|
|
<a class="btn btn-danger btn-xs" href="{{route('accounts.delete',$account->id)}}"><span class="glyphicon glyphicon-trash"></span></a>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td><a href="{{route('accounts.show',$account->id)}}">{{{$account->name}}}</a></td>
|
2014-11-21 12:33:09 -06:00
|
|
|
<td>{{mf(Steam::balance($account))}}</td>
|
2014-11-14 02:07:13 -06:00
|
|
|
<td>
|
|
|
|
@if($account->active)
|
|
|
|
<i class="fa fa-fw fa-check"></i>
|
|
|
|
@else
|
|
|
|
<i class="fa fa-fw fa-ban"></i>
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
<td>
|
2014-11-22 01:21:10 -06:00
|
|
|
@if($account->lastActionDate)
|
|
|
|
{{{$account->lastActionDate->format('j F Y')}}}
|
2014-11-14 02:07:13 -06:00
|
|
|
@else
|
|
|
|
<em>Never</em>
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
@endforeach
|
|
|
|
</table>
|