@extends('layouts.admin') @section('css') @endsection @section('content')
{{ Form::open(array('route' => $routes, 'method' => 'POST' ,'id' => 'ajaxSave','files' => true))}}
{{Form::label('title', __('financial_year.title'), array('class' => 'control-label'))}} {{ Form::text('title', $data->title,array('class' => 'form-control'))}}
{{Form::label('start_date', __('financial_year.start_date'), array('class' => 'control-label'))}} {!! Form::text('start_date', isset($data) ? dateFormat($data->start_date, 'd-m-Y') : '', [ 'class' => 'form-control datepicker-input', ]) !!}
{{Form::label('end_date', __('financial_year.end_date'), array('class' => 'control-label'))}} {!! Form::text('end_date', isset($data) ? dateFormat($data->end_date, 'd-m-Y') : '', [ 'class' => 'form-control datepicker-input', ]) !!}
@if(isset($data->in_use))
{!! ($data->in_use == 1) ? 'Active' :'In-active' !!}
@endif
  • {{ Form::submit( __('common.save'), array('class' => 'btn btn-primary width80'));}}
@if($data->id) @method('PUT') @endif {{ Form::token()}} {{ Form::close()}}
@endsection