@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.audit') }} @parent @stop {{-- Page content --}} @section('content')
{{ Form::open([ 'method' => 'POST', 'route' => ['asset.audit.store', $asset->id], 'files' => true, 'class' => 'form-horizontal' ]) }}

{{ trans('admin/hardware/form.tag') }} {{ $asset->asset_tag }}

{{csrf_field()}} @if ($asset->model->name)
{{ Form::label('name', trans('admin/hardware/form.model'), array('class' => 'col-md-3 control-label')) }}

{{ $asset->model->name }}

@endif
{{ Form::label('name', trans('admin/hardware/form.name'), array('class' => 'col-md-3 control-label')) }}

{{ $asset->name }}

@include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id'])
sdd

Checking this box will edit the asset record to reflect this new location. Leaving it unchecked will simply note the location in the audit log.

{{ Form::label('name', trans('general.next_audit_date'), array('class' => 'col-md-3 control-label')) }}
{!! $errors->first('next_audit_date', ' :message') !!}
{{ Form::label('note', trans('admin/hardware/form.notes'), array('class' => 'col-md-3 control-label')) }}
{!! $errors->first('note', ' :message') !!}
@include ('partials.forms.edit.image-upload')
@stop