@extends('layouts/default') {{-- Page Title --}} @section('title') @if ($template->exists) {{ trans('general.custom_component_report') }}: {{ $template->name }} @else {{ trans('general.custom_component_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 custom.component.run (download). The sidebar Save button overrides this via formaction so it POSTs to report-templates.update instead. --}}
{{csrf_field()}}

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

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

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


-
@if ($errors->has('quantity_start') || $errors->has('quantity_end'))
@endif
-
@if ($errors->has('min_quantity_start') || $errors->has('min_quantity_end'))
@endif
-
@if ($errors->has('unit_cost_start') || $errors->has('unit_cost_end'))
@endif
@if ($errors->has('purchase_start') || $errors->has('purchase_end'))
@endif
@if ($errors->has('checkout_date_start') || $errors->has('checkout_date_end'))
@endif
@if ($errors->has('created_start') || $errors->has('created_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