@extends('layouts/default') {{-- Page Title --}} @section('title') @if ($template->exists) {{ trans('general.custom_report') }}: {{ $template->name }} @else {{ trans('general.custom_report') }} @endif @parent @stop @section('header_right') @if ($template->exists) {{ trans('general.back') }} @else {{ trans('general.back') }} @endif @stop {{-- Page content --}} @section('content')
{{-- Form action is always post-custom (download the report). The sidebar Save button overrides this via formaction so it POSTs to report-templates.update instead, letting the user save config changes without downloading. --}}
{{csrf_field()}}

@if ($template->exists) {{ trans('general.customize_report') }}: {{ $template->name }} @else {{ trans('general.customize_report') }} @endif

{{ 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') !!}


-
@if ($errors->has('purchase_cost_start') || $errors->has('purchase_cost_end'))
@endif
@if ($errors->has('purchase_start') || $errors->has('purchase_end'))
@endif
@if ($errors->has('created_start') || $errors->has('created_end'))
@endif
@if ($errors->has('checkout_date_start') || $errors->has('checkout_date_end'))
@endif
@if ($errors->has('checkin_date_start') || $errors->has('checkin_date_end'))
@endif
@if ($errors->has('expected_checkin_start') || $errors->has('expected_checkin_end'))
@endif
@if ($errors->has('asset_eol_date_start') || $errors->has('asset_eol_date_end'))
@endif
@if ($errors->has('last_audit_start') || $errors->has('last_audit_end'))
@endif
@if ($errors->has('next_audit_start') || $errors->has('next_audit_end'))
@endif
@if ($errors->has('last_updated_start') || $errors->has('last_updated_end'))
@endif
{{ trans('general.days_ago') }}
@if ($errors->has('last_updated_before'))
@endif
@stop