diff --git a/resources/views/accessories/view.blade.php b/resources/views/accessories/view.blade.php index 41ffbb95fe..e4af3d6e78 100644 --- a/resources/views/accessories/view.blade.php +++ b/resources/views/accessories/view.blade.php @@ -178,6 +178,17 @@ @endif + @if ($accessory->model_number) +
+
+ {{ trans('general.model_no')}} +
+
+ {{ $accessory->model_number }} +
+
+ @endif + @if ($accessory->company)
@@ -189,6 +200,16 @@
@endif + @if ($accessory->location) +
+
+ {{ trans('general.location')}} +
+ +
+ @endif @if ($accessory->category)
@@ -201,6 +222,18 @@
@endif + @if ($accessory->manufacturer) +
+
+ {{ trans('general.manufacturer')}} +
+ +
+ @endif + + @if ($accessory->notes)
@@ -213,9 +246,33 @@ {!! nl2br(Helper::parseEscapedMarkedownInline($accessory->notes)) !!}
- @endif + @if ($accessory->purchase_date) +
+
+ + {{ trans('general.purchase_date') }} + +
+
+ {{ \App\Helpers\Helper::getFormattedDateObject($accessory->purchase_date, 'date')['formatted']}} +
+
+ @endif + + @if ($accessory->purchase_cost) +
+
+ + {{ trans('general.purchase_cost') }} + +
+
+ {{ Helper::formatCurrencyOutput($accessory->purchase_cost) }} +
+
+ @endif
@@ -234,6 +291,43 @@ {{ $accessory->checkouts_count }}
+ +
+
+ + {{ trans('general.created_at') }} + +
+
+ {{ \App\Helpers\Helper::getFormattedDateObject($accessory->created_at, 'datetime')['formatted']}} +
+
+ + @if ($accessory->created_at!=$accessory->updated_at) +
+
+ + {{ trans('general.updated_at') }} + +
+
+ {{ \App\Helpers\Helper::getFormattedDateObject($accessory->updated_at, 'datetime')['formatted']}} +
+
+ + @endif + +
+
+ + {{ trans('general.created_by') }} + +
+
+ {{ $accessory->adminuser->present()->fullName() }} +
+
+