{{-- Name: invoice.part.accountingRecords.blade Author: JH2 Created: 2016-01-13 --}} @extends('partials.box') @section($content_id) {!! Form::open(['route' => ['admin.invoice.accountingRecords'], 'method' => 'get', 'class' => 'form-horizontal']) !!}
{!! Form::label('start_time', Lang::get('invoice.form.start_time'), ['class' => 'col-md-3 control-label']) !!}
{!! Form::input('text', 'start_time', $request->filled('start_time')? $request->get('start_time') : \Carbon\Carbon::today()->subMonth(1)->startOfMonth()->toDateString(), ['class' => 'form-control', 'id' => 'start-time']) !!} {!! $errors->first('start_time', ':message') !!}
{!! Form::label('stop_time', Lang::get('invoice.form.stop_time'), ['class' => 'col-md-3 control-label']) !!}
{!! Form::input('text', 'stop_time', $request->filled('stop_time')? $request->get('stop_time') : \Carbon\Carbon::today()->subMonth(1)->endOfMonth()->toDateString(), ['class' => 'form-control', 'id' => 'stop-time']) !!} {!! $errors->first('stop_time', ':message') !!}
{!! Form::label('paid', Lang::get('invoice.form.paid'), ['class' => 'col-md-3 control-label']) !!}
{!! Form::checkbox('paid', true, ($request->filled('paid') && $request->get('paid') == 1)? true : false) !!}
{!! Form::label('hideCredit', Lang::get('invoice.form.hideCredit'), ['class' => 'col-md-3 control-label']) !!}
{!! Form::checkbox('hideCredit', true, ($request->filled('hideCredit') && $request->get('hideCredit') == 1)? true : false) !!}

{!! Form::submit(Lang::get('invoice.form.create'), ['class' => 'btn btn-primary']) !!} {!! Form::close() !!}
@stop @section('footer-script') @stop