|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
<style>
|
|
|
|
|
.form-control-float {
|
|
|
|
|
float: left;
|
|
|
|
|
width: 93%; !important;
|
|
|
|
|
width: 93% !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-control-span {
|
|
|
|
|
height: 34px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
<section class="content-header">
|
|
|
|
|
<h1 ng-bind="org.name"></h1>
|
|
|
|
@ -28,28 +28,23 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.name.$invalid && org_form.name.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="org_name_input">Name *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="org.name" id="org_name_input" name="name" required>
|
|
|
|
|
<input class="form-control" ng-model="org.name" id="org_name_input" name="name" required />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label col-sm-2">Logo</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<p class="form-control-static">
|
|
|
|
|
<button class="btn btn-primary" type="button" ngf-select="uploadLogo($file)"
|
|
|
|
|
accept="image/*">
|
|
|
|
|
<i class="fa fa-upload"></i> Upload
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-primary" type="button" ngf-select="uploadLogo($file)" accept="image/*"><i class="fa fa-upload"></i> Upload</button>
|
|
|
|
|
<uib-progressbar value="logoProgress.value" ng-if="logoProgress"> </uib-progressbar>
|
|
|
|
|
<img ng-src="{{org.logo}}" class="col-sm-3" ng-if="org.logo">
|
|
|
|
|
<img ng-src="{{org.logo}}" class="col-sm-3" ng-if="org.logo" />
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.state.$invalid && org_form.state.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="org_state_input">State *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select class="form-control" name="state" required ng-model="org.state"
|
|
|
|
|
id="org_state_input"
|
|
|
|
|
ng-options="state.value as state.label for state in states">
|
|
|
|
|
<select class="form-control" name="state" required ng-model="org.state" id="org_state_input" ng-options="state.value as state.label for state in states">
|
|
|
|
|
<option value="">Please Choose</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
@ -57,38 +52,48 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.location.$invalid && org_form.location.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="org_location_input">Location *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="org.location" id="org_location_input" name="location" required>
|
|
|
|
|
<input class="form-control" ng-model="org.location" id="org_location_input" name="location" required />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.type.$invalid && org_form.type.$dirty}"
|
|
|
|
|
ng-if="!('1000000000000'|withRole)">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.type.$invalid && org_form.type.$dirty}" ng-if="!('1000000000000'|withRole)">
|
|
|
|
|
<label class="control-label col-sm-2" for="org_type_input">Type *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<!--<select class="form-control" ng-model="org.type" ng-init="org.type=0" id="org_type_input">-->
|
|
|
|
|
<!--<option value="0">代理人</option>-->
|
|
|
|
|
<!--<option value="1">推荐人</option>-->
|
|
|
|
|
<!--</select>-->
|
|
|
|
|
<select class="form-control" name="type" required ng-model="org.type"
|
|
|
|
|
id="org_type_input"
|
|
|
|
|
ng-options="type.value as type.label for type in types">
|
|
|
|
|
<select class="form-control" name="type" required ng-model="org.type" id="org_type_input" ng-options="type.value as type.label for type in types">
|
|
|
|
|
<!--<option value="">Please Choose</option>-->
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.commission_type_0.$invalid && org_form.commission_type_0.$dirty}"
|
|
|
|
|
ng-show="(org.type == 0) || ('1000000000000'|withRole)">
|
|
|
|
|
<div
|
|
|
|
|
class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.commission_type_0.$invalid && org_form.commission_type_0.$dirty}"
|
|
|
|
|
ng-show="(org.type == 0) || ('1000000000000'|withRole)"
|
|
|
|
|
>
|
|
|
|
|
<label class="control-label col-sm-2" for="commission_type_0">Commission Type *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select class="form-control" name="commission_type_0" required ng-model="org.commission_type" id="commission_type_0"
|
|
|
|
|
ng-options="commission_type.value as commission_type.label for commission_type in commission_types">
|
|
|
|
|
</select>
|
|
|
|
|
<select
|
|
|
|
|
class="form-control"
|
|
|
|
|
name="commission_type_0"
|
|
|
|
|
required
|
|
|
|
|
ng-model="org.commission_type"
|
|
|
|
|
id="commission_type_0"
|
|
|
|
|
ng-options="commission_type.value as commission_type.label for commission_type in commission_types"
|
|
|
|
|
></select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label col-sm-2" for="senior_parent_org_id">Senior Partner </label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select class="form-control" name="senior_parent_org_id" ng-model="org.senior_parent_org_id" id="senior_parent_org_id"
|
|
|
|
|
ng-options="seniorOrg.org_id as seniorOrg.name for seniorOrg in seniorOrgs">
|
|
|
|
|
<select
|
|
|
|
|
class="form-control"
|
|
|
|
|
name="senior_parent_org_id"
|
|
|
|
|
ng-model="org.senior_parent_org_id"
|
|
|
|
|
id="senior_parent_org_id"
|
|
|
|
|
ng-options="seniorOrg.org_id as seniorOrg.name for seniorOrg in seniorOrgs"
|
|
|
|
|
>
|
|
|
|
|
<option value="-1">noop</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
@ -97,7 +102,7 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.rate_value.$invalid && org_form.rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="rate_value_input">Rate *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.rate_value" id="rate_value_input" name="rate_value" max="100" min="0">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.rate_value" id="rate_value_input" name="rate_value" max="100" min="0" />
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -107,7 +112,7 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.rate_value.$invalid && org_form.rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="rate_value_input_3">Rate *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.rate_value" id="rate_value_input_3" name="rate_value" max="100" min="0">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.rate_value" id="rate_value_input_3" name="rate_value" max="100" min="0" />
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -116,7 +121,16 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.wechat_rate_value.$invalid && org_form.wechat_rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="wechat_rate_value_input">Wechat Rate *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.wechat_rate_value" id="wechat_rate_value_input" name="wechat_rate_value" max="100" min="0" required>
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.wechat_rate_value"
|
|
|
|
|
id="wechat_rate_value_input"
|
|
|
|
|
name="wechat_rate_value"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -124,7 +138,33 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.alipay_rate_value.$invalid && org_form.alipay_rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="alipay_rate_value_input">Alipay Rate *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.alipay_rate_value" id="alipay_rate_value_input" name="alipay_rate_value" max="100" min="0" required>
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.alipay_rate_value"
|
|
|
|
|
id="alipay_rate_value_input"
|
|
|
|
|
name="alipay_rate_value"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.alipayplus_rate_value.$invalid && org_form.alipayplus_rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="alipayplus_rate_value_input">AlipayPlus Rate *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.alipayplus_rate_value"
|
|
|
|
|
id="alipayplus_rate_value_input"
|
|
|
|
|
name="alipayplus_rate_value"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -132,14 +172,31 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.alipayonline_rate_value.$invalid && org_form.alipayonline_rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="alipayonline_rate_value_input">AlipayOnline Rate *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.alipayonline_rate_value" id="alipayonline_rate_value_input" name="alipayonline_rate_value" max="100" min="0" required>
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.alipayonline_rate_value"
|
|
|
|
|
id="alipayonline_rate_value_input"
|
|
|
|
|
name="alipayonline_rate_value"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.cb_bankpay_rate_value.$invalid && org_form.cb_bankpay_rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="cb_bankpay_rate_value_input">CB BankPay Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.cb_bankpay_rate_value" id="cb_bankpay_rate_value_input" name="cb_bankpay_rate_value" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.cb_bankpay_rate_value"
|
|
|
|
|
id="cb_bankpay_rate_value_input"
|
|
|
|
|
name="cb_bankpay_rate_value"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -155,7 +212,16 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.rpaypmt_domestic_card_rate_value.$invalid && org_form.rpaypmt_domestic_card_rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="rpaypmt_domestic_card_rate_value_input">Domestic Card Payment Rate *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.rpaypmt_domestic_card_rate_value" id="rpaypmt_domestic_card_rate_value_input" name="rpaypmt_card_rate_value" max="100" min="0" required>
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.rpaypmt_domestic_card_rate_value"
|
|
|
|
|
id="rpaypmt_domestic_card_rate_value_input"
|
|
|
|
|
name="rpaypmt_card_rate_value"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -164,7 +230,16 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.rpaypmt_overseas_card_rate_value.$invalid && org_form.rpaypmt_overseas_card_rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="rpaypmt_overseas_card_rate_value_input">International Card Payment Rate *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.rpaypmt_overseas_card_rate_value" id="rpaypmt_overseas_card_rate_value_input" name="rpaypmt_card_rate_value" max="100" min="0" required>
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.rpaypmt_overseas_card_rate_value"
|
|
|
|
|
id="rpaypmt_overseas_card_rate_value_input"
|
|
|
|
|
name="rpaypmt_card_rate_value"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -172,48 +247,95 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.rpaypmt_dd_rate_value.$invalid && org_form.rpaypmt_dd_rate_value.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="rpaypmt_dd_rate_value_input">Direct Debit Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.rpaypmt_dd_rate_value" id="rpaypmt_dd_rate_value_input" name="rpaypmt_dd_rate_value" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.rpaypmt_dd_rate_value"
|
|
|
|
|
id="rpaypmt_dd_rate_value_input"
|
|
|
|
|
name="rpaypmt_dd_rate_value"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.min_wechat_rate.$invalid && org_form.min_wechat_rate.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.min_wechat_rate.$invalid && org_form.min_wechat_rate.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="min_wechat_rate_input">Min Wechat Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.min_wechat_rate"
|
|
|
|
|
id="min_wechat_rate_input" name="min_wechat_rate" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.min_wechat_rate"
|
|
|
|
|
id="min_wechat_rate_input"
|
|
|
|
|
name="min_wechat_rate"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.min_alipay_rate.$invalid && org_form.min_alipay_rate.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.min_alipay_rate.$invalid && org_form.min_alipay_rate.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="min_alipay_rate_input">Min Alipay Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.min_alipay_rate"
|
|
|
|
|
id="min_alipay_rate_input" name="min_alipay_rate" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.min_alipay_rate"
|
|
|
|
|
id="min_alipay_rate_input"
|
|
|
|
|
name="min_alipay_rate"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.min_alipayplus_rate.$invalid && org_form.min_alipayplus_rate.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="min_alipayplus_rate_input">Min AlipayPlus Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.min_alipayplus_rate"
|
|
|
|
|
id="min_alipayplus_rate_input"
|
|
|
|
|
name="min_alipayplus_rate"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.min_alipayonline_rate.$invalid && org_form.min_alipayonline_rate.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.min_alipayonline_rate.$invalid && org_form.min_alipayonline_rate.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="min_alipayonline_rate_input">Min Alipayonline Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.min_alipayonline_rate"
|
|
|
|
|
id="min_alipayonline_rate_input" name="min_alipayonline_rate" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.min_alipayonline_rate"
|
|
|
|
|
id="min_alipayonline_rate_input"
|
|
|
|
|
name="min_alipayonline_rate"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.min_cb_bankpay_rate.$invalid && org_form.min_cb_bankpay_rate.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.min_cb_bankpay_rate.$invalid && org_form.min_cb_bankpay_rate.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="min_cb_bankpay_rate_input">Min CB BankPay Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.min_cb_bankpay_rate"
|
|
|
|
|
id="min_cb_bankpay_rate_input" name="min_cb_bankpay_rate" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.min_cb_bankpay_rate"
|
|
|
|
|
id="min_cb_bankpay_rate_input"
|
|
|
|
|
name="min_cb_bankpay_rate"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -228,33 +350,51 @@
|
|
|
|
|
</div>-->
|
|
|
|
|
|
|
|
|
|
<!-- 卡支付-国内卡最小费率配置 -->
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.min_rpaypmt_domestic_card_rate.$invalid && org_form.min_rpaypmt_domestic_card_rate.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.min_rpaypmt_domestic_card_rate.$invalid && org_form.min_rpaypmt_domestic_card_rate.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="min_rpaypmt_domestic_card_rate_input">Min Domestic Card Payment Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.min_rpaypmt_domestic_card_rate"
|
|
|
|
|
id="min_rpaypmt_domestic_card_rate_input" name="min_rpaypmt_domestic_card_rate" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.min_rpaypmt_domestic_card_rate"
|
|
|
|
|
id="min_rpaypmt_domestic_card_rate_input"
|
|
|
|
|
name="min_rpaypmt_domestic_card_rate"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 卡支付-国内卡最小费率配置 -->
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.min_rpaypmt_overseas_card_rate.$invalid && org_form.min_rpaypmt_overseas_card_rate.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.min_rpaypmt_overseas_card_rate.$invalid && org_form.min_rpaypmt_overseas_card_rate.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="min_rpaypmt_overseas_card_rate_input">Min International Card Payment Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.min_rpaypmt_overseas_card_rate"
|
|
|
|
|
id="min_rpaypmt_overseas_card_rate_input" name="min_rpaypmt_overseas_card_rate" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.min_rpaypmt_overseas_card_rate"
|
|
|
|
|
id="min_rpaypmt_overseas_card_rate_input"
|
|
|
|
|
name="min_rpaypmt_overseas_card_rate"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.min_rpaypmt_dd_rate.$invalid && org_form.min_rpaypmt_dd_rate.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.min_rpaypmt_dd_rate.$invalid && org_form.min_rpaypmt_dd_rate.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="min_rpaypmt_dd_rate_input">Min Direct Debit Rate</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control form-control-float" type="number" ng-model="org.min_rpaypmt_dd_rate"
|
|
|
|
|
id="min_rpaypmt_dd_rate_input" name="min_rpaypmt_dd_rate" max="100" min="0">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control form-control-float"
|
|
|
|
|
type="number"
|
|
|
|
|
ng-model="org.min_rpaypmt_dd_rate"
|
|
|
|
|
id="min_rpaypmt_dd_rate_input"
|
|
|
|
|
name="min_rpaypmt_dd_rate"
|
|
|
|
|
max="100"
|
|
|
|
|
min="0"
|
|
|
|
|
/>
|
|
|
|
|
<span class="input-group-addon form-control-span">%</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -264,39 +404,36 @@
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.contact_person.$invalid && org_form.contact_person.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="org_contact_person_input">Contact Person *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="org.contact_person" id="org_contact_person_input" name="contact_person" required>
|
|
|
|
|
<input class="form-control" ng-model="org.contact_person" id="org_contact_person_input" name="contact_person" required />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.contact_phone.$invalid && org_form.contact_phone.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="org_contact_phone_input">Phone *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="org.contact_phone" id="org_contact_phone_input" name="contact_phone" required>
|
|
|
|
|
<input class="form-control" ng-model="org.contact_phone" id="org_contact_phone_input" name="contact_phone" required />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.contact_mail.$invalid && org_form.contact_mail.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="org_contact_mail_input">Mail *</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="org.contact_mail" id="org_contact_mail_input" name="contact_mail" required>
|
|
|
|
|
<input class="form-control" ng-model="org.contact_mail" id="org_contact_mail_input" name="contact_mail" required />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label col-sm-2" for="commission_checkbox">Enable Commission</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input id="commission_checkbox" type="checkbox" class="checkbox-inline checkbox" ng-model="org.commission">
|
|
|
|
|
<input id="commission_checkbox" type="checkbox" class="checkbox-inline checkbox" ng-model="org.commission" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.remark.$invalid && org_form.remark.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.remark.$invalid && org_form.remark.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="remark-input">Remark</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<textarea class="form-control" ng-model="org.remark" name="remark"
|
|
|
|
|
id="remark-input" maxlength="500"></textarea>
|
|
|
|
|
<textarea class="form-control" ng-model="org.remark" name="remark" id="remark-input" maxlength="500"></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group margin-bottom margin-top">
|
|
|
|
|
<button class="btn btn-success" type="button" ng-click="update(org_form)">Save
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-success" type="button" ng-click="update(org_form)">Save</button>
|
|
|
|
|
<a class="btn btn-danger" role="button" ui-sref="^" ui-sref-opts="{reload:true}">Back</a>
|
|
|
|
|
</div>
|
|
|
|
|
<!--<button class="btn btn-success col-sm-offset-2" ng-click="update()"><i class="fa fa-save"></i> Update</button>-->
|
|
|
|
@ -308,7 +445,7 @@
|
|
|
|
|
<form class="navbar-form navbar-left" role="search">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label" for="username-filter-input">Username</label>
|
|
|
|
|
<input type="text" class="form-control" ng-model="params.username" placeholder="Username" id="username-filter-input">
|
|
|
|
|
<input type="text" class="form-control" ng-model="params.username" placeholder="Username" id="username-filter-input" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-if="'1'|withRole">
|
|
|
|
|
<label class="control-label" for="role-filter-select">Role</label>
|
|
|
|
@ -327,19 +464,13 @@
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<button class="btn btn-primary" type="button" ng-click="listManagers(1)">
|
|
|
|
|
<i class="fa fa-search"></i> Search
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-primary" type="button" ng-click="listManagers(1)"><i class="fa fa-search"></i> Search</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
<div class="navbar-form navbar-right">
|
|
|
|
|
<button class="btn btn-success" type="button" ng-click="newManager()">
|
|
|
|
|
<i class="fa fa-plus"></i> New Manager Account
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-success" type="button" ng-click="newManager()"><i class="fa fa-plus"></i> New Manager Account</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box">
|
|
|
|
@ -362,7 +493,9 @@
|
|
|
|
|
<tr ng-repeat="manager in managers">
|
|
|
|
|
<td ng-bind="manager.username"></td>
|
|
|
|
|
<td ng-bind="manager.display_name"></td>
|
|
|
|
|
<td style="white-space: nowrap;overflow: hidden;text-overflow:ellipsis;"><img ng-src="{{manager.headimg}}" style="height: 30px;width:30px;" class="img-circle" ng-if="manager.headimg"> {{manager.nickname}}</td>
|
|
|
|
|
<td style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis">
|
|
|
|
|
<img ng-src="{{manager.headimg}}" style="height: 30px; width: 30px" class="img-circle" ng-if="manager.headimg" /> {{manager.nickname}}
|
|
|
|
|
</td>
|
|
|
|
|
<td ng-bind="manager.create_time|date:'yyyy-MM-dd'"></td>
|
|
|
|
|
<td ng-bind="manager.email"></td>
|
|
|
|
|
<td>
|
|
|
|
@ -387,7 +520,8 @@
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-footer" ng-if="managers.length">
|
|
|
|
|
<uib-pagination class="pagination"
|
|
|
|
|
<uib-pagination
|
|
|
|
|
class="pagination"
|
|
|
|
|
total-items="paginationa.totalCount"
|
|
|
|
|
boundary-links="true"
|
|
|
|
|
ng-model="paginationa.page"
|
|
|
|
@ -397,7 +531,8 @@
|
|
|
|
|
previous-text="‹"
|
|
|
|
|
next-text="›"
|
|
|
|
|
first-text="«"
|
|
|
|
|
last-text="»"></uib-pagination>
|
|
|
|
|
last-text="»"
|
|
|
|
|
></uib-pagination>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12">Total Records:{{paginationa.totalCount}};Total Pages:{{paginationa.totalPages}}</div>
|
|
|
|
|
</div>
|
|
|
|
@ -418,21 +553,16 @@
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':org_form.gateway_short_id.$invalid && org_form.gateway_short_id.$dirty}">
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':org_form.gateway_short_id.$invalid && org_form.gateway_short_id.$dirty}">
|
|
|
|
|
<label class="col-sm-2 control-label">RoyalPay Public Key</label>
|
|
|
|
|
<div class="col-sm-10" style="margin-top: 8px;">
|
|
|
|
|
<a role="button" ng-click="refreshPlatformPubliKey()">
|
|
|
|
|
View
|
|
|
|
|
</a>
|
|
|
|
|
<div class="col-sm-10" style="margin-top: 8px">
|
|
|
|
|
<a role="button" ng-click="refreshPlatformPubliKey()"> View </a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label">Org Public Key</label>
|
|
|
|
|
<div class="col-sm-10" style="margin-top: 8px;">
|
|
|
|
|
<a role="button" ng-click="resetPartnerPubliKey()">
|
|
|
|
|
Upload
|
|
|
|
|
</a>
|
|
|
|
|
<div class="col-sm-10" style="margin-top: 8px">
|
|
|
|
|
<a role="button" ng-click="resetPartnerPubliKey()"> Upload </a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
@ -442,7 +572,7 @@
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-xs-4 col-sm-2 control-label">Client Rate Editable</label>
|
|
|
|
|
<div class="col-xs-8 col-sm-8">
|
|
|
|
|
<input type="checkbox" ng-model="org.rate_editable" bs-switch switch-change="toggleRateEditable()">
|
|
|
|
|
<input type="checkbox" ng-model="org.rate_editable" bs-switch switch-change="toggleRateEditable()" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
@ -451,77 +581,89 @@
|
|
|
|
|
<div class="box box-warning" style="border-top-color: #f06101">
|
|
|
|
|
<div class="box-body no-padding table-responsive">
|
|
|
|
|
<div>
|
|
|
|
|
<span style="float: right;font-size: 14px;" class="del_client">禁用</span>
|
|
|
|
|
<span style="float: right;font-size: 14px;" class="pass_timeout"> 超期提醒 </span>
|
|
|
|
|
<span style="float: right;font-size: 14px;"
|
|
|
|
|
class="bg-red"> 等待合规 </span>
|
|
|
|
|
<span style="float: right;font-size: 14px;"
|
|
|
|
|
class="bg-green"> 绿色通道 </span>
|
|
|
|
|
<span style="float: right;font-size: 14px;"> 通过 </span>
|
|
|
|
|
<span style="float: right; font-size: 14px" class="del_client">禁用</span>
|
|
|
|
|
<span style="float: right; font-size: 14px" class="pass_timeout"> 超期提醒 </span>
|
|
|
|
|
<span style="float: right; font-size: 14px" class="bg-red"> 等待合规 </span>
|
|
|
|
|
<span style="float: right; font-size: 14px" class="bg-green"> 绿色通道 </span>
|
|
|
|
|
<span style="float: right; font-size: 14px"> 通过 </span>
|
|
|
|
|
</div>
|
|
|
|
|
<table class="table table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th style="padding: 12px;">Partner Code</th>
|
|
|
|
|
<th style="padding: 12px;">Partner Name</th>
|
|
|
|
|
<th style="padding: 12px;">Sub Mch ID</th>
|
|
|
|
|
<th style="padding: 12px;">Register Time</th>
|
|
|
|
|
<th style="padding: 12px;">Compliance Status</th>
|
|
|
|
|
<th style="padding: 12px;">Organization</th>
|
|
|
|
|
<th style="padding: 12px;">BD</th>
|
|
|
|
|
<th style="padding: 12px;" ng-if="'client_detail_by_moniker'|withFunc">Operation</th>
|
|
|
|
|
<th style="padding: 12px">Partner Code</th>
|
|
|
|
|
<th style="padding: 12px">Partner Name</th>
|
|
|
|
|
<th style="padding: 12px">Sub Mch ID</th>
|
|
|
|
|
<th style="padding: 12px">Register Time</th>
|
|
|
|
|
<th style="padding: 12px">Compliance Status</th>
|
|
|
|
|
<th style="padding: 12px">Organization</th>
|
|
|
|
|
<th style="padding: 12px">BD</th>
|
|
|
|
|
<th style="padding: 12px" ng-if="'client_detail_by_moniker'|withFunc">Operation</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="partner in partners"
|
|
|
|
|
ng-class="{pass_timeout:partner.pass_timeout,success:partner.source==5,warning:partner.approve_result==5 && ('100'|withRole)}">
|
|
|
|
|
<tr
|
|
|
|
|
ng-repeat="partner in partners"
|
|
|
|
|
ng-class="{pass_timeout:partner.pass_timeout,success:partner.source==5,warning:partner.approve_result==5 && ('100'|withRole)}"
|
|
|
|
|
>
|
|
|
|
|
<td>
|
|
|
|
|
<a class="text-primary" role="button" title="Detail"
|
|
|
|
|
<a
|
|
|
|
|
class="text-primary"
|
|
|
|
|
role="button"
|
|
|
|
|
title="Detail"
|
|
|
|
|
ng-click="openClientBoard(partner)"
|
|
|
|
|
ng-if="(partner.approve_result==1) || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))">
|
|
|
|
|
<span ng-bind="partner.client_moniker"></span></a>
|
|
|
|
|
ng-if="(partner.approve_result==1) || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))"
|
|
|
|
|
>
|
|
|
|
|
<span ng-bind="partner.client_moniker"></span
|
|
|
|
|
></a>
|
|
|
|
|
<span ng-bind="partner.client_moniker" ng-if="partner.approve_result!=1 && !(partner.approve_result==2 && (partner.source==1 || partner.source==2))"></span>
|
|
|
|
|
<span ng-if="partner.is_valid==0" ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
|
|
|
|
|
<i class="fa fa-sitemap" ng-if="partner.parent_client_id"
|
|
|
|
|
title="Sub Partner"></i>
|
|
|
|
|
<i class="text-danger fa fa-envelope-o"
|
|
|
|
|
<i class="fa fa-sitemap" ng-if="partner.parent_client_id" title="Sub Partner"></i>
|
|
|
|
|
<i
|
|
|
|
|
class="text-danger fa fa-envelope-o"
|
|
|
|
|
ng-if="(partner.approve_result==1 || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))) && (partner.approve_email_send==2 || partner.approve_email_send==0)"
|
|
|
|
|
title="Init email send failed"></i>
|
|
|
|
|
<i class="text-danger fa fa-clock-o" ng-if="partner.temp_sub_merchant"
|
|
|
|
|
title="Using temp Sub Merchant ID"></i>
|
|
|
|
|
title="Init email send failed"
|
|
|
|
|
></i>
|
|
|
|
|
<i class="text-danger fa fa-clock-o" ng-if="partner.temp_sub_merchant" title="Using temp Sub Merchant ID"></i>
|
|
|
|
|
</td>
|
|
|
|
|
<td ng-bind="partner.short_name"></td>
|
|
|
|
|
<td ng-bind="partner.sub_merchant_id"></td>
|
|
|
|
|
<td ng-bind="partner.create_time"></td>
|
|
|
|
|
<td ng-class="{'bg-green':(partner.approve_result==2 && (partner.source==1 || partner.source==2)),'bg-red':((partner.open_status==1||partner.open_status==2||partner.open_status==4) && partner.approve_result!=3)||(partner.approve_result==3 && (!partner.open_status || partner.open_status==1 || partner.open_status == 4))||(partner.approve_result==4 && !partner.open_status)||(partner.open_status==10)}">
|
|
|
|
|
<td
|
|
|
|
|
ng-class="{'bg-green':(partner.approve_result==2 && (partner.source==1 || partner.source==2)),'bg-red':((partner.open_status==1||partner.open_status==2||partner.open_status==4) && partner.approve_result!=3)||(partner.approve_result==3 && (!partner.open_status || partner.open_status==1 || partner.open_status == 4))||(partner.approve_result==4 && !partner.open_status)||(partner.open_status==10)}"
|
|
|
|
|
>
|
|
|
|
|
<span ng-if="partner.approve_result==1 && partner.approve_time">通过({{partner.approve_time}})</span>
|
|
|
|
|
<span ng-if="!partner.open_status && !partner.approve_result && partner.approve_result!=5 && partner.source!=4">资料完善中</span>
|
|
|
|
|
<span ng-if="!partner.open_status && !partner.approve_result && partner.approve_result!=5 && partner.source==4">(自助开通)资料完善中</span>
|
|
|
|
|
<span ng-if="!partner.open_status && partner.approve_result==2 && partner.approve_time">自助开通试用中({{partner.approve_time}}~{{partner.expiry_time}})</span>
|
|
|
|
|
<span ng-if="!partner.open_status && partner.approve_result==2 && partner.approve_time"
|
|
|
|
|
>自助开通试用中({{partner.approve_time}}~{{partner.expiry_time}})</span
|
|
|
|
|
>
|
|
|
|
|
<span ng-if="partner.approve_result==0 && partner.approve_time">不通过({{partner.approve_time}})</span>
|
|
|
|
|
<span ng-if="partner.approve_result==5 && partner.approve_time && partner.refuse_remark">申请打回({{partner.refuse_remark|limitTo:15}})</span>
|
|
|
|
|
<span ng-if="(partner.open_status==1||partner.open_status==4) && partner.approve_result!=3"><i ng-if="partner.refuse_remark.length>0" class="fa fa-reply" aria-hidden="true" title="被打回重新提交"></i>等待合规</span>
|
|
|
|
|
<span ng-if="(partner.open_status==1||partner.open_status==4) && partner.approve_result!=3"
|
|
|
|
|
><i ng-if="partner.refuse_remark.length>0" class="fa fa-reply" aria-hidden="true" title="被打回重新提交"></i>等待合规</span
|
|
|
|
|
>
|
|
|
|
|
<span ng-if="partner.approve_result==3 && (!partner.open_status || partner.open_status==4)">自助开通(等待合规)</span>
|
|
|
|
|
<span ng-if="partner.open_status==2">合同制作完成</span>
|
|
|
|
|
<span ng-if="partner.open_status==3 && partner.approve_result!=5">等待BD上传材料审核</span>
|
|
|
|
|
<span ng-if="partner.open_status==10">绿色通道申请中</span>
|
|
|
|
|
<span ng-if="partner.approve_result==4 && !partner.open_status"><i ng-if="partner.refuse_remark.length>0" class="fa fa-reply" aria-hidden="true" title="被打回重新提交"></i>等待合规</span>
|
|
|
|
|
<span ng-if="partner.approve_result==4 && !partner.open_status"
|
|
|
|
|
><i ng-if="partner.refuse_remark.length>0" class="fa fa-reply" aria-hidden="true" title="被打回重新提交"></i>等待合规</span
|
|
|
|
|
>
|
|
|
|
|
</td>
|
|
|
|
|
<td ng-bind="partner.org_name"></td>
|
|
|
|
|
<td ng-bind="partner.bd_user_name"></td>
|
|
|
|
|
<td ng-if="'client_detail_by_moniker'|withFunc">
|
|
|
|
|
<a class="text-primary" role="button" title="Detail"
|
|
|
|
|
ui-sref="partners.detail({clientMoniker:partner.client_moniker})">
|
|
|
|
|
<a class="text-primary" role="button" title="Detail" ui-sref="partners.detail({clientMoniker:partner.client_moniker})">
|
|
|
|
|
<i class="fa fa-search"></i> Detail
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-footer" ng-if="partners.length">
|
|
|
|
|
<uib-pagination class="pagination"
|
|
|
|
|
<uib-pagination
|
|
|
|
|
class="pagination"
|
|
|
|
|
total-items="pagination.totalCount"
|
|
|
|
|
boundary-links="true"
|
|
|
|
|
ng-model="pagination.page"
|
|
|
|
@ -531,11 +673,10 @@
|
|
|
|
|
previous-text="‹"
|
|
|
|
|
next-text="›"
|
|
|
|
|
first-text="«"
|
|
|
|
|
last-text="»"></uib-pagination>
|
|
|
|
|
last-text="»"
|
|
|
|
|
></uib-pagination>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12">Total Records:{{pagination.totalCount}};Total
|
|
|
|
|
Pages:{{pagination.totalPages}}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-12">Total Records:{{pagination.totalCount}};Total Pages:{{pagination.totalPages}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -546,8 +687,7 @@
|
|
|
|
|
<div class="box box-warning">
|
|
|
|
|
<div class="box-header with-border">商户新增趋势</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
<div class="chart" echarts="analysis.clients_line" style="height: 300px"
|
|
|
|
|
ng-class="{nodata:analysis.clients_line.nodata}"></div>
|
|
|
|
|
<div class="chart" echarts="analysis.clients_line" style="height: 300px" ng-class="{nodata:analysis.clients_line.nodata}"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -557,8 +697,7 @@
|
|
|
|
|
<div class="box box-warning">
|
|
|
|
|
<div class="box-header with-border">交易额趋势</div>
|
|
|
|
|
<div class="box-body">
|
|
|
|
|
<div class="chart" echarts="analysis.trade_line" style="height: 300px"
|
|
|
|
|
ng-class="{nodata:analysis.trade_line.nodata}"></div>
|
|
|
|
|
<div class="chart" echarts="analysis.trade_line" style="height: 300px" ng-class="{nodata:analysis.trade_line.nodata}"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -573,42 +712,50 @@
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<div class="form-control-static form-inline">
|
|
|
|
|
<div style="display: inline-block">
|
|
|
|
|
<input class="form-control" id="date-from-input" ng-model="params.begin"
|
|
|
|
|
uib-datepicker-popup size="10" placeholder="From"
|
|
|
|
|
is-open="dateBegin.open" ng-click="dateBegin.open=true"
|
|
|
|
|
datepicker-options="{maxDate:params.end||today}">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control"
|
|
|
|
|
id="date-from-input"
|
|
|
|
|
ng-model="params.begin"
|
|
|
|
|
uib-datepicker-popup
|
|
|
|
|
size="10"
|
|
|
|
|
placeholder="From"
|
|
|
|
|
is-open="dateBegin.open"
|
|
|
|
|
ng-click="dateBegin.open=true"
|
|
|
|
|
datepicker-options="{maxDate:params.end||today}"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
~
|
|
|
|
|
<div style="display: inline-block">
|
|
|
|
|
<input class="form-control" id="date-to-input" ng-model="params.end"
|
|
|
|
|
uib-datepicker-popup size="10" placeholder="To"
|
|
|
|
|
is-open="dateTo.open" ng-click="dateTo.open=true"
|
|
|
|
|
datepicker-options="{minDate:params.begin,maxDate:today}">
|
|
|
|
|
<input
|
|
|
|
|
class="form-control"
|
|
|
|
|
id="date-to-input"
|
|
|
|
|
ng-model="params.end"
|
|
|
|
|
uib-datepicker-popup
|
|
|
|
|
size="10"
|
|
|
|
|
placeholder="To"
|
|
|
|
|
is-open="dateTo.open"
|
|
|
|
|
ng-click="dateTo.open=true"
|
|
|
|
|
datepicker-options="{minDate:params.begin,maxDate:today}"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm"
|
|
|
|
|
ng-click="chooseToday()">Today</a>
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="chooseToday()">Today</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm"
|
|
|
|
|
ng-click="chooseYesterday()">Yesterday</a>
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="chooseYesterday()">Yesterday</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm"
|
|
|
|
|
ng-click="chooseLast7Days()">Last 7 Days</a>
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="chooseLast7Days()">Last 7 Days</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="thisMonth()">This
|
|
|
|
|
Month</a>
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="thisMonth()">This Month</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="lastMonth()">Last
|
|
|
|
|
Month</a>
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="lastMonth()">Last Month</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="thisYear()">This
|
|
|
|
|
Year</a>
|
|
|
|
|
<a role="button" class="btn btn-default btn-sm" ng-click="thisYear()">This Year</a>
|
|
|
|
|
</div>
|
|
|
|
|
<button class="btn btn-success" type="button" ng-click="loadTransactionAmountInOrg()">
|
|
|
|
|
<i class="fa fa-search"></i>
|
|
|
|
@ -664,20 +811,16 @@
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="sale in partnerSalesList">
|
|
|
|
|
<td style="text-align: center;font-style: italic;font-size: larger"
|
|
|
|
|
ng-bind="$index*2+1+'.'"></td>
|
|
|
|
|
<td style="text-align: center; font-style: italic; font-size: larger" ng-bind="$index*2+1+'.'"></td>
|
|
|
|
|
<td>
|
|
|
|
|
<a class="text-primary" role="button" title="Detail"
|
|
|
|
|
ui-sref="partners.detail({clientMoniker:sale[0].client_moniker})">
|
|
|
|
|
<a class="text-primary" role="button" title="Detail" ui-sref="partners.detail({clientMoniker:sale[0].client_moniker})">
|
|
|
|
|
{{sale[0].client_moniker}}
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td ng-bind="sale[0].amount"></td>
|
|
|
|
|
<td style="text-align: center;font-style: italic;font-size: larger"
|
|
|
|
|
ng-bind="$index * 2 + 2 +'.'"></td>
|
|
|
|
|
<td style="text-align: center; font-style: italic; font-size: larger" ng-bind="$index * 2 + 2 +'.'"></td>
|
|
|
|
|
<td>
|
|
|
|
|
<a class="text-primary" role="button" title="Detail"
|
|
|
|
|
ui-sref="partners.detail({clientMoniker:sale[1].client_moniker})">
|
|
|
|
|
<a class="text-primary" role="button" title="Detail" ui-sref="partners.detail({clientMoniker:sale[1].client_moniker})">
|
|
|
|
|
{{sale[1].client_moniker}}
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
@ -687,14 +830,10 @@
|
|
|
|
|
</table>
|
|
|
|
|
<loadingbar ng-if="rank_loading"></loadingbar>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-footer">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="box-footer"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -719,11 +858,7 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="clientExtracts in client_extarct">
|
|
|
|
|
<td ng-bind="clientExtracts.name"></td>
|
|
|
|
|
<td>
|
|
|
|
|
{{clientExtracts.year|limitTo:10}}
|
|
|
|
|
-
|
|
|
|
|
{{clientExtracts.month|limitTo:10}}
|
|
|
|
|
</td>
|
|
|
|
|
<td>{{clientExtracts.year|limitTo:10}} - {{clientExtracts.month|limitTo:10}}</td>
|
|
|
|
|
<td ng-bind="clientExtracts.gross_amount|currency:'AUD'"></td>
|
|
|
|
|
<td ng-bind="clientExtracts.total_charge|currency:'AUD'"></td>
|
|
|
|
|
<td ng-bind="clientExtracts.royalpay_charge|currency:'AUD'"></td>
|
|
|
|
@ -740,7 +875,8 @@
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-footer" ng-if="client_extarct.length">
|
|
|
|
|
<uib-pagination class="pagination"
|
|
|
|
|
<uib-pagination
|
|
|
|
|
class="pagination"
|
|
|
|
|
total-items="paginationc.totalCount"
|
|
|
|
|
boundary-links="true"
|
|
|
|
|
ng-model="paginationc.page"
|
|
|
|
@ -750,7 +886,8 @@
|
|
|
|
|
previous-text="‹"
|
|
|
|
|
next-text="›"
|
|
|
|
|
first-text="«"
|
|
|
|
|
last-text="»"></uib-pagination>
|
|
|
|
|
last-text="»"
|
|
|
|
|
></uib-pagination>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-xs-12">Total Records:{{paginationc.totalCount}};Total Pages:{{paginationc.totalPages}}</div>
|
|
|
|
|
</div>
|
|
|
|
@ -758,21 +895,22 @@
|
|
|
|
|
</div>
|
|
|
|
|
</uib-tab>
|
|
|
|
|
<uib-tab heading="Default Client Profile">
|
|
|
|
|
|
|
|
|
|
<form name="profileForm" class="form-horizontal">
|
|
|
|
|
<div class="form-group" ng-repeat="field in clientProfileFields">
|
|
|
|
|
<label class="control-label col-md-3" ng-bind="field.title||field.field"></label>
|
|
|
|
|
<div class="col-md-7" ng-class="{'checkbox-inline':field.type=='checkbox'}">
|
|
|
|
|
<input ng-class="{'checkbox':field.type=='checkbox','form-control':field.type!='checkbox'}"
|
|
|
|
|
ng-model="field.value" ng-input-name="{{field.field}}" type="{{field.type}}">
|
|
|
|
|
<input
|
|
|
|
|
ng-class="{'checkbox':field.type=='checkbox','form-control':field.type!='checkbox'}"
|
|
|
|
|
ng-model="field.value"
|
|
|
|
|
ng-input-name="{{field.field}}"
|
|
|
|
|
type="{{field.type}}"
|
|
|
|
|
/>
|
|
|
|
|
<p ng-if="field.detail" ng-bind="field.detail" class="text-success text-sm"></p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<button class="btn btn-warning" ng-click="loadClientProfile()"><i class="fa fa-refresh"></i> Reset
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-success" ng-click="submitClientProfile()"><i class="fa fa-check"></i> Submit
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-warning" ng-click="loadClientProfile()"><i class="fa fa-refresh"></i> Reset</button>
|
|
|
|
|
<button class="btn btn-success" ng-click="submitClientProfile()"><i class="fa fa-check"></i> Submit</button>
|
|
|
|
|
</uib-tab>
|
|
|
|
|
</uib-tabset>
|
|
|
|
|
</div>
|
|
|
|
|