feat(royalpay): 修改子目录名称

master
xiao.tang 4 years ago
parent 564a822f0e
commit 5c052715bf

@ -36,7 +36,7 @@
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
.open>.dropdown-toggle.btn-default {
color: #333;
background-color: #f7bf90;
border-color: #adadad;
@ -44,12 +44,13 @@
</style>
<section class="content-header">
<h1>
<span ng-bind="partner.company_name"></span><span ng-if="partner.source==5" style="color:red;font-size:14px">(Gateway API)</span>
<span ng-bind="partner.company_name"></span><span ng-if="partner.source==5"
style="color:red;font-size:14px">(Gateway API)</span>
<i ng-if="partner.parent_client_id" class="fa fa-sitemap" title="Sub Partner"></i>
<a class="text-primary" ng-if="'00011'|withRole" title="Mock Login"
ng-href="/global/userstatus/current_manager/clients/{{partner.client_moniker}}/auth" target="_blank"><i
ng-href="/global/userstatus/current_manager/clients/{{partner.client_moniker}}/auth" target="_blank"><i
class="fa fa-share"></i></a><span ng-if="partner.is_valid==0"
ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
</h1>
<ol class="breadcrumb">
<li>
@ -64,13 +65,12 @@
<div class="box box-warning" ng-if="('10'|withRole)">
<div class="box-header with-border">
<h3 class="box-title"><img style="height: 20px;width: 20px" height="20px"
src="/static/images/royalpay_sign_s.png">Cross-border payment Compliance <span
ng-if="partner.approve_result==5 || partner.refuse_remark.length>0"
style="color: red">(Refused
<small class=""
ng-if="partner.approve_result==5 || partner.refuse_remark.length>0">:{{partner.refuse_remark}}</small>)</span>
src="/static/images/royalpay_sign_s.png">Cross-border payment Compliance <span
ng-if="partner.approve_result==5 || partner.refuse_remark.length>0" style="color: red">(Refused
<small class=""
ng-if="partner.approve_result==5 || partner.refuse_remark.length>0">:{{partner.refuse_remark}}</small>)</span>
<span ng-if="(partner.source==1 || partner.source==2) && partner.approve_result==2"
style="color: green">(The Partner Using Green Channel Now!)</span>
style="color: green">(The Partner Using Green Channel Now!)</span>
【目前状态】-
<b ng-if="partner.source==4">
<span ng-if="!partner.approve_result">(自助申请)资料完善中</span>
@ -91,7 +91,7 @@
<span ng-if="partner.is_valid==0" ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
</h3>
<button ng-if="!partner.is_valid" type="button" class="btn btn-success" style="float:right;"
ng-click="revertClient()">Revert
ng-click="revertClient()">Revert
</button>
</div>
<div class="box-body" ng-if="partner.is_valid==1">
@ -103,15 +103,16 @@
<a role="button" type="button" class="btn btn-success" ng-click="exportAgreegatePDF()">
制作全支付合同</a>
<a role="button" type="button" class="btn btn-warning" ngf-select="uploadAgreeFile($file)"
accept="pdf/*">
accept="pdf/*">
上传合同</a> (通用合同请选择制作合同,非通用合同模板请人工制作合同后上传)
</div>
<div class="btn-group pull-right" role="group" aria-label="...">
<button type="button" ng-if="partner.open_status!=10 && partner.approve_result!=1"
class="btn btn-success" ng-click="passClient()">Pass
class="btn btn-success" ng-click="passClient()">Pass
</button>
<button ng-if="(partner.open_status==1||partner.open_status==10) && partner.approve_result>3 || partner.open_status==4"
type="button" class="btn btn-primary" ng-click="refuse()">Refuse
<button
ng-if="(partner.open_status==1||partner.open_status==10) && partner.approve_result>3 || partner.open_status==4"
type="button" class="btn btn-primary" ng-click="refuse()">Refuse
</button>
</div>
@ -122,14 +123,13 @@
</button>
</div>
<a style="margin-top: 5px" ng-if="fileManager.source_agree_file" role="button"
class="btn-group btn btn-warning" style="margin-top: 5px"
type="button" ng-href="{{fileManager.source_agree_file}}" target="_blank"><i
class="fa fa-download"></i>下载合同</a>
class="btn-group btn btn-warning" style="margin-top: 5px" type="button"
ng-href="{{fileManager.source_agree_file}}" target="_blank"><i class="fa fa-download"></i>下载合同</a>
<span style="margin-top: 5px" ng-if="partner.open_status != 5">
<a ng-if="partner.open_status==2" role="button" type="button" class="btn btn-primary"
ng-click="notifyBD()">
<i class="fa fa-thumb-tack"></i> Notify BD</a>
</span>
<a ng-if="partner.open_status==2" role="button" type="button" class="btn btn-primary"
ng-click="notifyBD()">
<i class="fa fa-thumb-tack"></i> Notify BD</a>
</span>
<div ng-if="partner.audit_logs">
<hr>
<!--<p>-->
@ -148,11 +148,11 @@
<i class="fa fa-arrow-right" aria-hidden="true"></i>
<div class="btn-group-vertical">
<button type="button" class="btn btn-xs btn-primary"
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
{{log.remark}}
</button>
<button type="button" class="btn btn-xs btn-primary"
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
{{log.operator}} | {{log.create_time}}
</button>
</div>
@ -162,15 +162,15 @@
</div>
</div>
<div class="box" ng-if="('100'|withRole) && partner.show_all_permission"
ng-class="{'box-warning':partner.approve_result!=5,'box-danger':partner.approve_result==5}">
ng-class="{'box-warning':partner.approve_result!=5,'box-danger':partner.approve_result==5}">
<div class="box-header with-border">
<h3 class="box-title">
<img style="height: 20px;width: 20px" src="/static/images/royalpay_sign_s.png">
Operation <span ng-if="partner.approve_result==5" style="color: red">
(Refused
<small class="" ng-if="partner.approve_result==5">:{{partner.refuse_remark}}</small>
)</span><span ng-if="(partner.source==1 || partner.source==2) && partner.approve_result==2"
style="color: green">(The Partner Using Green Channel Now!)</span>
(Refused
<small class="" ng-if="partner.approve_result==5">:{{partner.refuse_remark}}</small>
)</span><span ng-if="(partner.source==1 || partner.source==2) && partner.approve_result==2"
style="color: green">(The Partner Using Green Channel Now!)</span>
【目前状态】-
<span ng-if="!partner.open_status">暂未提交申请</span>
<span ng-if="partner.open_status==1">待审核(合同制作中)</span>
@ -184,15 +184,14 @@
</div>
<div class="box-body">
<!--<div class="pull-left" ng-if="partner.approve_result==5">Remark:{{partner.refuse_remark}}</div>-->
<a ng-if="fileManager.source_agree_file" role="button" class="btn-group btn btn-warning"
type="button" ng-href="{{fileManager.source_agree_file}}" target="_blank"> <i
class="fa fa-download"></i>下载合同</a>
<a ng-if="fileManager.source_agree_file" role="button" class="btn-group btn btn-warning" type="button"
ng-href="{{fileManager.source_agree_file}}" target="_blank"> <i class="fa fa-download"></i>下载合同</a>
<div ng-if="partner.open_status==3" class="btn-group pull-right" role="group" aria-label="...">
<button type="button" class="btn btn-danger" ng-click="commitToCompliance()">Commit to Compliance
</button>
</div>
<div ng-if="!partner.open_status || (partner.open_status==9 && partner.approve_result==5)"
class="btn-group pull-right" role="group" aria-label="...">
class="btn-group pull-right" role="group" aria-label="...">
<button type="button" class="btn btn-success" ng-click="commit2GreenChannel()">
<i class="fa fa-paper-plane"></i>
绿色通道
@ -222,11 +221,11 @@
<i class="fa fa-arrow-right" aria-hidden="true" style="margin-top: 5px"></i>
<div class="btn-group-vertical" style="margin-top: 5px">
<button type="button" class="btn btn-xs btn-primary"
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
{{log.remark}}
</button>
<button type="button" class="btn btn-xs btn-primary"
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
{{log.operator}} | {{log.create_time}}
</button>
</div>
@ -241,10 +240,11 @@
<div class="box box-warning" ng-if="('10'|withRole)">
<div class="box-header with-border">
<h3 class="box-title"><span style="width: 20px;height: 20px"><img style="height: 20px;width: 20px"
src="/static/images/card_payment_sign.png"></span>
src="/static/images/card_payment_sign.png"></span>
Card Payment Compliance
<span ng-if="partner.upay_approve_result==5" style="color: red">(Refused
<small class="" ng-if="partner.upay_approve_result==5 || partner.upay_refuse_remark.length>0">:{{partner.upay_refuse_remark}}</small>)
<small class=""
ng-if="partner.upay_approve_result==5 || partner.upay_refuse_remark.length>0">:{{partner.upay_refuse_remark}}</small>)
</span>
【目前状态】-
<b ng-if="partner.source==4">
@ -265,38 +265,38 @@
<span ng-if="partner.is_valid==0" ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
</h3>
<button ng-if="!partner.is_valid" type="button" class="btn btn-success" style="float:right;"
ng-click="revertClient()">Revert
ng-click="revertClient()">Revert
</button>
</div>
<div class="box-body" ng-if="partner.is_valid==1">
<a ng-if="partner.upay_open_status != 5 && partner.upay_open_status" role="button" type="button"
class="btn btn-success" ng-click="exportCardAgreegatePDF()">
class="btn btn-success" ng-click="exportCardAgreegatePDF()">
制作Card Payment合同</a>
<div class="btn-group pull-right" role="group" aria-label="...">
<button type="button"
ng-if="partner.upay_open_status==1 && partner.upay_approve_result>1 || partner.upay_open_status==4"
class="btn btn-success" ng-click="passCardClient()">Pass
ng-if="partner.upay_open_status==1 && partner.upay_approve_result>1 || partner.upay_open_status==4"
class="btn btn-success" ng-click="passCardClient()">Pass
</button>
<button ng-if="partner.upay_open_status==1 ||partner.upay_open_status==4"
type="button" class="btn btn-primary" ng-click="cardRefuse()">Refuse
<button ng-if="partner.upay_open_status==1 ||partner.upay_open_status==4" type="button"
class="btn btn-primary" ng-click="cardRefuse()">Refuse
</button>
</div>
<a ng-if="letterOfOfferFileManager.letter_of_offer_file" role="button" class="btn-group btn btn-warning"
type="button" ng-href="{{letterOfOfferFileManager.letter_of_offer_file}}" target="_blank"> <i
type="button" ng-href="{{letterOfOfferFileManager.letter_of_offer_file}}" target="_blank"> <i
class="fa fa-download"></i>下载Letter Of Offer合同</a>
<!-- <a ng-if="termsAndConditionsFile.terms_and_conditions_file" role="button" class="btn-group btn btn-warning"-->
<!-- type="button" ng-href="{{termsAndConditionsFile.terms_and_conditions_file}}" target="_blank"> <i-->
<!-- class="fa fa-download"></i>下载Terms And Conditions合同</a>-->
<!-- <a ng-if="termsAndConditionsFile.terms_and_conditions_file" role="button" class="btn-group btn btn-warning"-->
<!-- type="button" ng-href="{{termsAndConditionsFile.terms_and_conditions_file}}" target="_blank"> <i-->
<!-- class="fa fa-download"></i>下载Terms And Conditions合同</a>-->
<span style="margin-top: 5px" ng-if="partner.upay_open_status != 5">
<a ng-if="partner.upay_open_status==2" role="button" type="button" class="btn btn-primary"
ng-click="cardNotifyBD()">
ng-click="cardNotifyBD()">
<i class="fa fa-thumb-tack"></i> Notify BD</a>
<div ng-if="!partner.upay_open_status" class="btn-group pull-right" role="group" aria-label="...">
<button type="button" class="btn btn-primary" ng-click="apply2makeCardAgreeFile()">
<i class="fa fa-paper-plane"></i>
提交合规制作卡支付合同
</button>
</div>
<div ng-if="!partner.upay_open_status" class="btn-group pull-right" role="group" aria-label="...">
<button type="button" class="btn btn-primary" ng-click="apply2makeCardAgreeFile()">
<i class="fa fa-paper-plane"></i>
提交合规制作卡支付合同
</button>
</div>
</span>
<div ng-if="partner.audit_card_logs">
<hr>
@ -310,11 +310,11 @@
<i class="fa fa-arrow-right" aria-hidden="true"></i>
<div class="btn-group-vertical">
<button type="button" class="btn btn-xs btn-primary"
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
{{log.remark}}
</button>
<button type="button" class="btn btn-xs btn-primary"
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
{{log.operator}} | {{log.create_time}}
</button>
</div>
@ -325,14 +325,14 @@
</div>
<!-- 给BD权限查看 -->
<div class="box" ng-if="('100'|withRole) && partner.show_all_permission"
ng-class="{'box-warning':partner.upay_approve_result!=5,'box-danger':partner.upay_approve_result==5}">
ng-class="{'box-warning':partner.upay_approve_result!=5,'box-danger':partner.upay_approve_result==5}">
<div class="box-header with-border">
<h3 class="box-title"><img style="height: 20px;width: 20px" src="/static/images/card_payment_sign.png">
Operation <span ng-if="partner.upay_approve_result==5" style="color: red">
(Refused
<small class="" ng-if="partner.upay_approve_result==5">:{{partner.upay_refuse_remark}}</small>
)</span><span ng-if="(partner.source==1 || partner.source==2) && partner.approve_result==2"
style="color: green">(The Partner Using Green Channel Now!)</span>
(Refused
<small class="" ng-if="partner.upay_approve_result==5">:{{partner.upay_refuse_remark}}</small>
)</span><span ng-if="(partner.source==1 || partner.source==2) && partner.approve_result==2"
style="color: green">(The Partner Using Green Channel Now!)</span>
【目前状态】-
<span ng-if="!partner.upay_open_status">暂未提交申请</span>
<span ng-if="partner.upay_open_status==1">待审核(合同制作中)</span>
@ -346,8 +346,8 @@
</div>
<div class="box-body">
<a ng-if="letterOfOfferFileManager.letter_of_offer_file && partner.upay_approve_result!=1" role="button"
class="btn-group btn btn-warning"
type="button" ng-href="{{letterOfOfferFileManager.letter_of_offer_file}}" target="_blank"> <i
class="btn-group btn btn-warning" type="button"
ng-href="{{letterOfOfferFileManager.letter_of_offer_file}}" target="_blank"> <i
class="fa fa-download"></i>下载Letter Of Offer合同</a>
<!--<a ng-if="termsAndConditionsFile.terms_and_conditions_file && partner.upay_approve_result!=1" role="button"
class="btn-group btn btn-warning"
@ -375,11 +375,11 @@
<i class="fa fa-arrow-right" aria-hidden="true" style="margin-top: 5px"></i>
<div class="btn-group-vertical">
<button type="button" class="btn btn-xs btn-primary"
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
{{log.remark}}
</button>
<button type="button" class="btn btn-xs btn-primary"
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
ng-class="{'btn-danger':log.remark.indexOf('打回')>-1,'btn-success':log.open_status_to==5||(log.open_status_from==10 && log.open_status_to==1)}">
{{log.operator}} | {{log.create_time}}
</button>
</div>
@ -420,8 +420,7 @@
<li ui-sref-active="active" ng-if="partner.show_all_permission && partner.is_valid==1">
<a ui-sref=".accounts">Partner Accounts</a>
</li>
<li ui-sref-active="active"
ng-if="partner.show_all_permission && partner.is_valid==1">
<li ui-sref-active="active" ng-if="partner.show_all_permission && partner.is_valid==1">
<a ui-sref=".subpartners">Subpartners</a>
</li>
<li ui-sref-active="active" ng-if="false && partner.is_valid==1">
@ -455,7 +454,7 @@
<a ui-sref=".product">Product</a>
</li>
<li ui-sref-active="active" ng-if="('10'|withRole) && partner.is_valid==1">
<a ui-sref=".sub_merchant_applicaitons">Merchant Id Applicaitons</a>
<a ui-sref=".sub_merchant_applicaitons">MID Management</a>
</li>
<li ui-sref-active="active" ng-if="partner.is_valid==1">
<a ui-sref=".permission_client">Permissions</a>
@ -469,12 +468,12 @@
<div class="panel-heading">
Partner Basic Information
<a role="button" class="" ng-click="configMasterMerchant()"
ng-if="partner.show_all_permission && ('10'|withRole)||(partner.show_all_permission && ('1'|withRole))">
ng-if="partner.show_all_permission && ('10'|withRole)||(partner.show_all_permission && ('1'|withRole))">
(<i class="fa fa-arrows" aria-hidden="true"></i> Config master merchant)
</a>
<a role="button" class="pull-right"
ng-if="partner.show_all_permission && ('110'|withRole)||(partner.show_all_permission && ('1'|withRole))"
ui-sref="partners.edit({clientMoniker:partner.client_moniker})">
ng-if="partner.show_all_permission && ('110'|withRole)||(partner.show_all_permission && ('1'|withRole))"
ui-sref="partners.edit({clientMoniker:partner.client_moniker})">
<i class="fa fa-edit"></i> Edit
</a>
</div>
@ -487,10 +486,10 @@
<span id="parent_code">{{partner.client_moniker}}</span>
<span ng-if="partner.parent_client_id!=null">(Sub Partner of
<a ui-sref="partners.detail({clientMoniker:partner.parent_client.client_moniker})"
ng-bind="partner.parent_client.client_moniker"></a>)
ng-bind="partner.parent_client.client_moniker"></a>)
</span>
<span ng-if="partner.is_valid==0"
ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
</p>
</div>
</div>
@ -500,13 +499,12 @@
<div class="col-sm-10">
<p class="form-control-static">
<span ng-bind="partner.company_name"></span>
<span
ng-if="isComplianceOfCompanyName && partner.open_status"
style="margin-left: 10px;font-weight: 700;color: red;">
注意:(微信渠道可能不合规)
</span>
<span ng-if="isComplianceOfCompanyName && partner.open_status"
style="margin-left: 10px;font-weight: 700;color: red;">
注意:(微信渠道可能不合规)
</span>
<span ng-if="('10000000010' | withRole)" class="description-text text-red"
ng-bind="partner.same_company_name"></span>
ng-bind="partner.same_company_name"></span>
</p>
</div>
</div>
@ -516,8 +514,8 @@
<div class="col-sm-10">
<p class="form-control-static pull-left" ng-bind="partner.short_name"></p>
<p class="form-control-static pull-left"
ng-if="isComplianceOfShortName && partner.open_status"
style="margin-left: 10px;font-weight: 700;color: red;">
ng-if="isComplianceOfShortName && partner.open_status"
style="margin-left: 10px;font-weight: 700;color: red;">
注意:(微信渠道可能不合规)
</p>
</div>
@ -540,8 +538,8 @@
<div class="col-sm-10">
<p class="form-control-static pull-left" ng-bind="partner.store_name"></p>
<p class="form-control-static pull-left"
ng-if="isComplianceOfShortName && partner.open_status"
style="margin-left: 10px;font-weight: 700;color: red;">
ng-if="isComplianceOfShortName && partner.open_status"
style="margin-left: 10px;font-weight: 700;color: red;">
注意:(微信渠道可能不合规)
</p>
</div>
@ -552,41 +550,37 @@
<div class="col-sm-10">
<p class="form-control-static pull-left"
ng-bind="partner.business_structure|business_structure"></p>
ng-bind="partner.business_structure|business_structure"></p>
<p class="form-control-static pull-left"
ng-if="isComplianceOfBusinessStructure && partner.open_status"
style="margin-left: 10px;font-weight: 700;color: red;">
ng-if="isComplianceOfBusinessStructure && partner.open_status"
style="margin-left: 10px;font-weight: 700;color: red;">
注意:(微信渠道可能不合规)
</p>
</div>
</div>
<div class="form-group" ng-if="partner.director_name" >
<label
class="control-label col-sm-2">Director Name</label>
<div class="form-group" ng-if="partner.director_name">
<label class="control-label col-sm-2">Director Name</label>
<div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.director_name"></p>
</div>
</div>
<div class="form-group" ng-if="partner.director_id_number">
<label
class="control-label col-sm-2">Director Id</label>
<label class="control-label col-sm-2">Director Id</label>
<div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.director_id_number"></p>
</div>
</div>
<div class="form-group" ng-if="partner.principal_name">
<label
class="control-label col-sm-2">Principal Name</label>
<label class="control-label col-sm-2">Principal Name</label>
<div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.principal_name"></p>
</div>
</div>
<div class="form-group" ng-if="partner.principal_id_number">
<label
class="control-label col-sm-2">Principal Id</label>
<label class="control-label col-sm-2">Principal Id</label>
<div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.principal_id_number"></p>
@ -611,8 +605,9 @@
<p class="form-control-static" ng-bind="partner.acn"></p>
</div>
</div>
<div class="form-group" >
<label class="control-label col-sm-2">Expiration Date of Registration Certificat</label>
<div class="form-group">
<label class="control-label col-sm-2">Expiration Date of Registration
Certificat</label>
<div class="col-sm-10">
<p class="form-control-static" ng-bind="partner.certificat_expire_date"></p>
@ -643,7 +638,7 @@
<label class="control-label col-sm-2">Local Merchant</label>
<div class="col-sm-10">
<input type="checkbox" ng-model="partner.local_merchant" bs-switch
switch-change="changeLocalMerchant()">
switch-change="changeLocalMerchant()">
</div>
</div>
<div class="form-group">
@ -684,36 +679,39 @@
<!--</p>-->
<table class="table table-bordered">
<thead>
<tr>
<th>Start Date</th>
<th>End Date</th>
<th>BD Name</th>
<th>Proportion</th>
<th ng-if="('00010'|withRole) || (('1000000000000'|withRole) && partner.show_all_permission)">
Operation
</th>
</tr>
<tr>
<th>Start Date</th>
<th>End Date</th>
<th>BD Name</th>
<th>Proportion</th>
<th
ng-if="('00010'|withRole) || (('1000000000000'|withRole) && partner.show_all_permission)">
Operation
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="bd in partner.client_bds">
<td ng-bind="bd.start_date|date:'yyyy-MM-dd'"></td>
<td ng-bind="bd.end_date|date:'yyyy-MM-dd'"></td>
<td ng-bind="bd.bd_name"></td>
<td ng-bind="bd.proportion"></td>
<td ng-if="('00010'|withRole) || (('1000000000000'|withRole) && partner.show_all_permission) ">
<a role="button" ng-click="editBDUser()" ng-if="bd.end_date==null">
<i class="fa fa-pencil-square-o"></i>
</a>
</td>
</tr>
<tr ng-repeat="bd in partner.client_bds">
<td ng-bind="bd.start_date|date:'yyyy-MM-dd'"></td>
<td ng-bind="bd.end_date|date:'yyyy-MM-dd'"></td>
<td ng-bind="bd.bd_name"></td>
<td ng-bind="bd.proportion"></td>
<td
ng-if="('00010'|withRole) || (('1000000000000'|withRole) && partner.show_all_permission) ">
<a role="button" ng-click="editBDUser()"
ng-if="bd.end_date==null">
<i class="fa fa-pencil-square-o"></i>
</a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-2">
<p class="form-control-static">
<!--<span ng-bind="partner.bd_user_name||'Not Bind'"></span>-->
<a role="button" ng-click="bindBDUser()"
ng-if="('00010'|withRole)">New Policy +</a>
<a role="button" ng-click="bindBDUser()" ng-if="('00010'|withRole)">New
Policy +</a>
</p>
</div>
</div>
@ -730,44 +728,43 @@
Merchant Payment Scenario Type</label>
<div class="col-sm-8">
<button class="btn btn-default"
ng-class="{active:partner.client_pay_type.indexOf('1')>=0}">
ng-class="{active:partner.client_pay_type.indexOf('1')>=0}">
<i class="fa fa-mixcloud"></i>
线上
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_type.indexOf('2')>=0}">
ng-class="{active:partner.client_pay_type.indexOf('2')>=0}">
<i class="fa fa-shopping-basket"></i>
线下
</button>
</div>
</div>
<div class="form-group"
ng-if="partner.client_pay_type.indexOf('1')>=0">
<div class="form-group" ng-if="partner.client_pay_type.indexOf('1')>=0">
<label class="control-label col-sm-2">
Online</label>
<div class="col-sm-8">
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('101')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('101')>=0}">
<i class="fa fa-desktop"></i>
PC网站
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('102')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('102')>=0}">
<i class="fa fa-mobile-phone"></i>
手机端网站
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('103')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('103')>=0}">
<i class="fa fa-mobile-phone"></i>
APP
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('104')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('104')>=0}">
<i class="fa fa-wechat"></i>
微信内、支付宝内网站
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('105')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('105')>=0}">
<i class="fa fa-wechat"></i>
小程序
</button>
@ -775,26 +772,26 @@
</div>
<div ng-if="partner.client_pay_type.indexOf('2')>=0">
<div class="form-group"
ng-class="{'has-error':partnerForm.client_offline.$invalid && partnerForm.client_offline.$dirty}">
ng-class="{'has-error':partnerForm.client_offline.$invalid && partnerForm.client_offline.$dirty}">
<label class="control-label col-sm-2">Offline</label>
<div class="col-sm-8">
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('201')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('201')>=0}">
<i class="fa fa-qrcode"></i>
二维码立牌
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('202')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('202')>=0}">
<i class="fa fa-user"></i>
RoyalPay POS
</button>
<button class="btn btn-default"
ng-class="{active:(partner.client_pay_desc.join(',').indexOf('203')>=0)}">
ng-class="{active:(partner.client_pay_desc.join(',').indexOf('203')>=0)}">
<i class="fa fa-laptop"></i>
收银系统
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('204')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('204')>=0}">
<i class="fa fa-shopping-cart"></i>
无人售货机
</button>
@ -803,51 +800,51 @@
</div>
<div ng-if="partner.client_pay_desc.join(',').indexOf('203')>=0">
<div class="form-group"
ng-class="{'has-error':partnerForm.client_offline.$invalid && partnerForm.client_offline.$dirty}">
ng-class="{'has-error':partnerForm.client_offline.$invalid && partnerForm.client_offline.$dirty}">
<label class="control-label col-sm-2">* POS</label>
<div class="col-sm-8">
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20301')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20301')>=0}">
<i class="fa fa-laptop"></i>
ipos
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20302')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20302')>=0}">
<i class="fa fa-laptop"></i>
pospal
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20304')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20304')>=0}">
<i class="fa fa-laptop"></i>
Lotus
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20305')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20305')>=0}">
<i class="fa fa-laptop"></i>
AoShangBao
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20306')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20306')>=0}">
<i class="fa fa-laptop"></i>
Infinity
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20307')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20307')>=0}">
<i class="fa fa-laptop"></i>
EasyCloud
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20303')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20303')>=0}">
<i class="fa fa-laptop"></i>
Aus Post
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20308')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20308')>=0}">
<i class="fa fa-laptop"></i>
AoMaiKe
</button>
<button class="btn btn-default"
ng-class="{active:partner.client_pay_desc.indexOf('20399')>=0}">
ng-class="{active:partner.client_pay_desc.indexOf('20399')>=0}">
<i class="fa fa-laptop"></i>
其他
</button>
@ -855,12 +852,12 @@
</div>
</div>
<div class="form-group"
ng-if="partner.company_website!='' && partner.company_website.length>0">
ng-if="partner.company_website!='' && partner.company_website.length>0">
<label class="control-label col-sm-2">Website</label>
<div class="col-sm-10" style="padding-top: 7px;">
<a class="form-control-static" target="_blank" ng-bind="partner.company_website"
href="{{partner.company_website}}"></a>
href="{{partner.company_website}}"></a>
</div>
</div>
<div class="form-group" ng-if="partner.client_pay_type.indexOf('2')>=0">
@ -869,7 +866,7 @@
<div class="col-sm-3 col-xs-5"><em>1:</em>&nbsp;
<div>
<a class="thumbnail" target="_blank"
ng-href="{{partner.company_photo}}">
ng-href="{{partner.company_photo}}">
<img ng-src="{{partner.company_photo}}" style="max-height: 100px">
</a>
</div>
@ -965,7 +962,7 @@
<div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.contact_phone"></p>
<p ng-if="('10000000010' | withRole)" class="description-text text-red"
ng-bind="partner.same_phone"></p>
ng-bind="partner.same_phone"></p>
</div>
</div>
<div class="form-group col-sm-6">
@ -977,17 +974,15 @@
</span>
</p>
<p ng-if="('10000000010' | withRole)" class="description-text text-red"
ng-bind="partner.same_email">
ng-bind="partner.same_email">
<div>
<a ng-if="(partner.approve_result==1) || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))"
role="button"
ng-click="resendApproveEmail('crossborder')">
role="button" ng-click="resendApproveEmail('crossborder')">
<i class="fa fa-envelope"></i> Resend Cross-Border
</a>
<br/>
<br />
<a ng-if="(partner.approve_result==1) || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))"
role="button"
ng-click="resendApproveEmail('cardpayment')">
role="button" ng-click="resendApproveEmail('cardpayment')">
<i class="fa fa-envelope"></i> Resend CardPayment
</a>
</div>
@ -1018,7 +1013,7 @@
</div>
<div ng-if="partner.representativeInfo">
<hr/>
<hr />
<div class="panel-heading">Legal Representative</div>
<div class="panel-body">
<div class="form-horizontal">
@ -1027,7 +1022,7 @@
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.representative_person "></p>
ng-bind="partner.representativeInfo.representative_person "></p>
</div>
</div>
<div class="form-group col-sm-6">
@ -1035,15 +1030,15 @@
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.legal_representative_wechatid"></p>
ng-bind="partner.representativeInfo.legal_representative_wechatid"></p>
</div>
</div>
<div class="form-group col-sm-6">
<label class="control-label col-sm-4">Phone</label>
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.phone"></p>
<p class="form-control-static" ng-bind="partner.representativeInfo.phone">
</p>
</div>
</div>
<div class="form-group col-sm-6">
@ -1069,7 +1064,7 @@
</div>
<div ng-if="partner.representativeInfo && partner.representativeInfo.marketing_person">
<hr/>
<hr />
<div class="panel-heading">Marketing Person</div>
<div class="panel-body">
<div class="form-horizontal">
@ -1078,7 +1073,7 @@
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.marketing_person"></p>
ng-bind="partner.representativeInfo.marketing_person"></p>
</div>
</div>
<div class="form-group col-sm-6">
@ -1086,7 +1081,7 @@
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.marketing_wechatid"></p>
ng-bind="partner.representativeInfo.marketing_wechatid"></p>
</div>
</div>
<div class="form-group col-sm-6">
@ -1094,7 +1089,7 @@
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.marketing_phone"></p>
ng-bind="partner.representativeInfo.marketing_phone"></p>
</div>
</div>
<div class="form-group col-sm-6">
@ -1121,11 +1116,11 @@
</div>
<!--end 商户联系资料-->
<div class="panel panel-default">
<div class="panel-heading">Registered Office Address</div>
<div class="panel-heading">Registered Office Address</div>
<div ng-if="partner.representativeInfo">
<!-- <hr/>-->
<!-- <div class="panel-heading">Registered Address Information(<span style="color: red">Registered address on your business license.</span>)</div>-->
<!-- <hr/>-->
<!-- <div class="panel-heading">Registered Address Information(<span style="color: red">Registered address on your business license.</span>)</div>-->
<div class="panel-body">
<div class="form-horizontal">
@ -1133,16 +1128,16 @@
<label class="control-label col-sm-4">Registered Address</label>
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.address"></p>
<p class="form-control-static" ng-bind="partner.representativeInfo.address">
</p>
</div>
</div>
<div class="form-group col-sm-6">
<label class="control-label col-sm-4">Suburb</label>
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.suburb"></p>
<p class="form-control-static" ng-bind="partner.representativeInfo.suburb">
</p>
</div>
</div>
<div class="form-group col-sm-6">
@ -1150,20 +1145,20 @@
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.postcode"></p>
ng-bind="partner.representativeInfo.postcode"></p>
</div>
</div>
<div class="form-group col-sm-6">
<label class="control-label col-sm-4">State</label>
<div class="col-sm-8">
<p class="form-control-static"
ng-bind="partner.representativeInfo.state"></p>
<p class="form-control-static" ng-bind="partner.representativeInfo.state">
</p>
</div>
</div>
</div>
</div>
<hr/>
<hr />
</div>
<div>
@ -1177,7 +1172,7 @@
<div class="col-sm-8">
<p class="form-control-static" ng-bind="partner.address"></p>
<p ng-if="('10000000010' | withRole)" class="description-text text-red"
ng-bind="partner.same_address"></p>
ng-bind="partner.same_address"></p>
</div>
</div>
<div class="form-group col-sm-6">
@ -1210,7 +1205,7 @@
</div>
</div>
</div>
<hr/>
<hr />
<div class="panel-body">
<div class="form-horizontal">
<div class="form-group ">
@ -1232,7 +1227,7 @@
<div class="form-group">
<div class="embed-responsive" style="height: 300px;">
<iframe id="merchant_detail" name="merchant_detail" class="embed-responsive-item"
src="one_locations.html"></iframe>
src="one_locations.html"></iframe>
</div>
</div>
</div>
@ -1307,9 +1302,9 @@
<label class="control-label col-sm-2">RoyalPay商户类别</label>
<div class="col-sm-10">
<p class="form-control-static industry-p"
ng-bind="partner.royalpayindustry|partner_royalpay_industry"></p>
ng-bind="partner.royalpayindustry|partner_royalpay_industry"></p>
<i class="fa fa-check-square-o check-i" aria-hidden="true"
ng-if="$root.complianceCheck.clientInfo"></i>
ng-if="$root.complianceCheck.clientInfo"></i>
</div>
</div>
@ -1318,9 +1313,9 @@
<label class="control-label col-sm-5">Wechat Industry</label>
<div class="col-sm-7">
<p class="form-control-static industry-p"
ng-bind="partner.industry|partner_industry"></p>
ng-bind="partner.industry|partner_industry"></p>
<i class="fa fa-check-square-o check-i" aria-hidden="true"
ng-if="$root.complianceCheck.clientInfo"></i>
ng-if="$root.complianceCheck.clientInfo"></i>
</div>
</div>
<div class="col-sm-5" ng-if="('1'|withRole)||('10'|withRole)">
@ -1328,7 +1323,7 @@
<label class="col-sm-7 control-label">是否是微信合规商户</label>
<div class="col-sm-5">
<input type="checkbox" ng-model="partner.wechat_compliance" bs-switch
switch-change="changeWechatCompliance()">
switch-change="changeWechatCompliance()">
</div>
</div>
</div>
@ -1354,7 +1349,7 @@
&nbsp;&nbsp;&nbsp;({{partner.alipayindustry}})
</p>
<i class="fa fa-check-square-o check-i" aria-hidden="true"
ng-if="$root.complianceCheck.clientInfo"></i>
ng-if="$root.complianceCheck.clientInfo"></i>
</div>
</div>
<div class="form-group">
@ -1364,32 +1359,29 @@
{{partner.mw_industry}}
</p>
<i class="fa fa-check-square-o check-i" aria-hidden="true"
ng-if="$root.complianceCheck.clientInfo"></i>
ng-if="$root.complianceCheck.clientInfo"></i>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">
Card Service Selection</label>
<div class="col-sm-8">
<span class="checkbox-inline">
<label>
<input type="checkbox" checked disabled
ng-if="partner.mw_industry">
<input type="checkbox" disabled
ng-if="!partner.mw_industry">
AU Credit Card | AU 信用卡支付
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox"
ng-if="partner.enable_international_card" checked
disabled>
<input type="checkbox"
ng-if="!partner.enable_international_card" disabled>
Intl Credit Card|国际信用卡
</label>
</span>
<label>
<input type="checkbox" checked disabled ng-if="partner.mw_industry">
<input type="checkbox" disabled ng-if="!partner.mw_industry">
AU Credit Card | AU 信用卡支付
</label>
</span>
<span class="checkbox-inline">
<label>
<input type="checkbox" ng-if="partner.enable_international_card" checked
disabled>
<input type="checkbox" ng-if="!partner.enable_international_card"
disabled>
Intl Credit Card|国际信用卡
</label>
</span>
</div>
</div>
</div>
@ -1398,9 +1390,9 @@
<div style="text-align: center">
<a role="button" style="margin-bottom: 25px;" class="btn btn-danger btn-sm ng-scope"
ng-click="deleteClient()">Destroy</a>
ng-click="deleteClient()">Destroy</a>
<a role="button" style="margin-bottom: 25px;" class="btn btn-success btn-sm ng-scope"
ng-if="('10'|withRole)" ng-click="complianceCheck()">check</a>
ng-if="('10'|withRole)" ng-click="complianceCheck()">check</a>
</div>
</div>
</div>
@ -1416,4 +1408,4 @@
<!--<span class="sr-only">Requesting...</span>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
Loading…
Cancel
Save