Commit c71accfe by peema_phongam

DHAS025 - กรอกชื่อไทย ก่อน อังกฤษ

parent 8259a2bb
...@@ -33,85 +33,85 @@ ...@@ -33,85 +33,85 @@
</md-card-title> </md-card-title>
<md-card-content> <md-card-content>
<div class="form-horizontal"> <div class="form-horizontal">
<!--Name (Eng)--> <!--Name (Thai)-->
<div class="form-group"> <div class="form-group">
<label class="control-label col-xs-12 col-sm-2"> <label class="control-label col-xs-12 col-sm-2">
<swaplang code="SW013012">Name (Eng)</swaplang> <swaplang code="SW013015">Name (Thai)</swaplang>
</label> </label>
<div class="col-xs-4 col-sm-2" ng-hide="confApp.personal.field.prefixid.active != 1 && enableValidate"> <div class="col-xs-4 col-sm-2" ng-hide="confApp.personal.field.prefixid.active != 1 && enableValidate">
<select ng-disabled="action != 'fillform'" class="form-control" ng-model="clsFormApplicant.formApplicant.personal.prefixid" <select ng-disabled="action != 'fillform'" class="form-control" ng-model="clsFormApplicant.formApplicant.personal.prefixid"
ng-required="confApp.personal.field.prefixid.require == 1 && enableValidate"> ng-required="confApp.personal.field.prefixid.require == 1 && enableValidate">
<option value=""></option> <option value=""></option>
<option ng-repeat="prefix in masterdata.prefix" value="{{prefix.mprefixid}}">{{prefix.prefix_eng}}</option> <option ng-repeat="prefix in masterdata.prefix" value="{{prefix.mprefixid}}">{{prefix.prefix_tha}}</option>
</select> </select>
</div> </div>
<div class="col-xs-8 col-sm-8" ng-hide="confApp.personal.field.fname_eng.active != 1 && enableValidate"> <div class="col-xs-8 col-sm-8" ng-hide="confApp.personal.field.fname_tha.active != 1 && enableValidate">
<input onkeypress="chkEng()" ng-disabled="action != 'fillform'" type="text" class="form-control" <input onkeypress="chkThai()" ng-disabled="action != 'fillform'" type="text" class="form-control"
ng-model="clsFormApplicant.formApplicant.personal.fname.eng" ng-model="clsFormApplicant.formApplicant.personal.fname.tha"
ng-required="confApp.personal.field.fname_eng.require == 1 && enableValidate"> ng-required="confApp.personal.field.fname_tha.require == 1 && enableValidate">
</div> </div>
</div> </div>
<!--Lastname (Eng)--> <!--Lastname (Thai)-->
<div class="form-group" ng-hide="confApp.personal.field.lname_eng.active != 1 && enableValidate"> <div class="form-group" ng-hide="confApp.personal.field.lname_tha.active != 1 && enableValidate">
<label class="control-label col-xs-12 col-sm-2"> <label class="control-label col-xs-12 col-sm-2">
<swaplang code="SW013013">Surname (Eng)</swaplang> <swaplang code="SW013016">Surname (Thai)</swaplang>
</label> </label>
<div class="col-xs-12 col-sm-10"> <div class="col-xs-12 col-sm-10">
<input onkeypress="chkEng()" ng-disabled="action != 'fillform'" type="text" class="form-control" <input onkeypress="chkThai()" ng-disabled="action != 'fillform'" type="text" class="form-control"
ng-model="clsFormApplicant.formApplicant.personal.lname.eng" ng-model="clsFormApplicant.formApplicant.personal.lname.tha"
ng-required="confApp.personal.field.lname_eng.require == 1 && enableValidate"> ng-required="confApp.personal.field.lname_tha.require == 1 && enableValidate">
</div> </div>
</div> </div>
<!--Nickname (Eng)--> <!--Nickname (Thai)-->
<!-- <div class="form-group" ng-hide="confApp.personal.field.nickname.active != 1 && enableValidate"> --> <!-- <div class="form-group" ng-hide="confApp.personal.field.nickname.active != 1 && enableValidate"> -->
<div class="form-group"> <div class="form-group">
<label class="control-label col-xs-12 col-sm-2"> <label class="control-label col-xs-12 col-sm-2">
<swaplang code="SW013014">Nickname (Eng)</swaplang> <swaplang code="SW013017">Nickname (Thai)</swaplang>
</label> </label>
<div class="col-xs-12 col-sm-10"> <div class="col-xs-12 col-sm-10">
<input onkeypress="chkEng()" ng-disabled="action != 'fillform'" type="text" class="form-control" <input onkeypress="chkThai()" ng-disabled="action != 'fillform'" type="text" class="form-control"
ng-model="clsFormApplicant.formApplicant.personal.nickname.eng" ng-model="clsFormApplicant.formApplicant.personal.nickname.tha"
ng-required="confApp.personal.field.nickname.require == 1 && enableValidate"> ng-required="confApp.personal.field.nickname.require == 1 && enableValidate">
</div> </div>
</div> </div>
<!--Name (Thai)--> <!--Name (Eng)-->
<div class="form-group"> <div class="form-group">
<label class="control-label col-xs-12 col-sm-2"> <label class="control-label col-xs-12 col-sm-2">
<swaplang code="SW013015">Name (Thai)</swaplang> <swaplang code="SW013012">Name (Eng)</swaplang>
</label> </label>
<div class="col-xs-4 col-sm-2" ng-hide="confApp.personal.field.prefixid.active != 1 && enableValidate"> <div class="col-xs-4 col-sm-2" ng-hide="confApp.personal.field.prefixid.active != 1 && enableValidate">
<select ng-disabled="action != 'fillform'" class="form-control" ng-model="clsFormApplicant.formApplicant.personal.prefixid" <select ng-disabled="action != 'fillform'" class="form-control" ng-model="clsFormApplicant.formApplicant.personal.prefixid"
ng-required="confApp.personal.field.prefixid.require == 1 && enableValidate"> ng-required="confApp.personal.field.prefixid.require == 1 && enableValidate">
<option value=""></option> <option value=""></option>
<option ng-repeat="prefix in masterdata.prefix" value="{{prefix.mprefixid}}">{{prefix.prefix_tha}}</option> <option ng-repeat="prefix in masterdata.prefix" value="{{prefix.mprefixid}}">{{prefix.prefix_eng}}</option>
</select> </select>
</div> </div>
<div class="col-xs-8 col-sm-8" ng-hide="confApp.personal.field.fname_tha.active != 1 && enableValidate"> <div class="col-xs-8 col-sm-8" ng-hide="confApp.personal.field.fname_eng.active != 1 && enableValidate">
<input onkeypress="chkThai()" ng-disabled="action != 'fillform'" type="text" class="form-control" <input onkeypress="chkEng()" ng-disabled="action != 'fillform'" type="text" class="form-control"
ng-model="clsFormApplicant.formApplicant.personal.fname.tha" ng-model="clsFormApplicant.formApplicant.personal.fname.eng"
ng-required="confApp.personal.field.fname_tha.require == 1 && enableValidate"> ng-required="confApp.personal.field.fname_eng.require == 1 && enableValidate">
</div> </div>
</div> </div>
<!--Lastname (Thai)--> <!--Lastname (Eng)-->
<div class="form-group" ng-hide="confApp.personal.field.lname_tha.active != 1 && enableValidate"> <div class="form-group" ng-hide="confApp.personal.field.lname_eng.active != 1 && enableValidate">
<label class="control-label col-xs-12 col-sm-2"> <label class="control-label col-xs-12 col-sm-2">
<swaplang code="SW013016">Surname (Thai)</swaplang> <swaplang code="SW013013">Surname (Eng)</swaplang>
</label> </label>
<div class="col-xs-12 col-sm-10"> <div class="col-xs-12 col-sm-10">
<input onkeypress="chkThai()" ng-disabled="action != 'fillform'" type="text" class="form-control" <input onkeypress="chkEng()" ng-disabled="action != 'fillform'" type="text" class="form-control"
ng-model="clsFormApplicant.formApplicant.personal.lname.tha" ng-model="clsFormApplicant.formApplicant.personal.lname.eng"
ng-required="confApp.personal.field.lname_tha.require == 1 && enableValidate"> ng-required="confApp.personal.field.lname_eng.require == 1 && enableValidate">
</div> </div>
</div> </div>
<!--Nickname (Thai)--> <!--Nickname (Eng)-->
<!-- <div class="form-group" ng-hide="confApp.personal.field.nickname.active != 1 && enableValidate"> --> <!-- <div class="form-group" ng-hide="confApp.personal.field.nickname.active != 1 && enableValidate"> -->
<div class="form-group"> <div class="form-group">
<label class="control-label col-xs-12 col-sm-2"> <label class="control-label col-xs-12 col-sm-2">
<swaplang code="SW013017">Nickname (Thai)</swaplang> <swaplang code="SW013014">Nickname (Eng)</swaplang>
</label> </label>
<div class="col-xs-12 col-sm-10"> <div class="col-xs-12 col-sm-10">
<input onkeypress="chkThai()" ng-disabled="action != 'fillform'" type="text" class="form-control" <input onkeypress="chkEng()" ng-disabled="action != 'fillform'" type="text" class="form-control"
ng-model="clsFormApplicant.formApplicant.personal.nickname.tha" ng-model="clsFormApplicant.formApplicant.personal.nickname.eng"
ng-required="confApp.personal.field.nickname.require == 1 && enableValidate"> ng-required="confApp.personal.field.nickname.require == 1 && enableValidate">
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment