master
yuan 6 years ago
parent 5e812e933f
commit 6e2e5f2335

@ -29,49 +29,124 @@
<p class="form-control-static" ng-bind="partner.client_moniker"></p> <p class="form-control-static" ng-bind="partner.client_moniker"></p>
</div> </div>
</div> </div>
<div class="form-group" <div ng-if="'100'|withRole">
ng-class="{'has-error':partnerForm.company_name.$invalid && partnerForm.company_name.$dirty}"> <div ng-if="partner.open_status||partner.open_status==0">
<label class="control-label col-sm-2" for="company-name-input">* Company Name</label> <div class="form-group">
<div class="col-sm-8"> <label class="control-label col-sm-2">Company Name</label>
<input class="form-control" ng-model="partner.company_name" type="text" <div class="col-sm-8">
id="company-name-input" required name="company_name" maxlength="100"> <p class="form-control-static" ng-bind="partner.company_name"></p>
<p class="small text-info">Full Name shall be same as the name when register to </div>
gov</p> </div>
<div ng-messages="partnerForm.company_name.$error" <div class="form-group">
ng-if="partnerForm.company_name.$dirty"> <label class="control-label col-sm-2">Short Name</label>
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 100 <div class="col-sm-8">
Characters(including symbols and spaces)</p> <p class="form-control-static" ng-bind="partner.short_name"></p>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Business Name</label>
<div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.business_name"></p>
</div>
</div> </div>
</div> </div>
</div> <div ng-if="!partner.open_status&&partner.open_status!=0">
<div class="form-group" <div class="form-group"
ng-class="{'has-error':partnerForm.short_name.$invalid && partnerForm.short_name.$dirty}"> ng-class="{'has-error':partnerForm.company_name.$invalid && partnerForm.company_name.$dirty}">
<label class="control-label col-sm-2" for="short-name-input">* Short Name</label> <label class="control-label col-sm-2" for="company-name-input">* Company Name</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" ng-model="partner.short_name" type="text" <input class="form-control" ng-model="partner.company_name" type="text"
name="short_name" id="company-name-input" required name="company_name" maxlength="100">
id="short-name-input" required maxlength="50"> <p class="small text-info">Full Name shall be same as the name when register to
<p class="small text-info">short name for WeChat payment display and partner gov</p>
name</p> <div ng-messages="partnerForm.company_name.$error"
<div ng-messages="partnerForm.short_name.$error" ng-if="partnerForm.company_name.$dirty">
ng-if="partnerForm.company_name.$dirty"> <p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="required">Required Field</p> <p class="small text-danger" ng-message="maxlength">Less Than 100
<p class="small text-danger" ng-message="maxlength">Less Than 50 Characters(including symbols and spaces)</p>
Characters(including symbols and spaces)</p> </div>
</div>
</div>
<div class="form-group"
ng-class="{'has-error':partnerForm.short_name.$invalid && partnerForm.short_name.$dirty}">
<label class="control-label col-sm-2" for="short-name-input">* Short Name</label>
<div class="col-sm-8">
<input class="form-control" ng-model="partner.short_name" type="text"
name="short_name"
id="short-name-input" required maxlength="50">
<p class="small text-info">short name for WeChat payment display and partner
name</p>
<div ng-messages="partnerForm.short_name.$error"
ng-if="partnerForm.company_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 50
Characters(including symbols and spaces)</p>
</div>
</div>
</div>
<div class="form-group"
ng-class="{'has-error':partnerForm.business_name.$invalid && partnerForm.business_name.$dirty}">
<label class="control-label col-sm-2" for="business-name-input">Business Name</label>
<div class="col-sm-8">
<input id="business-name-input" ng-model="partner.business_name" class="form-control"
type="text" name="business_name" maxlength="100">
<div ng-messages="partnerForm.business_name.$error"
ng-if="partnerForm.business_name.$dirty">
<p class="small text-danger" ng-message="maxlength">Less Than 100
Characters(including symbols and spaces)</p>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="form-group"
ng-class="{'has-error':partnerForm.business_name.$invalid && partnerForm.business_name.$dirty}"> <div ng-if="!('100'|withRole)">
<label class="control-label col-sm-2" for="business-name-input">Business Name</label> <div class="form-group"
<div class="col-sm-8"> ng-class="{'has-error':partnerForm.company_name.$invalid && partnerForm.company_name.$dirty}">
<input id="business-name-input" ng-model="partner.business_name" class="form-control" <label class="control-label col-sm-2" for="company-name-input">* Company Name</label>
type="text" name="business_name" maxlength="100"> <div class="col-sm-8">
<div ng-messages="partnerForm.business_name.$error" <input class="form-control" ng-model="partner.company_name" type="text"
ng-if="partnerForm.business_name.$dirty"> id="company-name-input" required name="company_name" maxlength="100">
<p class="small text-danger" ng-message="maxlength">Less Than 100 <p class="small text-info">Full Name shall be same as the name when register to
Characters(including symbols and spaces)</p> gov</p>
<div ng-messages="partnerForm.company_name.$error"
ng-if="partnerForm.company_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 100
Characters(including symbols and spaces)</p>
</div>
</div>
</div>
<div class="form-group"
ng-class="{'has-error':partnerForm.short_name.$invalid && partnerForm.short_name.$dirty}">
<label class="control-label col-sm-2" for="short-name-input">* Short Name</label>
<div class="col-sm-8">
<input class="form-control" ng-model="partner.short_name" type="text"
name="short_name"
id="short-name-input" required maxlength="50">
<p class="small text-info">short name for WeChat payment display and partner
name</p>
<div ng-messages="partnerForm.short_name.$error"
ng-if="partnerForm.company_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 50
Characters(including symbols and spaces)</p>
</div>
</div>
</div>
<div class="form-group"
ng-class="{'has-error':partnerForm.business_name.$invalid && partnerForm.business_name.$dirty}">
<label class="control-label col-sm-2" for="business-name-input">Business Name</label>
<div class="col-sm-8">
<input id="business-name-input" ng-model="partner.business_name" class="form-control"
type="text" name="business_name" maxlength="100">
<div ng-messages="partnerForm.business_name.$error"
ng-if="partnerForm.business_name.$dirty">
<p class="small text-danger" ng-message="maxlength">Less Than 100
Characters(including symbols and spaces)</p>
</div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save