@extends('layouts.admin') @section('title', trans('general.title.new', ['type' => trans_choice('general.reports', 1)])) @section('content')
{!! Form::open([ 'id' => 'report', 'route' => 'reports.store', '@submit.prevent' => 'onSubmit', '@keydown' => 'form.errors.clear($event.target.name)', 'role' => 'form', 'class' => 'form-loading-button', 'novalidate' => true ]) !!}
{{ Form::textGroup('name', trans('general.name'), 'font') }} {{ Form::selectGroup('class', trans_choice('general.types', 1), 'bars', $classes, null, ['required' => 'required', 'change' => 'onChangeClass']) }} {{ Form::textareaGroup('description', trans('general.description'), null, null, ['rows' => '3', 'required' => 'required']) }} {{ Form::selectGroup('group', trans('general.group_by'), 'folder', $groups, 'category') }} {{ Form::selectGroup('period', trans('general.period'), 'calendar', $periods, 'yearly') }} {{ Form::selectGroup('basis', trans('general.basis'), 'file', $basises, 'accrual') }} {{ Form::selectGroup('chart', trans_choice('general.charts', 1), 'chart-pie', $charts, 'line') }}
{!! Form::close() !!}
@endsection @push('scripts_start') @endpush