Missing closing divs

This commit is contained in:
snipe
2013-12-06 02:46:38 -05:00
parent 0cd6c60fd9
commit 23ce0a9e67
+134 -133
View File
@@ -36,142 +36,143 @@ View License {{ $license->name }} ::
<div class="col-md-9 bio">
<!-- checked out assets table -->
<h6>{{ $license->seats }} License Seats</h6>
<table class="table table-hover">
<thead>
<tr>
<th class="col-md-2">Seat</th>
<th class="col-md-6">User</th>
<th class="col-md-2"></th>
</tr>
</thead>
<tbody>
<?php $count=1; ?>
@if ($license->licenseseats)
@foreach ($license->licenseseats as $licensedto)
<!-- checked out assets table -->
<h6>{{ $license->seats }} License Seats</h6>
<table class="table table-hover">
<thead>
<tr>
<th class="col-md-2">Seat</th>
<th class="col-md-6">User</th>
<th class="col-md-2"></th>
</tr>
</thead>
<tbody>
<?php $count=1; ?>
@if ($license->licenseseats)
@foreach ($license->licenseseats as $licensedto)
<tr>
<tr>
<td>Seat {{ $count }} </td>
<td>
@if ($licensedto->assigned_to)
<a href="{{ route('view/user', $licensedto->assigned_to) }}">
{{ $licensedto->user->fullName() }}
</a>
@endif
</td>
<td>
@if ($licensedto->assigned_to)
<a href="{{ route('checkin/license', $licensedto->id) }}" class="btn-flat info"> Checkin </a>
@else
<a href="{{ route('checkout/license', $licensedto->id) }}" class="btn-flat success">Checkout</a>
@endif
</td>
</tr>
<?php $count++; ?>
@endforeach
@endif
</tbody>
</table>
<br>
<h6>Checkout History</h6>
<table class="table table-hover">
<thead>
<tr>
<th class="col-md-1"></th>
<th class="col-md-3"><span class="line"></span>Date</th>
<th class="col-md-3"><span class="line"></span>Admin</th>
<th class="col-md-3"><span class="line"></span>Action</th>
<th class="col-md-3"><span class="line"></span>User</th>
<th class="col-md-3"><span class="line"></span>Note</th>
</tr>
</thead>
<tbody>
@if (count($license->assetlog) > 0)
@foreach ($license->assetlog as $log)
<tr>
<td>
@if ((isset($log->checkedout_to)) && ($log->checkedout_to == $license->assigned_to))
<i class="icon-star"></i>
@endif
</td>
<td>{{ $log->added_on }}</td>
<td>
@if (isset($log->user_id))
{{ $log->adminlog->fullName() }}
@endif
</td>
<td>{{ $log->action_type }}</td>
<td>
@if ($log->userlog)
<a href="{{ route('view/user', $log->checkedout_to) }}">
{{ $log->userlog->fullName() }}
</a>
@endif
</td>
<td>
@if ($log->note)
{{ $log->note }}
@endif
</td>
</tr>
@endforeach
@endif
<tr>
<td></td>
<td>{{ $license->created_at }}</td>
<td>
@if (isset($license->adminuser->id))
{{ $license->adminuser->fullName() }}
@else
Unknown Admin
@endif
</td>
<td>created asset</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<!-- side address column -->
<div class="col-md-3 col-xs-12 address pull-right">
<h6><br>License Info:</h6>
<ul>
@if ($license->serial)
<li>Serial: {{ $license->serial }} </li>
<td>Seat {{ $count }} </td>
<td>
@if ($licensedto->assigned_to)
<a href="{{ route('view/user', $licensedto->assigned_to) }}">
{{ $licensedto->user->fullName() }}
</a>
@endif
@if ($license->license_name)
<li>License Name: {{ $license->license_name }} </li>
</td>
<td>
@if ($licensedto->assigned_to)
<a href="{{ route('checkin/license', $licensedto->id) }}" class="btn-flat info"> Checkin </a>
@else
<a href="{{ route('checkout/license', $licensedto->id) }}" class="btn-flat success">Checkout</a>
@endif
@if ($license->license_email)
<li>License Email: {{ $license->license_email }} </li>
@endif
@if ($license->purchase_date)
<li>Purchase Date: {{ $license->purchase_date }} </li>
@endif
@if ($license->purchase_cost)
<li>Purchase Cost: ${{ number_format($license->purchase_cost,2) }} </li>
@endif
@if ($license->order_number)
<li>Order #: {{ $license->order_number }} </li>
@endif
@if ($license->seats)
<li>Seats: {{ $license->seats }} </li>
@endif
@if ($license->seats)
<li>Depreciation: {{ $license->depreciation->name }} ({{ $license->depreciation->months }} months)</li>
@endif
</ul>
</td>
</div>
</tr>
<?php $count++; ?>
@endforeach
@endif
</tbody>
</table>
<br>
<h6>Checkout History</h6>
<table class="table table-hover">
<thead>
<tr>
<th class="col-md-1"></th>
<th class="col-md-3"><span class="line"></span>Date</th>
<th class="col-md-3"><span class="line"></span>Admin</th>
<th class="col-md-3"><span class="line"></span>Action</th>
<th class="col-md-3"><span class="line"></span>User</th>
<th class="col-md-3"><span class="line"></span>Note</th>
</tr>
</thead>
<tbody>
@if (count($license->assetlog) > 0)
@foreach ($license->assetlog as $log)
<tr>
<td>
@if ((isset($log->checkedout_to)) && ($log->checkedout_to == $license->assigned_to))
<i class="icon-star"></i>
@endif
</td>
<td>{{ $log->added_on }}</td>
<td>
@if (isset($log->user_id))
{{ $log->adminlog->fullName() }}
@endif
</td>
<td>{{ $log->action_type }}</td>
<td>
@if ($log->userlog)
<a href="{{ route('view/user', $log->checkedout_to) }}">
{{ $log->userlog->fullName() }}
</a>
@endif
</td>
<td>
@if ($log->note)
{{ $log->note }}
@endif
</td>
</tr>
@endforeach
@endif
<tr>
<td></td>
<td>{{ $license->created_at }}</td>
<td>
@if (isset($license->adminuser->id))
{{ $license->adminuser->fullName() }}
@else
Unknown Admin
@endif
</td>
<td>created asset</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<!-- side address column -->
<div class="col-md-3 col-xs-12 address pull-right">
<h6><br>License Info:</h6>
<ul>
@if ($license->serial)
<li>Serial: {{ $license->serial }} </li>
@endif
@if ($license->license_name)
<li>License Name: {{ $license->license_name }} </li>
@endif
@if ($license->license_email)
<li>License Email: {{ $license->license_email }} </li>
@endif
@if ($license->purchase_date)
<li>Purchase Date: {{ $license->purchase_date }} </li>
@endif
@if ($license->purchase_cost)
<li>Purchase Cost: ${{ number_format($license->purchase_cost,2) }} </li>
@endif
@if ($license->order_number)
<li>Order #: {{ $license->order_number }} </li>
@endif
@if ($license->seats)
<li>Seats: {{ $license->seats }} </li>
@endif
@if ($license->seats)
<li>Depreciation: {{ $license->depreciation->name }} ({{ $license->depreciation->months }} months)</li>
@endif
</ul>
</div>
</div>
</div>
@stop