master
yuan 7 years ago
parent 7d18e08d06
commit 58d4b60f16

@ -9,19 +9,17 @@
</section> </section>
<div class="content"> <div class="content">
<div class="box box-warning" ng-if="partner.source == 4"> <div class="box box-warning" ng-if="partner.source == 4&&partner.approve_result !=1">
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title">Compliance <span ng-if="partner.approve_result==5" <h3 class="box-title"> <span ng-if="partner.approve_result==5"
style="color: red">(Refused style="color: red">(Refused
<small class="" <small class=""
ng-if="partner.approve_result==5 || partner.refuse_remark.length>0">:{{partner.refuse_remark}}</small>)</span> ng-if="partner.approve_result==5 || partner.refuse_remark.length>0">:{{partner.refuse_remark}}</small>)</span>
目前状态】- Audit progress】-
<b ng-if="partner.source==4"> <b ng-if="partner.source==4">
<span ng-if="!partner.approve_result">(自助申请)资料完善中</span> <span ng-if="partner.approve_result==2">Awaiting submission of compliance materials 等待提交合规材料</span>
<span ng-if="partner.approve_result==1">(自助申请)已开通</span> <span ng-if="partner.approve_result==3">Waiting for compliance 等待合规审核</span>
<span ng-if="partner.approve_result==2">(自助申请)快速开通等待提交合规材料</span> <span ng-if="partner.approve_result==5">Refused 被打回</span>
<span ng-if="partner.approve_result==3">(自助申请)待审核(材料已提交)</span>
<span ng-if="partner.approve_result==5">(自助申请)被打回</span>
</b> </b>
</h3> </h3>
<div class="btn-group pull-right" role="group" aria-label="..." ng-hide="partner.approve_result ==3 || partner.approve_result == 1"> <div class="btn-group pull-right" role="group" aria-label="..." ng-hide="partner.approve_result ==3 || partner.approve_result == 1">
@ -49,396 +47,460 @@
</li> </li>
</ul> </ul>
<div class="tab-content" ui-view> <div class="tab-content" ui-view>
<div ng-show="(partner.source == 4 && (partner.approve_result ==3 || partner.approve_result == 1) ) || partner.source != 4"> <div ng-show="(partner.source == 4 && (partner.approve_result ==3 || partner.approve_result == 1) ) || partner.source != 4">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
Partner Basic Information Partner Basic Information
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="form-horizontal"> <div class="form-horizontal">
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2">Partner Code</label> <label class="control-label col-sm-2">Partner Code</label>
<div class="col-sm-10"> <div class="col-sm-10">
<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 class="form-group">
<label class="control-label col-sm-2">Company Name</label> <label class="control-label col-sm-2">Company Name</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.company_name"></p> <p class="form-control-static" ng-bind="partner.company_name"></p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2">Short Name</label> <label class="control-label col-sm-2">Short Name</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.short_name"></p> <p class="form-control-static" ng-bind="partner.short_name"></p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2">Business Name</label> <label class="control-label col-sm-2">Business Name</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.business_name"></p> <p class="form-control-static" ng-bind="partner.business_name"></p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2">Business Structure</label> <label class="control-label col-sm-2">Business Structure</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.business_structure|business_structure"></p> <p class="form-control-static"
</div> ng-bind="partner.business_structure|business_structure"></p>
</div> </div>
<div class="form-group"> </div>
<label class="control-label col-sm-2">*Logo</label> <div class="form-group">
<div class="col-sm-10"> <label class="control-label col-sm-2">*Logo</label>
<img class="col-sm-3 col-xs-5" ng-src="{{partner.logo_url}}"> <div class="col-sm-10">
</div> <img class="col-sm-3 col-xs-5" ng-src="{{partner.logo_url}}">
</div> </div>
<div class="form-group"> </div>
<label class="control-label col-sm-2">ABN</label> <div class="form-group">
<label class="control-label col-sm-2">ABN</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.abn"></p> <p class="form-control-static" ng-bind="partner.abn"></p>
</div> </div>
</div> </div>
<div class="form-group" ng-if="partner.acn"> <div class="form-group" ng-if="partner.acn">
<label class="control-label col-sm-2">ACN</label> <label class="control-label col-sm-2">ACN</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.acn"></p> <p class="form-control-static" ng-bind="partner.acn"></p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2">Industry</label> <label class="control-label col-sm-2">Industry</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.industry|partner_industry"></p> <p class="form-control-static"
</div> ng-bind="partner.industry|partner_industry"></p>
</div> </div>
<div class="form-group"> </div>
<label class="control-label col-sm-2">Sector</label> <div class="form-group">
<label class="control-label col-sm-2">Sector</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.sector"></p> <p class="form-control-static" ng-bind="partner.sector"></p>
</div> </div>
</div> </div>
<div class="form-group" ng-if="partner.company_photo"> <div class="form-group" ng-if="partner.company_photo">
<label class="control-label col-sm-2">Shop Photo</label> <label class="control-label col-sm-2">Shop Photo</label>
<div class="col-sm-3 col-xs-5"><em>1:</em>&nbsp; <div class="col-sm-3 col-xs-5"><em>1:</em>&nbsp;
<div> <div>
<a class="thumbnail" target="_blank" ng-href="{{partner.company_photo}}"> <a class="thumbnail" target="_blank"
<img ng-src="{{partner.company_photo}}" style="max-height: 100px"> ng-href="{{partner.company_photo}}">
</a> <img ng-src="{{partner.company_photo}}" style="max-height: 100px">
</div> </a>
</div> </div>
</div>
<div class="col-sm-3 col-xs-5" ng-if="partner.store_photo"><em>2:</em>&nbsp; <div class="col-sm-3 col-xs-5" ng-if="partner.store_photo"><em>2:</em>&nbsp;
<div> <div>
<a class="thumbnail" target="_blank" ng-href="{{partner.store_photo}}" > <a class="thumbnail" target="_blank" ng-href="{{partner.store_photo}}">
<img ng-src="{{partner.store_photo}}" style="max-height: 100px"> <img ng-src="{{partner.store_photo}}" style="max-height: 100px">
</a> </a>
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" ng-if="partner.company_website"> <div class="form-group" ng-if="partner.company_website">
<label class="control-label col-sm-2">Website</label> <label class="control-label col-sm-2">Website</label>
<div class="col-sm-10"> <div class="col-sm-10">
<a class="form-control-static" target="_blank" ng-bind="partner.company_website" <a class="form-control-static" target="_blank"
href="https://{{partner.company_website}}" ></a> ng-bind="partner.company_website"
</div> href="https://{{partner.company_website}}"></a>
</div> </div>
<div class="form-group"> </div>
<label class="control-label col-sm-2">Service Phone</label> <div class="form-group">
<label class="control-label col-sm-2">Service Phone</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.company_phone||'-'"></p> <p class="form-control-static" ng-bind="partner.company_phone||'-'"></p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2">*Description</label> <label class="control-label col-sm-2">*Description</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.description"></p> <p class="form-control-static" ng-bind="partner.description"></p>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2">Remark</label> <label class="control-label col-sm-2">Remark</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.remark"></p> <p class="form-control-static" ng-bind="partner.remark"></p>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!--end 商户基本资料--> <!--end 商户基本资料-->
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Partner Contact Information</div> <div class="panel-heading">Partner Contact Information</div>
<div class="panel-body"> <div class="panel-body">
<div class="form-horizontal"> <div class="form-horizontal">
<div class="form-group"> <div class="form-group">
<label class="control-label col-sm-2">Contact Person</label> <label class="control-label col-sm-2">Contact Person</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.contact_person"></p> <p class="form-control-static" ng-bind="partner.contact_person"></p>
</div> </div>
</div> </div>
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<label class="control-label col-sm-4">Phone</label> <label class="control-label col-sm-4">Phone</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.contact_phone"></p> <p class="form-control-static" ng-bind="partner.contact_phone"></p>
</div> </div>
</div> </div>
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<label class="control-label col-sm-4">E-mail</label> <label class="control-label col-sm-4">E-mail</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-show="!ctrl.editEmail"> <p class="form-control-static" ng-show="!ctrl.editEmail">
<span ng-if="!ctrl.editEmail" ng-bind="partner.contact_email"></span> <span ng-if="!ctrl.editEmail" ng-bind="partner.contact_email"></span>
<a role="button" ng-click="ctrl.editEmail=true" ng-show="!ctrl.editEmail"><i class="fa fa-edit"></i></a> <a role="button" ng-click="ctrl.editEmail=true"
</p> ng-show="!ctrl.editEmail"><i class="fa fa-edit"></i></a>
<div class="input-group col-sm-8" ng-if="ctrl.editEmail"> </p>
<input type="text" class="form-control" ng-model="partner.contact_email" <div class="input-group col-sm-8" ng-if="ctrl.editEmail">
title="partner contact_email"> <input type="text" class="form-control" ng-model="partner.contact_email"
<div class="input-group-btn"> title="partner contact_email">
<button class="btn btn-success" ng-click="updateEmail(1);ctrl.editEmail=false"> <div class="input-group-btn">
<i class="fa fa-check"></i> <button class="btn btn-success"
</button> ng-click="updateEmail(1);ctrl.editEmail=false">
</div> <i class="fa fa-check"></i>
<div class="input-group-btn"> </button>
<button class="btn btn-danger" ng-click="ctrl.editEmail=false"> </div>
<i class="fa fa-remove"></i> <div class="input-group-btn">
</button> <button class="btn btn-danger" ng-click="ctrl.editEmail=false">
</div> <i class="fa fa-remove"></i>
</div> </button>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!--end 商户联系资料--> <!--end 商户联系资料-->
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Address Information</div> <div class="panel-heading">Address Information</div>
<div class="panel-body"> <div class="panel-body">
<div class="form-horizontal"> <div class="form-horizontal">
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<label class="control-label col-sm-4">Address</label> <label class="control-label col-sm-4">Address</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.address"></p> <p class="form-control-static" ng-bind="partner.address"></p>
</div> </div>
</div> </div>
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<label class="control-label col-sm-4">Suburb</label> <label class="control-label col-sm-4">Suburb</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.suburb"></p> <p class="form-control-static" ng-bind="partner.suburb"></p>
</div> </div>
</div> </div>
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<label class="control-label col-sm-4">PostCode</label> <label class="control-label col-sm-4">PostCode</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.postcode"></p> <p class="form-control-static" ng-bind="partner.postcode"></p>
</div> </div>
</div> </div>
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<label class="control-label col-sm-4">State</label> <label class="control-label col-sm-4">State</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.state"></p> <p class="form-control-static" ng-bind="partner.state"></p>
</div> </div>
</div> </div>
<div class="form-group col-sm-6"> <div class="form-group col-sm-6">
<label class="control-label col-sm-4">Counrty</label> <label class="control-label col-sm-4">Counrty</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.country"></p> <p class="form-control-static" ng-bind="partner.country"></p>
</div> </div>
</div>
</div>
</div>
</div>
</div>
<div class="panel panel-default" ng-show="partner.source == 4 && (partner.approve_result !=3 && partner.approve_result !=1)">
<div class="panel-heading">Partner Basic Information</div>
<div class="panel-body">
<form class="form-horizontal" novalidate name="partnerForm">
<div class="form-group">
<label class="control-label col-sm-2">* Partner Code</label>
<div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.client_moniker"></p>
</div> </div>
</div> </div>
<div class="form-group"> </div>
<label class="control-label col-sm-2">Company Name</label> </div>
</div>
<div ng-show="partner.source == 4 && (partner.approve_result !=3 && partner.approve_result !=1)">
<form class="form-horizontal" novalidate name="partnerForm">
<div class="panel panel-default">
<div class="panel-heading">Partner Basic Information</div>
<div class="panel-body">
<div class="form-group">
<label class="control-label col-sm-2">* Partner Code</label>
<div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.client_moniker"></p>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">Company Name</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.company_name"></p> <p class="form-control-static" ng-bind="partner.company_name"></p>
</div>
</div> </div>
</div> <div class="form-group">
<div class="form-group"> <label class="control-label col-sm-2">Short Name</label>
<label class="control-label col-sm-2">Short Name</label>
<div class="col-sm-8"> <div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.short_name"></p> <p class="form-control-static" ng-bind="partner.short_name"></p>
</div>
</div> </div>
</div> <div class="form-group"
<div class="form-group" ng-class="{'has-error':partnerForm.business_name.$invalid && partnerForm.business_name.$dirty}">
ng-class="{'has-error':partnerForm.business_name.$invalid && partnerForm.business_name.$dirty}"> <label class="control-label col-sm-2">Business Name</label>
<label class="control-label col-sm-2">Business Name</label> <div class="col-sm-8">
<div class="col-sm-8"> <p class="form-control-static" ng-bind="partner.business_name"></p>
<p class="form-control-static" ng-bind="partner.business_name"></p> </div>
</div> </div>
</div> <div class="form-group"
<div class="form-group" ng-class="{'has-error':partnerForm.business_structure.$invalid && partnerForm.business_structure.$dirty}">
ng-class="{'has-error':partnerForm.business_structure.$invalid && partnerForm.business_structure.$dirty}"> <label class="control-label col-sm-2" for="business-structure-input">Business
<label class="control-label col-sm-2" for="business-structure-input">Business Structure</label> Structure</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select class="form-control" name="business_structure" ng-model="partner.business_structure" <select class="form-control" name="business_structure"
id="business-structure-input" required ng-model="partner.business_structure"
ng-options="structure.value as structure.label for structure in business_structures"> id="business-structure-input" required
<option value="">Please Choose</option> ng-options="structure.value as structure.label for structure in business_structures">
</select> <option value="">Please Choose</option>
</select>
</div>
</div> </div>
</div> <div class="form-group" ng-if="!partner.parent_client_id || ('00110'|withRole)">
<div class="form-group" ng-if="!partner.parent_client_id || ('00110'|withRole)"> <label class="control-label col-sm-2">*Logo</label>
<label class="control-label col-sm-2">*Logo</label> <div class="col-sm-8">
<div class="col-sm-8"> <div class="form-control-static">
<div class="form-control-static"> <button class="btn btn-success" type="button"
<button class="btn btn-success" type="button" ngf-select="uploadLogo($file)" ngf-select="uploadLogo($file)"
accept="image/*" ngf-max-size="1MB"> accept="image/*" ngf-max-size="1MB">
<i class="fa fa-upload"></i> Upload Logo <i class="fa fa-upload"></i> Upload Logo
</button> </button>
</div> </div>
<uib-progressbar value="logoProgress.value" ng-if="logoProgress"></uib-progressbar> <uib-progressbar value="logoProgress.value"
<img ng-src="{{partner.logo_url}}" ng-if="partner.logo_url" style="height: 100px;"> ng-if="logoProgress"></uib-progressbar>
<img ng-src="{{partner.logo_url}}" ng-if="partner.logo_url"
style="height: 100px;">
</div>
</div> </div>
</div> <div class="form-group"
<div class="form-group" ng-class="{'has-error':partnerForm.abn.$invalid && partnerForm.abn.$dirty}"
ng-class="{'has-error':partnerForm.abn.$invalid && partnerForm.abn.$dirty}" ng-if="partner.business_structure != 'Company'"> ng-if="partner.business_structure != 'Company'">
<label class="control-label col-sm-2" for="abn-input">ABN</label> <label class="control-label col-sm-2" for="abn-input">ABN</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" ng-model="partner.abn" type="text" name="abn" <input class="form-control" ng-model="partner.abn" type="text" name="abn"
id="abn-input" id="abn-input"
maxlength="20" required> maxlength="20" required>
<div ng-messages="partnerForm.abn.$error" ng-if="partnerForm.abn.$dirty"> <div ng-messages="partnerForm.abn.$error" ng-if="partnerForm.abn.$dirty">
<p class="small text-danger" ng-message="required">Less Than 20 <p class="small text-danger" ng-message="required">Less Than 20
Characters(including symbols and spaces)</p> Characters(including symbols and spaces)</p>
</div>
</div> </div>
</div> </div>
</div> <div class="form-group"
<div class="form-group" ng-class="{'has-error':partnerForm.acn.$invalid && partnerForm.acn.$dirty}"
ng-class="{'has-error':partnerForm.acn.$invalid && partnerForm.acn.$dirty}" ng-if="partner.business_structure == 'Company'"> ng-if="partner.business_structure == 'Company'">
<label class="control-label col-sm-2" for="acn-input">ACN</label> <label class="control-label col-sm-2" for="acn-input">ACN</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" ng-model="partner.acn" type="text" name="acn" <input class="form-control" ng-model="partner.acn" type="text" name="acn"
id="acn-input" maxlength="20" required> id="acn-input" maxlength="20" required>
<div ng-messages="partnerForm.acn.$error" ng-if="partnerForm.acn.$dirty"> <div ng-messages="partnerForm.acn.$error" ng-if="partnerForm.acn.$dirty">
<p class="small text-danger" ng-message="required">Less Than 20 <p class="small text-danger" ng-message="required">Less Than 20
Characters(including symbols and spaces)</p> Characters(including symbols and spaces)</p>
</div>
</div> </div>
</div> </div>
</div> <div class="form-group" ng-if="!partner.parent_client_id || ('00110'|withRole)"
ng-class="{'has-error':partnerForm.partner_type.$invalid && partnerForm.partner_type.$dirty}">
<div class="form-group" ng-if="!partner.parent_client_id || ('00110'|withRole)" <label class="control-label col-sm-2" for="partner-type-select">*
ng-class="{'has-error':partnerForm.partner_type.$invalid && partnerForm.partner_type.$dirty}"> Photo/Website</label>
<label class="control-label col-sm-2" for="partner-type-select">* Photo/Website</label> <div class="col-sm-8">
<div class="col-sm-8"> <select class="form-control" ng-model="partner.partner_type"
<select class="form-control" ng-model="partner.partner_type" id="partner-type-select" required
id="partner-type-select" required name="partner_type">
name="partner_type"> <option value="">Please Choose</option>
<option value="">Please Choose</option> <option value="photo">Photo</option>
<option value="photo">Photo</option> <option value="companyWebsite">Website</option>
<option value="companyWebsite">Website</option> </select>
</select> <p class="small text-info">If the partner is a offline shop then a photo of
<p class="small text-info">If the partner is a offline shop then a photo of shop is shop
required while an online store shall choose company website</p> is
<p class="small text-info"> required while an online store shall choose company website</p>
只要有可能产生线下交易商户静态码、POS就必须上传照片否则支付宝会禁止交易</p> <p class="small text-info">
<div ng-messages="partnerForm.partner_type.$error" 只要有可能产生线下交易商户静态码、POS就必须上传照片否则支付宝会禁止交易</p>
ng-if="partnerForm.partner_type.$dirty"> <div ng-messages="partnerForm.partner_type.$error"
<p class="small text-danger" ng-message="required">Required Field</p> ng-if="partnerForm.partner_type.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
</div>
</div> </div>
</div> </div>
</div> <div class="form-group"
<div class="form-group" ng-if="partner.partner_type == 'photo'">
ng-if="partner.partner_type == 'photo'"> <label class="control-label col-sm-2">* Shop Photo</label>
<label class="control-label col-sm-2">* Shop Photo</label> <div class="col-sm-5">
<div class="col-sm-5"> <div class="form-control-static"><em>1:</em>&nbsp;
<div class="form-control-static"><em>1:</em>&nbsp; <button class="btn btn-primary" type="button"
<button class="btn btn-primary" type="button" ngf-select="uploadShopPhoto($file)" accept="image/*"
ngf-select="uploadShopPhoto($file)" accept="image/*" ngf-max-size="2MB"> ngf-max-size="2MB">
<i class="fa fa-upload"></i> Upload Shop Photo1 <i class="fa fa-upload"></i> Upload Shop Photo1
</button> </button>
</div> </div>
<uib-progressbar value="shopPhotoProgress.value" <uib-progressbar value="shopPhotoProgress.value"
ng-if="shopPhotoProgress"></uib-progressbar> ng-if="shopPhotoProgress"></uib-progressbar>
<img ng-src="{{partner.company_photo}}" ng-if="partner.company_photo" class="thumbnail img-size col-sm-5"> <img ng-src="{{partner.company_photo}}" ng-if="partner.company_photo"
</div> class="thumbnail img-size col-sm-5">
<div class="col-sm-5"> </div>
<div class="form-control-static"><em>2:</em>&nbsp; <div class="col-sm-5">
<button class="btn btn-primary" type="button" <div class="form-control-static"><em>2:</em>&nbsp;
ngf-select="uploadStorePhoto($file)" accept="image/*" <button class="btn btn-primary" type="button"
ngf-max-size="2MB"> ngf-select="uploadStorePhoto($file)" accept="image/*"
<i class="fa fa-upload"></i> Upload Shop Photo2 ngf-max-size="2MB">
</button> <i class="fa fa-upload"></i> Upload Shop Photo2
</div> </button>
<uib-progressbar value="storePhotoProgress.value" </div>
ng-if="storePhotoProgress"></uib-progressbar> <uib-progressbar value="storePhotoProgress.value"
<img ng-src="{{partner.store_photo}}" ng-if="partner.store_photo" class="thumbnail img-size col-sm-5"> ng-if="storePhotoProgress"></uib-progressbar>
<img ng-src="{{partner.store_photo}}" ng-if="partner.store_photo"
class="thumbnail img-size col-sm-5">
</div>
</div> </div>
</div> <div class="form-group"
<div class="form-group" ng-if="partner.partner_type == 'companyWebsite' && (!partner.parent_client_id || ('00110'|withRole))"
ng-if="partner.partner_type == 'companyWebsite' && (!partner.parent_client_id || ('00110'|withRole))" ng-class="{'has-error':partnerForm.company_website.$invalid && partnerForm.company_website.$dirty}">
ng-class="{'has-error':partnerForm.company_website.$invalid && partnerForm.company_website.$dirty}"> <label class="control-label col-sm-2" for="company_website-input">*
<label class="control-label col-sm-2" for="company_website-input">* Website</label> Website</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input type="text" name="company_website" class="form-control" <input type="text" name="company_website" class="form-control"
ng-model="partner.company_website" ng-model="partner.company_website"
id="company_website-input" required maxlength="200"> id="company_website-input" required maxlength="200">
<div ng-messages="partnerForm.company_website.$error" <div ng-messages="partnerForm.company_website.$error"
ng-if="partnerForm.company_website.$dirty"> ng-if="partnerForm.company_website.$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="required">Less Than 200 <p class="small text-danger" ng-message="required">Less Than 200
Characters(including symbols and spaces)</p> Characters(including symbols and spaces)</p>
</div>
</div> </div>
</div> </div>
</div> <div class="form-group">
<div class="form-group"> <label class="control-label col-sm-2">Service Phone</label>
<label class="control-label col-sm-2">Service Phone</label>
<div class="col-sm-10"> <div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.company_phone||'-'"></p> <p class="form-control-static" ng-bind="partner.company_phone||'-'"></p>
</div>
</div> </div>
</div> <div class="form-group"
<div class="form-group" ng-class="{'has-error':partnerForm.description.$invalid && partnerForm.description.$dirty}">
ng-class="{'has-error':partnerForm.description.$invalid && partnerForm.description.$dirty}"> <label class="control-label col-sm-2" for="desc-input">Description</label>
<label class="control-label col-sm-2" for="desc-input">Description</label> <div class="col-sm-8">
<div class="col-sm-8">
<textarea class="form-control" ng-model="partner.description" <textarea class="form-control" ng-model="partner.description"
name="description" id="desc-input" maxlength="200" required name="description" id="desc-input" maxlength="200" required
placeholder="Tell me about your company and the main products you sell"></textarea> placeholder="Tell me about your company and the main products you sell"></textarea>
<div ng-messages="partnerForm.description.$error" <div ng-messages="partnerForm.description.$error"
ng-if="partnerForm.description.$dirty"> ng-if="partnerForm.description.$dirty">
<p class="small text-danger" ng-message="maxlength">Less Than 200 <p class="small text-danger" ng-message="maxlength">Less Than 200
Characters(including symbols and spaces)</p> Characters(including symbols and spaces)</p>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="btn-group margin-bottom margin-top"> </div>
<button class="btn btn-success" type="button" ng-click="updatePartner(partnerForm)">Save <div class="panel panel-default">
</button> <div class="panel-heading">Store Information &nbsp; <em class="small"><b>(Optional)</b></em></div>
<a class="btn btn-danger" role="button" ui-sref="^" ui-sref-opts="{reload:true}">Back</a> <div class="panel-body">
<div class="form-horizontal">
<div class="form-group">
<label class="control-label col-sm-2">
Business Hours</label>
<div class="col-sm-8">
<input type="text" class="form-control" ng-model="partner.business_hours">
<p class="small text-info">
eg:Monday-Friday 09:00-20:00,Saturday-Sunday 10:00-22:00</p>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">
Merchant Tag<em class="small">(Chinese)</em></label>
<div class="col-sm-8">
<input type="text" class="form-control" ng-model="partner.merchant_tag">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">
Merchant Introduction<em class="small">(Chinese)</em></label>
<div class="col-sm-8">
<textarea class="form-control" ng-model="partner.merchant_introduction"></textarea>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">
Video Introduction<br><em class="small">(youtube link)</em></label>
<div class="col-sm-8">
<input type="text" class="form-control" ng-model="partner.merchant_video_url">
<p class="small text-info">eg:https://www.baidu.com</p>
</div>
</div>
</div>
</div> </div>
</form> </div>
</div> <div class="btn-group margin-bottom margin-top">
<button class="btn btn-success" type="button"
ng-click="updatePartner(partnerForm)">
Save
</button>
<a class="btn btn-danger" role="button" ui-sref="^"
ui-sref-opts="{reload:true}">Back</a>
</div>
</form>
</div> </div>
</div>
<!--end 商户基本资料--> <!--end 商户基本资料-->
</div> </div>

Loading…
Cancel
Save