{!! Form::label('date', __('models/staff_payrolls.fields.date') . ':') !!}
{!! Form::text('date', null, ['class' => ($errors->has('date')) ? 'form-control is-invalid' : 'form-control', 'id' => 'date']) !!}
{!! Form::label('staf_type', __('models/stafprofile.fields.staf_type')) !!} {!! Form::select('staf_type', ['Office Staf' => 'Office Staf', 'Labor' => 'Labor', 'Managing Director' => 'Managing Director', 'Sponsor' => 'Sponsor', 'Driver' => 'Driver', 'Others' => 'Others'], null, ['class' => $errors->has('staf_type') ? 'form-control is-invalid' : 'form-control', 'id' => 'staf_type']) !!}

@include('staff_payrolls.members')
{!! Form::submit(__('crud.save'), ['class' => 'btn btn-danger btn-flat btn-lg', "onclick" => "return confirm('Are you sure?')"]) !!} @lang('crud.cancel')
@section('scripts') @parent @endsection