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 + + + + + + + + + + + + + + + + + @foreach ($users as $user) + + + + + + + + + + @php + $counter++ + @endphp + @endforeach +
{{ trans('general.users') }}
CompanyUser NameEmployee No.DepartmentLocation
{{ $counter }}{{ $user->company->name }}{{ $user->first_name }} {{ $user->last_name }}{{ $user->employee_num }}{{ $user->department->name }}{{ $user->location->name }}
+@endif + + + +@if ($assets->count() > 0) +

+ + + + + + + + + + + + + + + + + + + + @php + $counter = 1; + @endphp + + @foreach ($assets as $asset) + + + + + + + + + + + + + @php + $counter++ + @endphp + @endforeach +
{{ trans('general.assets') }}
Asset TagNameCategoryManufacturerModelSerialLocationChecked Out
{{ $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 }}
+@endif + + + +
+
+
+ + + + + + + + +
Signed By (Asset Auditor):___________________________Date:____________________
+
+
+
+ + + + + + + + +
Signed By (Finance Asset Auditor):____________________Date:____________________
+
+
+
+ + + + + + + + +
Signed By (Location Manager):_______________________Date:____________________
+ + + +