From 985e683896c7e55a751fe0270dcff9ae1e655bba Mon Sep 17 00:00:00 2001 From: snipe Date: Sun, 5 Jun 2022 16:59:53 -0700 Subject: [PATCH] Small display improvements Signed-off-by: snipe --- resources/lang/en/admin/locations/general.php | 9 +++++++ resources/views/locations/print.blade.php | 27 ++++++------------- resources/views/locations/view.blade.php | 25 +++++++++-------- 3 files changed, 31 insertions(+), 30 deletions(-) create mode 100644 resources/lang/en/admin/locations/general.php diff --git a/resources/lang/en/admin/locations/general.php b/resources/lang/en/admin/locations/general.php new file mode 100644 index 0000000000..822fd66c8b --- /dev/null +++ b/resources/lang/en/admin/locations/general.php @@ -0,0 +1,9 @@ + 'Assigned to :location Location', + 'asset_management_system' => 'Asset Management System', + 'assigned_to' => 'Assigned To:', + 'manager' => 'Manager', + 'date' => 'Current Date:', +); \ No newline at end of file diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.php index b9c664e654..7fc02ea6e7 100644 --- a/resources/views/locations/print.blade.php +++ b/resources/views/locations/print.blade.php @@ -156,34 +156,23 @@ - - + - + -
{{ trans('admin/locations/table.signed_by_asset_auditor') }}___________________________
------------------------------------------------------    
{{ trans('admin/locations/table.date') }}____________________
------------------------------    
-
-
-
- + - - + - + -
{{ trans('admin/locations/table.signed_by_finance_auditor') }}____________________
------------------------------------------------------    
{{ trans('admin/locations/table.date') }}____________________
------------------------------    
-
-
-
- + - - + - +
{{ trans('admin/locations/table.signed_by_location_manager') }}_______________________
------------------------------------------------------    
{{ trans('admin/locations/table.date') }}____________________
------------------------------    
diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php index 87eaf7c1ae..771538df5e 100644 --- a/resources/views/locations/view.blade.php +++ b/resources/views/locations/view.blade.php @@ -191,9 +191,20 @@
+ + + + + @if ($location->image!='')
- {{ $location->name }} + {{ $location->name }}
@endif
@@ -220,21 +231,13 @@ @if (($location->state!='') && ($location->country!='') && (config('services.google.maps_api_key')))
- Map + Map
@endif
- - - +