diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php index b21d56c7da..0b6ee1d993 100644 --- a/resources/views/locations/view.blade.php +++ b/resources/views/locations/view.blade.php @@ -18,6 +18,8 @@
+ +
@@ -25,8 +27,6 @@
-
-
-
+
+
+
+ +
+
+
+

{{ trans('general.assets') }}

-
-
-
+
+
+ + + + + + + + + + + + + + + +
{{ trans('general.id') }}{{ trans('admin/hardware/table.image') }}{{ trans('general.name') }}{{ trans('admin/hardware/form.model') }}{{ trans('admin/hardware/form.tag') }}{{ trans('admin/hardware/form.serial') }}{{ trans('general.category') }}{{ trans('general.purchase_cost') }}Checkin/Checkout{{ trans('table.actions') }}
+
+
+
+ + +
- - @if ($location->image!='')
{{ $location->name }} @@ -101,47 +135,6 @@
-
-
-
-
-
-

{{ trans('general.assets') }}

-
-
-
-
-
-
- - - - - - - - - - - - - - - -
{{ trans('general.id') }}{{ trans('admin/hardware/table.image') }}{{ trans('general.name') }}{{ trans('admin/hardware/form.model') }}{{ trans('admin/hardware/form.tag') }}{{ trans('admin/hardware/form.serial') }}{{ trans('general.category') }}{{ trans('general.purchase_cost') }}Checkin/Checkout{{ trans('table.actions') }}
-
-
-
-
-
-
diff --git a/resources/views/suppliers/view.blade.php b/resources/views/suppliers/view.blade.php index 217ddaffa1..6d414fbc17 100755 --- a/resources/views/suppliers/view.blade.php +++ b/resources/views/suppliers/view.blade.php @@ -23,18 +23,14 @@
- @if ($supplier->id)
-

{{ trans('general.assets') }} -

+

{{ trans('general.assets') }}

- @endif
-
-
-
-
+
+ + + +
+ +
+
+

{{ trans('general.accessories') }}

+
+
+ +
+
+ + + + + + + + + + + + + + +
{{ trans('general.id') }}{{ trans('general.name') }}{{ trans('admin/models/table.modelnumber') }}{{ trans('admin/hardware/form.tag') }}{{ trans('admin/hardware/form.serial') }}{{ trans('general.category') }}{{ trans('general.purchase_cost') }}{{ trans('table.actions') }}
+
+
+
+ + + +
+ + @if ($supplier->id) +
+
+

{{ trans('general.licenses') }}

+
+
+ @endif + +
+
+ + + + + + + + + + + + + + +
{{ trans('general.id') }}{{ trans('general.name') }}{{ trans('admin/licenses/form.license_key') }}{{ trans('admin/licenses/form.to_email') }}{{ trans('admin/licenses/form.seats') }}{{ trans('admin/accessories/general.remaining') }}{{ trans('general.purchase_cost') }}{{ trans('table.actions') }}{{ trans('table.actions') }}
+
+
+
+ + + +
+ + @if ($supplier->id) +
+
+

Improvements

+
+
+ @endif + +
+
+ + + + + + + + + + + + + + + @if ($supplier->asset_maintenances) + @foreach ($supplier->asset_maintenances as $improvement) + @if (is_null($improvement->deleted_at)) + + + + + + + + cost; ?> + + + @endif + @endforeach + @endif + + + + + + + + + + + +
{{ trans('admin/asset_maintenances/table.asset_name') }}{{ trans('admin/asset_maintenances/form.asset_maintenance_type') }}{{ trans('admin/asset_maintenances/form.start_date') }}{{ trans('admin/asset_maintenances/form.completion_date') }}{{ trans('admin/asset_maintenances/table.is_warranty') }}{{ trans('admin/asset_maintenances/form.cost') }}{{ trans('table.actions') }}
+ @if ($improvement->asset) + {{ $improvement->asset->name }} + @else + (deleted asset) + @endif + {{ $improvement->asset_maintenance_type }}{{ $improvement->start_date }}{{ $improvement->completion_date }}{{ $improvement->is_warranty ? trans('admin/asset_maintenances/message.warranty') : trans('admin/asset_maintenances/message.not_warranty') }}{{ sprintf( $snipeSettings->default_currency. '%01.2f', $improvement->cost) }} +
{{sprintf($snipeSettings->default_currency . '%01.2f', $totalCost)}}
+
+
+
+ @@ -121,160 +263,17 @@
  • {{ $supplier->notes }}
  • @endif - @if ($supplier->image) -

  • - @endif + @if ($supplier->image!='') +
    + {{ $supplier->name }} +
    + @endif + -
    -
    -
    -
    -
    -

    Accessories

    -
    -
    -
    -
    - - - - - - - - - - - - - - -
    {{ trans('general.id') }}{{ trans('general.name') }}{{ trans('admin/models/table.modelnumber') }}{{ trans('admin/hardware/form.tag') }}{{ trans('admin/hardware/form.serial') }}{{ trans('general.category') }}{{ trans('general.purchase_cost') }}{{ trans('table.actions') }}
    -
    -
    -
    - - -
    - - @if ($supplier->id) -
    -
    -

    Software

    -
    -
    - @endif - -
    - - - - - - - - - - - - - - - -
    {{ trans('general.id') }}{{ trans('general.name') }}{{ trans('admin/licenses/form.license_key') }}{{ trans('admin/licenses/form.to_email') }}{{ trans('admin/licenses/form.seats') }}{{ trans('admin/accessories/general.remaining') }}{{ trans('general.purchase_cost') }}{{ trans('table.actions') }}{{ trans('table.actions') }}
    -
    -
    -
    -
    - -
    -
    -
    - - @if ($supplier->id) -
    -
    -

    Improvements

    -
    -
    - @endif - -
    - - - - - - - - - - - - - - - @if ($supplier->asset_maintenances) - @foreach ($supplier->asset_maintenances as $improvement) - @if (is_null($improvement->deleted_at)) - - - - - - - - cost; ?> - - - @endif - @endforeach - @endif - - - - - - - - - - - - -
    {{ trans('admin/asset_maintenances/table.asset_name') }}{{ trans('admin/asset_maintenances/form.asset_maintenance_type') }}{{ trans('admin/asset_maintenances/form.start_date') }}{{ trans('admin/asset_maintenances/form.completion_date') }}{{ trans('admin/asset_maintenances/table.is_warranty') }}{{ trans('admin/asset_maintenances/form.cost') }}{{ trans('table.actions') }}
    - @if ($improvement->asset) - {{ $improvement->asset->name }} - @else - (deleted asset) - @endif - {{ $improvement->asset_maintenance_type }}{{ $improvement->start_date }}{{ $improvement->completion_date }}{{ $improvement->is_warranty ? trans('admin/asset_maintenances/message.warranty') : trans('admin/asset_maintenances/message.not_warranty') }}{{ sprintf( $snipeSettings->default_currency. '%01.2f', $improvement->cost) }} -
    {{sprintf($snipeSettings->default_currency . '%01.2f', $totalCost)}}
    -
    - -
    -
    -
    @stop @section('moar_scripts')