File: /home/mmickelson/spilicensing/storage/framework/views/d96229f221250407d4b2913d34c7018833575e8a.php
<?php $__env->startSection('content'); ?>
<h1>Licenses <a href="<?php echo e(url('license/create')); ?>" class="btn btn-primary pull-right btn-sm">Create New Licenses</a></h1>
<div class="table">
<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>ID</th>
<th>Activations</th>
<th>Product</th>
<th>Subproduct</th>
<th>Type</th>
<th>Expiration</th>
<th>Batch</th>
<th>LicenseKey</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php /* */$x=0;/* */ ?>
<?php foreach($license as $item): ?>
<?php /* */$x++;/* */ ?>
<tr>
<td><a href="<?php echo e(url('license', $item->id)); ?>"><?php echo e($item->id); ?></a></td>
<td><?php echo e($item->systems->count()); ?> of <?php echo e($item->maxActivations); ?></td>
<td><?php echo e($item->product->productName); ?></td>
<td><?php echo e($item->subproduct->subproductName); ?></td>
<td><?php echo e($item->licenseType->licenseType); ?></td>
<td><?php echo e($item->expiration); ?></td>
<td><?php echo e($item->batch); ?></td>
<td>
<div class="keybox">
<input class="licensedisplay" type="text" onClick="this.setSelectionRange(0, this.value.length)" value="<?php echo e($item->licenseKey); ?>" readonly>
</div>
</td>
<td>
<a href="<?php echo e(url('license/' . $item->id . '/edit')); ?>">
<button type="submit" class="btn btn-primary btn-xs">Update</button>
</a> /
<?php echo Form::open([
'method'=>'DELETE',
'url' => ['license', $item->id],
'style' => 'display:inline'
]); ?>
<?php echo Form::submit('Delete', ['class' => 'btn btn-danger btn-xs']); ?>
<?php echo Form::close(); ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="pagination"> <?php echo $license->render(); ?> </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>