mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Update print.blade.php
This commit is contained in:
parent
9b3a8c046c
commit
0cdc7af611
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
<title>Assigned to {{ $show_location->present()->fullName() }} Location</title>
|
<title>Assigned to {{ $location->present()->fullName() }} Location</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: "Arial, Helvetica", sans-serif;
|
font-family: "Arial, Helvetica", sans-serif;
|
||||||
|
@ -50,9 +50,14 @@
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<h2>Asset Management System</h2>
|
<h2>Asset Management System</h2>
|
||||||
|
<b>Assigned To:</b> {{ $location->present()->fullName() }}
|
||||||
<b>Assigned To:</b> {{ $show_location->present()->fullName() }} <br>
|
@if ($parent)
|
||||||
<b>Manager:</b> {{ $manager->present()->fullName() }}<br>
|
{{ $parent->present()->fullName() }}
|
||||||
|
@endif
|
||||||
|
<br>
|
||||||
|
@if ($manager)
|
||||||
|
<b>Manager:</b> {{ $manager->present()->fullName() }}<br>
|
||||||
|
@endif
|
||||||
<b>Current Date:</b> {{ date("d/m/Y h:i:s A") }}<br><br>
|
<b>Current Date:</b> {{ date("d/m/Y h:i:s A") }}<br><br>
|
||||||
|
|
||||||
@if ($users->count() > 0)
|
@if ($users->count() > 0)
|
||||||
|
@ -81,8 +86,8 @@
|
||||||
<td>{{ $counter }}</td>
|
<td>{{ $counter }}</td>
|
||||||
<td>{{ $user->company->name }}</td>
|
<td>{{ $user->company->name }}</td>
|
||||||
<td>{{ $user->first_name }} {{ $user->last_name }}</td>
|
<td>{{ $user->first_name }} {{ $user->last_name }}</td>
|
||||||
<td>{{ $user->employee_num }}</td>
|
<td>{{ $user->employee_num }}</td>
|
||||||
<td>{{ $user->department->name }}</td>
|
<td>{{ $user->department->name }}</td>
|
||||||
<td>{{ $user->location->name }}</td>
|
<td>{{ $user->location->name }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@php
|
@php
|
||||||
|
@ -99,7 +104,7 @@
|
||||||
<table class="inventory">
|
<table class="inventory">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="9">{{ trans('general.assets') }}</th>
|
<th colspan="10">{{ trans('general.assets') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -107,12 +112,13 @@
|
||||||
<th style="width: 20px;"></th>
|
<th style="width: 20px;"></th>
|
||||||
<th style="width: 10%;">Asset Tag</th>
|
<th style="width: 10%;">Asset Tag</th>
|
||||||
<th style="width: 10%;">Name</th>
|
<th style="width: 10%;">Name</th>
|
||||||
<th style="width: 15%;">Category</th>
|
<th style="width: 10%;">Category</th>
|
||||||
<th style="width: 10%;">Manufacturer</th>
|
<th style="width: 10%;">Manufacturer</th>
|
||||||
<th style="width: 15%;">Model</th>
|
<th style="width: 15%;">Model</th>
|
||||||
<th style="width: 15%;">Serial</th>
|
<th style="width: 15%;">Serial</th>
|
||||||
<th style="width: 10%;">Location</th>
|
<th style="width: 10%;">Location</th>
|
||||||
<th style="width: 15%;">Checked Out</th>
|
<th style="width: 10%;">Checked Out</th>
|
||||||
|
<th style="width: 10%;">Expected Checkin</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@php
|
@php
|
||||||
|
@ -125,12 +131,13 @@
|
||||||
<td>{{ $counter }}</td>
|
<td>{{ $counter }}</td>
|
||||||
<td>{{ $asset->asset_tag }}</td>
|
<td>{{ $asset->asset_tag }}</td>
|
||||||
<td>{{ $asset->name }}</td>
|
<td>{{ $asset->name }}</td>
|
||||||
<td>{{ $asset->model->category->name }}</td>
|
<td>{{ $asset->model->category->name }}</td>
|
||||||
<td>{{ $asset->model->manufacturer->name }}</td>
|
<td>{{ $asset->model->manufacturer->name }}</td>
|
||||||
<td>{{ $asset->model->name }} {{ $asset->model->model_number }}</td>
|
<td>{{ $asset->model->name }} {{ $asset->model->model_number }}</td>
|
||||||
<td>{{ $asset->serial }}</td>
|
<td>{{ $asset->serial }}</td>
|
||||||
<td>{{ $asset->location->name }}</td>
|
<td>{{ $asset->location->name }}</td>
|
||||||
<td>{{ $asset->last_checkout }}</td>
|
<td>{{ $asset->last_checkout }}</td>
|
||||||
|
<td>{{ $asset->expected_checkin }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@php
|
@php
|
||||||
$counter++
|
$counter++
|
||||||
|
@ -139,8 +146,6 @@
|
||||||
</table>
|
</table>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in a new issue