|
|
@ -43,10 +43,10 @@
|
|
|
|
<label class="control-label col-sm-3" for="merchant_storename_input">* Merchant Short Name</label>
|
|
|
|
<label class="control-label col-sm-3" for="merchant_storename_input">* Merchant Short Name</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.short_name"
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.short_name"
|
|
|
|
type="text" name="merchant_storename" id="merchant_storename_input" required maxlength="50">
|
|
|
|
type="text" name="merchant_storename" id="merchant_storename_input" required maxlength="20">
|
|
|
|
<div ng-messages="subForm.merchant_storename.$error" ng-if="subForm.merchant_storename.$dirty">
|
|
|
|
<div ng-messages="subForm.merchant_storename.$error" ng-if="subForm.merchant_storename.$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">Length is more than 50</p>
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 20</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -92,7 +92,7 @@
|
|
|
|
<label class="control-label col-sm-3" for="website_input">* Website</label>
|
|
|
|
<label class="control-label col-sm-3" for="website_input">* Website</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.company_website"
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.company_website"
|
|
|
|
type="url" name="company_website" id="website_input" required maxlength="128">
|
|
|
|
type="url" name="company_website" id="website_input" required maxlength="100">
|
|
|
|
<p class="small " >( Not required when business type is Offline scenario)</p>
|
|
|
|
<p class="small " >( Not required when business type is Offline scenario)</p>
|
|
|
|
|
|
|
|
|
|
|
|
<div ng-messages="subForm.company_website.$error" ng-if="subForm.company_website.$dirty">
|
|
|
|
<div ng-messages="subForm.company_website.$error" ng-if="subForm.company_website.$dirty">
|
|
|
@ -122,10 +122,12 @@
|
|
|
|
ng-class="{'has-error':subForm.office_phone.$invalid && subForm.office_phone.$dirty}">
|
|
|
|
ng-class="{'has-error':subForm.office_phone.$invalid && subForm.office_phone.$dirty}">
|
|
|
|
<label class="control-label col-sm-3" for="office_phone_input">* Office Phone</label>
|
|
|
|
<label class="control-label col-sm-3" for="office_phone_input">* Office Phone</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.company_phone"
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.company_phone" maxlength="20"
|
|
|
|
type="tel" name="office_phone" id="office_phone_input" required>
|
|
|
|
type="tel" name="office_phone" id="office_phone_input" required>
|
|
|
|
<div ng-messages="subForm.office_phone.$error" ng-if="subForm.office_phone.$dirty">
|
|
|
|
<div ng-messages="subForm.office_phone.$error" ng-if="subForm.office_phone.$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">Length is more than 20</p>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -162,10 +164,10 @@
|
|
|
|
<label class="control-label col-sm-3" for="contact_email_input">* Contact Email</label>
|
|
|
|
<label class="control-label col-sm-3" for="contact_email_input">* Contact Email</label>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.contact_email"
|
|
|
|
<input class="form-control" ng-model="subMerchantInfo.contact_email"
|
|
|
|
type="text" name="contact_email" id="contact_email_input" required maxlength="128">
|
|
|
|
type="text" name="contact_email" id="contact_email_input" required maxlength="50">
|
|
|
|
<div ng-messages="subForm.contact_email.$error" ng-if="subForm.contact_email.$dirty">
|
|
|
|
<div ng-messages="subForm.contact_email.$error" ng-if="subForm.contact_email.$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">Length is more than 128</p>
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Length is more than 50</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|