@extends('layouts/default') {{-- Page Title --}} @section('title') {{ trans('general.custom_report') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content')
{{ Form::open(['method' => 'post', 'class' => 'form-horizontal']) }} {{csrf_field()}}

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

{{ trans('general.checked_out_to_fields') }}:

@if ($customfields->count() > 0)

{{ trans('admin/custom_fields/general.custom_fields') }}

@foreach ($customfields as $customfield) @endforeach @endif

{!! trans('general.report_fields_info') !!}


@include ('partials.forms.edit.company-select', [ 'translated_name' => trans('general.company'), 'fieldname' => 'by_company_id[]', 'multiple' => 'true', 'hide_new' => 'true' ]) @include ('partials.forms.edit.location-select', [ 'translated_name' => trans('general.location'), 'fieldname' => 'by_location_id[]', 'multiple' => 'true', 'hide_new' => 'true' ]) @include ('partials.forms.edit.location-select', [ 'translated_name' => trans('admin/hardware/form.default_location'), 'fieldname' => 'by_rtd_location_id[]', 'multiple' => 'true', 'hide_new' => 'true' ]) @include ('partials.forms.edit.department-select',[ 'translated_name' => trans('general.department'), 'fieldname' => 'by_dept_id[]', 'multiple' => 'true', 'hide_new' => 'true' ]) @include ('partials.forms.edit.supplier-select', [ 'translated_name' => trans('general.supplier'), 'fieldname' => 'by_supplier_id[]', 'multiple' => 'true', 'hide_new' => 'true' ]) @include ('partials.forms.edit.model-select', [ 'translated_name' => trans('general.asset_model'), 'fieldname' => 'by_model_id[]', 'multiple' => 'true', 'hide_new' => 'true' ]) @include ('partials.forms.edit.manufacturer-select', [ 'translated_name' => trans('general.manufacturer'), 'fieldname' => 'by_manufacturer_id[]', 'multiple' => 'true', 'hide_new' => 'true' ]) @include ('partials.forms.edit.category-select', [ 'translated_name' => trans('general.category'), 'fieldname' => 'by_category_id[]', 'multiple' => 'true', 'hide_new' => 'true', 'category_type' => 'asset' ]) @include ('partials.forms.edit.status-select', [ 'translated_name' => trans('admin/hardware/form.status'), 'fieldname' => 'by_status_id[]', 'multiple' => 'true', 'hide_new' => 'true'])
{{ strtolower(trans('general.to')) }}
@if ($errors->has('purchase_start') || $errors->has('purchase_end'))
{!! $errors->first('purchase_start', '') !!} {!! $errors->first('purchase_end', '') !!}
@endif
{{ strtolower(trans('general.to')) }}
@if ($errors->has('created_start') || $errors->has('created_end'))
{!! $errors->first('created_start', '') !!} {!! $errors->first('created_end', '') !!}
@endif
{{ strtolower(trans('general.to')) }}
@if ($errors->has('checkout_date_start') || $errors->has('checkout_date_end'))
{!! $errors->first('checkout_date_start', '') !!} {!! $errors->first('checkout_date_end', '') !!}
@endif
{{ strtolower(trans('general.to')) }}
@if ($errors->has('checkin_date_start') || $errors->has('checkin_date_end'))
{!! $errors->first('checkin_date_start', '') !!} {!! $errors->first('checkin_date_end', '') !!}
@endif
{{ strtolower(trans('general.to')) }}
@if ($errors->has('expected_checkin_start') || $errors->has('expected_checkin_end'))
{!! $errors->first('expected_checkin_start', '') !!} {!! $errors->first('expected_checkin_end', '') !!}
@endif
to
{{ strtolower(trans('general.to')) }}
@if ($errors->has('last_audit_start') || $errors->has('last_audit_end'))
{!! $errors->first('last_audit_start', '') !!} {!! $errors->first('last_audit_end', '') !!}
@endif
{{ strtolower(trans('general.to')) }}
@if ($errors->has('next_audit_start') || $errors->has('next_audit_end'))
{!! $errors->first('next_audit_start', '') !!} {!! $errors->first('next_audit_end', '') !!}
@endif
{{ Form::close() }}
@stop @section('moar_scripts') @stop