From 03c5b8e4abe5ae6052befef967708d65e45afe18 Mon Sep 17 00:00:00 2001
From: ajsy <35658596+ajsy@users.noreply.github.com>
Date: Sat, 9 Mar 2019 11:36:42 +0300
Subject: [PATCH] Create print.blade.php
---
resources/views/locations/print.blade.php | 183 ++++++++++++++++++++++
1 file changed, 183 insertions(+)
create mode 100644 resources/views/locations/print.blade.php
diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.php
new file mode 100644
index 000000000..d904d7708
--- /dev/null
+++ b/resources/views/locations/print.blade.php
@@ -0,0 +1,183 @@
+
+
+
+
+ Assigned to {{ $show_location->present()->fullName() }} Location
+
+
+
+
+@if ($snipeSettings->logo_print_assets=='1')
+ @if ($snipeSettings->brand == '3')
+
+
+ @if ($snipeSettings->logo!='')
+
+ @endif
+ {{ $snipeSettings->site_name }}
+
+ @elseif ($snipeSettings->brand == '2')
+ @if ($snipeSettings->logo!='')
+
+ @endif
+ @else
+ {{ $snipeSettings->site_name }}
+ @endif
+@endif
+
+Asset Management System
+
+Assigned To: {{ $show_location->present()->fullName() }}
+Manager: {{ $manager->present()->fullName() }}
+Current Date: {{ date("d/m/Y h:i:s A") }}
+
+@if ($users->count() > 0)
+ @php
+ $counter = 1;
+ @endphp
+
+
+
+ {{ trans('general.users') }} |
+
+
+
+
+ |
+ Company |
+ User Name |
+ Employee No. |
+ Department |
+ Location |
+
+
+ @foreach ($users as $user)
+
+
+ {{ $counter }} |
+ {{ $user->company->name }} |
+ {{ $user->first_name }} {{ $user->last_name }} |
+ {{ $user->employee_num }} |
+ {{ $user->department->name }} |
+ {{ $user->location->name }} |
+
+ @php
+ $counter++
+ @endphp
+ @endforeach
+
+@endif
+
+
+
+@if ($assets->count() > 0)
+
+
+
+
+ {{ trans('general.assets') }} |
+
+
+
+
+ |
+ Asset Tag |
+ Name |
+ Category |
+ Manufacturer |
+ Model |
+ Serial |
+ Location |
+ Checked Out |
+
+
+ @php
+ $counter = 1;
+ @endphp
+
+ @foreach ($assets as $asset)
+
+
+ {{ $counter }} |
+ {{ $asset->asset_tag }} |
+ {{ $asset->name }} |
+ {{ $asset->model->category->name }} |
+ {{ $asset->model->manufacturer->name }} |
+ {{ $asset->model->name }} {{ $asset->model->model_number }} |
+ {{ $asset->serial }} |
+ {{ $asset->location->name }} |
+ {{ $asset->last_checkout }} |
+
+ @php
+ $counter++
+ @endphp
+ @endforeach
+
+@endif
+
+
+
+
+
+
+
+
+ Signed By (Asset Auditor): |
+ ___________________________ |
+ |
+ Date: |
+ ____________________ |
+
+
+
+
+
+
+
+ Signed By (Finance Asset Auditor): |
+ ____________________ |
+ |
+ Date: |
+ ____________________ |
+
+
+
+
+
+
+
+ Signed By (Location Manager): |
+ _______________________ |
+ |
+ Date: |
+ ____________________ |
+
+
+
+
+
+