{{ Form::label('branch', getphrase('branch')) }} * {{ Form::select('branch_id', $branches, $selected, [ 'class' => 'form-control', "id" => "branch_id", "ng-model" => "branch_id", "onchange" => "getUsers()", 'required'=> 'true', 'ng-class'=>'{"has-error": formMs.branch_id.$touched && formMs.branch_id.$invalid}', ])}}
{!! getValidationMessage()!!}
{{ Form::label('role', getphrase('role')) }} * {{ Form::select('role_id', $roles, $selected, [ 'class' => 'form-control', "id" => "role_id", "ng-model" => "role_id", "onchange" => "getUsers()", 'required'=> 'true', 'ng-class'=>'{"has-error": formMs.role_id.$touched && formMs.role_id.$invalid}', ])}}
{!! getValidationMessage()!!}
{{ Form::label('user', getphrase('user')) }} * {{ Form::select('user_id', array(''=>getPhrase('select_branch_and_role')) , '', [ 'class' => 'form-control', "id" => "user_id", "onchange" => "getUserDetails()", 'required'=> 'true', ])}}
{{ Form::label('salary_type', getphrase('salary_type')) }} * {{ Form::select('salary_type', $salary_types, $selected, [ 'class' => 'form-control', "id" => "salary_type", "ng-model" => "salary_type", "onchange" => "getTemplates()", 'required'=> 'true', 'ng-class'=>'{"has-error": formMs.salary_type.$touched && formMs.salary_type.$invalid}', ])}}
{!! getValidationMessage()!!}
{{ Form::label('template', getphrase('template')) }} * {{ Form::select('template_id', array(''=>getPhrase('select_salary_type')) , '', [ 'class' => 'form-control', "id" => "template_id", "onchange" => "setTemplateName()", 'required'=> 'true', ])}}