{{ __('Time management') }} ({{$title}})

@if($type == 'task') {!! Form::open([ 'method' => 'post', 'url' => ['tasks/updatetime', $id], ]) !!} @else {!! Form::open([ 'method' => 'post', 'route' => ['invoice.new.item', $id], ]) !!} @endif
{!! Form::label('title', __('Title'), ['class' => 'control-label']) !!} {!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => __('Insert task title (will be shown on invoice)')]) !!}
{!! Form::label('comment', __('Description'), ['class' => 'control-label']) !!} {!! Form::textarea('comment', null, ['class' => 'form-control', 'placeholder' => __('A short description, as to what is being billed')]) !!}
{!! Form::label('price', __('Hourly price'), ['class' => 'control-label']) !!} {!! Form::text('price', null, ['class' => 'form-control', 'placeholder' => '300']) !!}
{!! Form::label('quantity', __('Time spend'), ['class' => 'control-label']) !!} {!! Form::text('quantity', null, ['class' => 'form-control', 'placeholder' => '3']) !!}
{!! Form::label('type', __('Type'), ['class' => 'control-label']) !!} {!! Form::text('type', null, ['class' => 'form-control', 'placeholder' => '3']) !!}
{!! Form::submit( __('Register time'), ['class' => 'btn btn-success form-control closebtn']) !!}
{!! Form::close() !!}