@extends('layouts.page') @section('title') financials Categories Create @endsection @section('navs') Back @endsection @section('content')
{!! Form::open(['url' => route('finance_category.save', $finance_category->id), 'id' => 'idForm']) !!} {!! EasyForm::setErrors($errors) !!} {!! EasyForm::input('name', 'Name', $finance_category->id ? $finance_category->name : '', ['required' => true])!!} {!! EasyForm::select('category', 'Category', $finance_category->category, ['Inflow' => 'Inflow']+AppHelper::options('finance_outflow_categories')) !!} {!! EasyForm::select('outflow_category[]', 'Outflow Category (Select this only if Category is Inflow*)', $finance_category->outflow_category, AppHelper::options('finance_outflow_categories'), ['multiple' => true]) !!} {!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection