diff --git a/app/views/backend/licenses/view.blade.php b/app/views/backend/licenses/view.blade.php new file mode 100644 index 0000000000..3da9c9e01b --- /dev/null +++ b/app/views/backend/licenses/view.blade.php @@ -0,0 +1,153 @@ +@extends('backend/layouts/default') + +{{-- Page title --}} +@section('title') +View License {{ $license->name }} :: +@parent +@stop + +{{-- Page content --}} +@section('content') +
+ +

History for ({{ $license->name }}) + + +
+ + + +
+ + +

+ + + + + + + +
+ +
+
+
+ + @if (count($license->assetlog) > 0) + + + + + + + + + + + + @foreach ($license->assetlog as $log) + + + + + + + + + @endforeach + + + + + + + + + + +
DateAdminActionUser
+ @if ((isset($log->checkedout_to)) && ($log->checkedout_to == $license->assigned_to)) + + @endif + {{ $log->added_on }} + @if (isset($log->user_id)) + {{ $log->adminlog->fullName() }} + @endif + {{ $log->action_type }} + @if (isset($log->checkedout_to)) + + {{ $log->userlog->fullName() }} + + @endif +
{{ $license->created_on }}{{ $license->adminuser->fullName() }}created asset
+ @else + +
+
+ + @lang('admin/users/table.noresults') +
+
+ @endif + +
+
+ + +
+ + @if ((isset($license->assigned_to ) && ($license->assigned_to > 0))) +

Checked Out To:
+
    + +


  • +
  • {{ $license->assigneduser->fullName() }}
  • + + + @if (isset($license->assetloc->address)) +
  • {{ $license->assetloc->address }} + @if (isset($license->assetloc->address2)) + {{ $license->assetloc->address2 }} + @endif +
  • + @if (isset($license->assetloc->city)) +
  • {{ $license->assetloc->city }}, {{ $license->assetloc->state }} {{ $license->assetloc->zip }}
  • + @endif + + @endif + + + + @if (isset($license->assigneduser->email)) +

  • {{ $license->assigneduser->email }}
  • + @endif + + @if (isset($license->assigneduser->phone)) +
  • {{ $license->assigneduser->phone }}
  • + @endif + +

  • Checkin Asset
  • +
+ + @else +
    +


  • This asset is not currently assigned to anyone. You may check it into inventory + using the button below, or mark it as lost/stolen using the menu above.
  • +


  • Checkout Asset
  • +
+ @endif +
+@stop \ No newline at end of file