@extends('layouts/default') @section('title0') @if (Input::get('status')) @if (Input::get('status')=='Pending') {{ trans('general.pending') }} @elseif (Input::get('status')=='RTD') {{ trans('general.ready_to_deploy') }} @elseif (Input::get('status')=='Undeployable') {{ trans('general.undeployable') }} @elseif (Input::get('status')=='Deployable') {{ trans('general.deployed') }} @elseif (Input::get('status')=='Requestable') {{ trans('admin/hardware/general.requestable') }} @elseif (Input::get('status')=='Archived') {{ trans('general.archived') }} @elseif (Input::get('status')=='Deleted') {{ trans('general.deleted') }} @endif @else {{ trans('general.all') }} @endif {{ trans('general.assets') }} @stop {{-- Page title --}} @section('title') @yield('title0') @parent @stop @section('header_right') {{ trans('general.create') }} @stop {{-- Page content --}} @section('content')
{{ Form::open([ 'method' => 'POST', 'route' => ['hardware/bulkedit'], 'class' => 'form-inline' ]) }}
@if (Input::get('status')!='Deleted')
@endif @if (Input::get('status')!='Deleted') @endif @foreach(\App\Models\CustomField::all() AS $field) @endforeach {{-- --}}
{{ trans('general.id') }} {{ trans('general.company') }} {{ trans('admin/hardware/table.image') }} {{ trans('admin/hardware/form.name') }} {{ trans('admin/hardware/table.asset_tag') }} {{ trans('admin/hardware/table.serial') }} {{ trans('admin/hardware/form.model') }} {{ trans('admin/models/table.modelnumber') }} {{ trans('admin/hardware/table.status') }} {{ trans('admin/hardware/form.checkedout_to') }} {{ trans('admin/hardware/table.location') }} {{ trans('general.category') }} {{ trans('general.manufacturer') }} {{ trans('admin/hardware/form.cost') }} {{ trans('admin/hardware/form.date') }} {{ trans('general.eol') }} {{ trans('general.notes') }} {{ trans('admin/hardware/form.order') }} {{ trans('admin/hardware/table.checkout_date') }} {{ trans('admin/hardware/form.expected_checkin') }} @if ($field->field_encrypted=='1') @endif {{$field->name}} {{ trans('general.created_at') }} {{ trans('admin/hardware/table.change') }} {{ trans('table.actions') }}
{{ Form::close() }}
@section('moar_scripts') @include ('partials.bootstrap-table', [ 'exportFile' => 'assets-export', 'search' => true, 'multiSort' => true ]) @stop @stop