{{ Form::label('branch_name', getphrase('branch_name')) }} * {{ Form::text('branch_name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('branch_name'), 'ng-model'=>'branch_name', 'required'=> 'true', 'ng-class'=>'{"has-error": formBranches.branch_name.$touched && formBranches.branch_name.$invalid}', 'ng-minlength' => '4', 'ng-maxlength' => '40', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('maxlength')!!}
{{ Form::label('code', getphrase('code')) }} * {{ Form::text('code', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'MBA', 'ng-model'=>'code', 'ng-pattern'=>getRegexPattern('name'), 'required'=> 'true', 'ng-class'=>'{"has-error": formBranches.code.$touched && formBranches.code.$invalid}', 'ng-minlength' => '2', 'ng-maxlength' => '20', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('pattern')!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('maxlength')!!}
{{ Form::label('address', getphrase('address')) }} * {{ Form::text('address', null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('branch_address'), 'ng-model'=>'address', 'required'=> 'true', 'ng-class'=>'{"has-error": formBranches.address.$touched && formBranches.address.$invalid}', )) }}
{!! getValidationMessage()!!}
{{ Form::label('zip_code', getphrase('zip_code')) }} * {{ Form::text('zip_code', null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('zip_code'), 'ng-model'=>'zip_code', 'required'=> 'true', 'ng-class'=>'{"has-error": formBranches.zip_code.$touched && formBranches.zip_code.$invalid}', )) }}
{!! getValidationMessage()!!}
{{ Form::label('phone_num', getphrase('phone_num')) }} * {{ Form::text('phone_num', null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('phone_number'), 'ng-model'=>'phone_num', 'required'=> 'true', 'ng-class'=>'{"has-error": formBranches.phone_num.$touched && formBranches.phone_num.$invalid}', )) }}
{!! getValidationMessage()!!}
{{ Form::label('land_line', getphrase('land_line')) }} {{ Form::text('land_line', null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('land_line_number'), 'ng-model'=>'land_line', )) }}
{{ Form::label('fax_num', getphrase('fax_num')) }} {{ Form::text('fax_num', null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('fax_number'), 'ng-model'=>'fax_num', )) }}
{{ Form::label('is_main_branch', getphrase('is_main_branch')) }}
{{ Form::radio('is_main_branch', 'No', true, array('id'=>'no1', 'name'=>'is_main_branch')) }}
{{ Form::radio('is_main_branch', 'Yes', false, array('id'=>'yes1', 'name'=>'is_main_branch')) }}
{{ Form::label('status', getphrase('status')) }}
{{ Form::radio('status', 'Active', true, array('id'=>'active1', 'name'=>'status')) }}
{{ Form::radio('status', 'Inactive', false, array('id'=>'inactive1', 'name'=>'status')) }}