|
|
|
@ -4,15 +4,20 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<div class="form-horizontal" ng-form="configForm">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<!-- <div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">WeChat Sub Merchant Id</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<p ng-if="!ctrl.editSubMerchant" class="form-control-static">
|
|
|
|
|
{{paymentInfo.sub_merchant_id||'Not Configure'}}
|
|
|
|
|
<a role="button" ng-click="ctrl.editSubMerchant=true" ng-if="'011'|withRole"><i class="fa fa-edit"></i></a>
|
|
|
|
|
<a role="button" ng-click="queryWechatSubMerchantIdStatus()"><i class="fa fa-refresh"></i></a>
|
|
|
|
|
<i class="fa fa-clock-o text-danger" title="Using temp Sub Merchant ID" ng-if="paymentInfo.temp_sub_merchant"></i>
|
|
|
|
|
<span class="small" ng-if="('10'|withRole) &&paymentInfo.sub_merchant_id&&paymentInfo.merchant_id"><b>Merchant ID</b>:{{paymentInfo.merchant_id | choose_merchant_id}}</span>
|
|
|
|
|
<a role="button" ng-click="ctrl.editSubMerchant=true" ng-if="'011'|withRole"><i
|
|
|
|
|
class="fa fa-edit"></i></a>
|
|
|
|
|
<a role="button" ng-click="queryWechatSubMerchantIdStatus()"><i
|
|
|
|
|
class="fa fa-refresh"></i></a>
|
|
|
|
|
<i class="fa fa-clock-o text-danger" title="Using temp Sub Merchant ID"
|
|
|
|
|
ng-if="paymentInfo.temp_sub_merchant"></i>
|
|
|
|
|
<span class="small"
|
|
|
|
|
ng-if="('10'|withRole) &&paymentInfo.sub_merchant_id&&paymentInfo.merchant_id"><b>Merchant
|
|
|
|
|
ID</b>:{{paymentInfo.merchant_id | choose_merchant_id}}</span>
|
|
|
|
|
<span class="small"
|
|
|
|
|
ng-if="('10'|withRole) &&paymentInfo.sub_merchant_id&&paymentInfo.sub_merchant_id_log">
|
|
|
|
|
<a class="text-primary" role="button" title="modify logs"
|
|
|
|
@ -44,7 +49,8 @@
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<p class="form-control-static">
|
|
|
|
|
{{paymentInfo.wechat_institution_merchant_id||'初始化'}}
|
|
|
|
|
<a role="button" ng-click="refreshWechatInstitutionMerchantId()"><i class="fa fa-refresh"></i></a>
|
|
|
|
|
<a role="button" ng-click="refreshWechatInstitutionMerchantId()"><i
|
|
|
|
|
class="fa fa-refresh"></i></a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -62,12 +68,17 @@
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<p ng-if="!ctrl.editAliSubMerchant" class="form-control-static">
|
|
|
|
|
{{paymentInfo.ali_sub_merchant_id||'Not Configure'}}
|
|
|
|
|
<a role="button" ng-click="ctrl.editAliSubMerchant=true" ng-if="'10'|withRole"><i class="fa fa-edit"></i></a>
|
|
|
|
|
<a role="button" ng-click="submitAlipaySubId()"><i class="fa fa-arrow-up" title="Alipay进件"></i></a>
|
|
|
|
|
<a role="button" ng-click="queryAlipayGms()"><i class="fa fa-refresh" title="Alipay进件"></i></a>
|
|
|
|
|
<a role="button" ng-click="ctrl.editAliSubMerchant=true" ng-if="'10'|withRole"><i
|
|
|
|
|
class="fa fa-edit"></i></a>
|
|
|
|
|
<a role="button" ng-click="submitAlipaySubId()"><i class="fa fa-arrow-up"
|
|
|
|
|
title="Alipay进件"></i></a>
|
|
|
|
|
<a role="button" ng-click="queryAlipayGms()"><i class="fa fa-refresh"
|
|
|
|
|
title="Alipay进件"></i></a>
|
|
|
|
|
|
|
|
|
|
|
<a role="button" ng-click="submitAlipayOnlineSubId()"><i class="fa fa-arrow-up" title="AlipayOnline进件"></i></a>
|
|
|
|
|
<a role="button" ng-click="queryAlipayOnlineGms()"><i class="fa fa-refresh" title="AlipayOnline进件"></i></a>
|
|
|
|
|
<a role="button" ng-click="submitAlipayOnlineSubId()"><i class="fa fa-arrow-up"
|
|
|
|
|
title="AlipayOnline进件"></i></a>
|
|
|
|
|
<a role="button" ng-click="queryAlipayOnlineGms()"><i class="fa fa-refresh"
|
|
|
|
|
title="AlipayOnline进件"></i></a>
|
|
|
|
|
(AlipayOnline)
|
|
|
|
|
</p>
|
|
|
|
|
<div class="input-group" ng-if="ctrl.editAliSubMerchant">
|
|
|
|
@ -89,9 +100,10 @@
|
|
|
|
|
<div class="form-group" ng-if="'10'|withRole">
|
|
|
|
|
<label class="col-sm-3 control-label">Common Sub Merchant Id</label>
|
|
|
|
|
<div class="col-xs-9">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.common_sub_merchant_id" bs-switch switch-change="switchCommonSubMerchantId()">
|
|
|
|
|
</div>
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.common_sub_merchant_id" bs-switch
|
|
|
|
|
switch-change="switchCommonSubMerchantId()">
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">Max Order Amount</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
@ -104,17 +116,20 @@
|
|
|
|
|
<input type="number" class="form-control" ng-model="paymentInfo.max_order_amount"
|
|
|
|
|
title="Max Order Amount">
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-success" title="Save" ng-click="saveMaxOrderAmount(paymentInfo.max_order_amount)">
|
|
|
|
|
<button class="btn btn-success" title="Save"
|
|
|
|
|
ng-click="saveMaxOrderAmount(paymentInfo.max_order_amount)">
|
|
|
|
|
<i class="fa fa-check"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-danger" title="Clear Limit" ng-click="saveMaxOrderAmount(null)">
|
|
|
|
|
<button class="btn btn-danger" title="Clear Limit"
|
|
|
|
|
ng-click="saveMaxOrderAmount(null)">
|
|
|
|
|
<i class="fa fa-ban"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-danger" title="Cancel" ng-click="ctrl.editMaxOrderAmount=false">
|
|
|
|
|
<button class="btn btn-danger" title="Cancel"
|
|
|
|
|
ng-click="ctrl.editMaxOrderAmount=false">
|
|
|
|
|
<i class="fa fa-remove"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
@ -126,15 +141,18 @@
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<p ng-if="!ctrl.editCustomerSurchargeRate" class="form-control-static">
|
|
|
|
|
{{paymentInfo.customer_surcharge_rate||'Not Configure'}}
|
|
|
|
|
<a role="button" ng-click="ctrl.editCustomerSurchargeRate=true"><i class="fa fa-edit"></i></a>
|
|
|
|
|
<a role="button" ng-click="ctrl.editCustomerSurchargeRate=true"><i
|
|
|
|
|
class="fa fa-edit"></i></a>
|
|
|
|
|
</p>
|
|
|
|
|
<div class="input-group" ng-if="ctrl.editCustomerSurchargeRate">
|
|
|
|
|
<input type="number" class="form-control" ng-model="paymentInfo.customer_surcharge_rate"
|
|
|
|
|
title="Customer Surcharge Rate" max="{{paymentInfo.max_customer_surcharge_rate}}" min="{{paymentInfo.min_customer_surcharge_rate}}" name="customer_surcharge_rate">
|
|
|
|
|
title="Customer Surcharge Rate" max="{{paymentInfo.max_customer_surcharge_rate}}"
|
|
|
|
|
min="{{paymentInfo.min_customer_surcharge_rate}}" name="customer_surcharge_rate">
|
|
|
|
|
<div class="input-group-addon">%</div>
|
|
|
|
|
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-success" title="Save" ng-click="saveCustomerSurchargeRate(paymentInfo.customer_surcharge_rate)">
|
|
|
|
|
<button class="btn btn-success" title="Save"
|
|
|
|
|
ng-click="saveCustomerSurchargeRate(paymentInfo.customer_surcharge_rate)">
|
|
|
|
|
<i class="fa fa-check"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
@ -144,12 +162,15 @@
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-danger" title="Cancel" ng-click="ctrl.editCustomerSurchargeRate=false">
|
|
|
|
|
<button class="btn btn-danger" title="Cancel"
|
|
|
|
|
ng-click="ctrl.editCustomerSurchargeRate=false">
|
|
|
|
|
<i class="fa fa-remove"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<p ng-if="configForm.customer_surcharge_rate.$invalid" class="text-danger">valid range({{paymentInfo.min_customer_surcharge_rate}}%~{{paymentInfo.max_customer_surcharge_rate}}%)</p>
|
|
|
|
|
<p ng-if="configForm.customer_surcharge_rate.$invalid" class="text-danger">valid
|
|
|
|
|
range({{paymentInfo.min_customer_surcharge_rate}}%~{{paymentInfo.max_customer_surcharge_rate}}%)
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -158,13 +179,15 @@
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<p ng-if="!ctrl.editOrderExpiryConfig" class="form-control-static">
|
|
|
|
|
{{paymentInfo.order_expiry_config||'Not Configure'}}
|
|
|
|
|
<a role="button" ng-click="ctrl.editOrderExpiryConfig=true" ng-if="'01'|withRole"><i class="fa fa-edit"></i></a>
|
|
|
|
|
<a role="button" ng-click="ctrl.editOrderExpiryConfig=true" ng-if="'01'|withRole"><i
|
|
|
|
|
class="fa fa-edit"></i></a>
|
|
|
|
|
</p>
|
|
|
|
|
<div class="input-group" ng-if="ctrl.editOrderExpiryConfig">
|
|
|
|
|
<input type="text" class="form-control" ng-model="paymentInfo.order_expiry_config"
|
|
|
|
|
title="Prevent not enough refund">
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-success" ng-click="saveOrderExpiryConfig(paymentInfo.order_expiry_config)">
|
|
|
|
|
<button class="btn btn-success"
|
|
|
|
|
ng-click="saveOrderExpiryConfig(paymentInfo.order_expiry_config)">
|
|
|
|
|
<i class="fa fa-check"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
@ -194,32 +217,37 @@
|
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
|
<label class="col-xs-6 control-label">Alipay|支付宝</label>
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_alipay" bs-switch switch-change="toggleChannel('alipay')">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_alipay" bs-switch
|
|
|
|
|
switch-change="toggleChannel('alipay')">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
|
<label class="col-xs-6 control-label">WeChat|微信</label>
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_wechat" bs-switch switch-change="toggleChannel('wechat')">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_wechat" bs-switch
|
|
|
|
|
switch-change="toggleChannel('wechat')">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
|
<label class="col-xs-6 control-label">CB BankPay|快捷支付</label>
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_cb_bankpay" bs-switch switch-change="toggleChannel('cb_bankpay')">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_cb_bankpay" bs-switch
|
|
|
|
|
switch-change="toggleChannel('cb_bankpay')">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
|
<label class="col-xs-6 control-label">Card Payment|银行卡支付</label>
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_rpaypmt_card" bs-switch switch-change="toggleChannel('rpaypmt_card')">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_rpaypmt_card" bs-switch
|
|
|
|
|
switch-change="toggleChannel('rpaypmt_card')">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-4">
|
|
|
|
|
<label class="col-xs-6 control-label">Direct Debit|银行账户支付</label>
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_rpaypmt_dd" bs-switch switch-change="toggleChannel('rpaypmt_dd')">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_rpaypmt_dd" bs-switch
|
|
|
|
|
switch-change="toggleChannel('rpaypmt_dd')">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -239,7 +267,8 @@
|
|
|
|
|
<div class="form-group" ng-if="'qrcode_surcharge'|withFunc">
|
|
|
|
|
<label class="col-sm-2 control-label">Customer Pay for Surcharge On QRCode</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.qrcode_surcharge" bs-switch switch-change="updateClientQRCodePaySurCharge()">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.qrcode_surcharge" bs-switch
|
|
|
|
|
switch-change="updateClientQRCodePaySurCharge()">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
@ -271,7 +300,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-12">
|
|
|
|
|
<p>
|
|
|
|
|
<a ng-href="{{qrcode.qrcode}}" download><i class="fa fa-download"></i> Download QR Code Image (支付二维码)</a>
|
|
|
|
|
<a ng-href="{{qrcode.qrcode}}" download><i class="fa fa-download"></i> Download QR Code
|
|
|
|
|
Image (支付二维码)</a>
|
|
|
|
|
</p>
|
|
|
|
|
<!--<p>-->
|
|
|
|
|
<!--<a ng-href="/sys/partners/{{partner.client_moniker}}/qrcode_board?currency={{qrConfig.currency}}&preauth={{qrConfig.preauth==true}}&qrcode={{qrConfig.qrcode==true}}&customerrate={{qrConfig.customerrate==true}}"-->
|
|
|
|
@ -286,11 +316,13 @@
|
|
|
|
|
<!--</a>-->
|
|
|
|
|
<!--</p>-->
|
|
|
|
|
<p>
|
|
|
|
|
<a ng-href="/sys/partners/{{partner.client_moniker}}/poster/aggregate" target="_blank"><i class="fa fa-download"></i> Download Aggregate Poster (聚合支付海报)</a>
|
|
|
|
|
<a ng-href="/sys/partners/{{partner.client_moniker}}/poster/aggregate" target="_blank"><i
|
|
|
|
|
class="fa fa-download"></i> Download Aggregate Poster (聚合支付海报)</a>
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
<a ng-href="/sys/partners/{{partner.client_moniker}}/qrcode_board/aggregate?currency={{qrConfig.currency}}&preauth={{qrConfig.preauth==true}}&qrcode={{qrConfig.qrcode==true}}&customerrate={{qrConfig.customerrate==true}}"
|
|
|
|
|
download><i class="fa fa-download"></i> Download Aggregate QR Board Image (聚合支付水晶立牌:支持支付宝、微信、翼支付)</a>
|
|
|
|
|
download><i class="fa fa-download"></i> Download Aggregate QR Board Image
|
|
|
|
|
(聚合支付水晶立牌:支持支付宝、微信、翼支付)</a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -312,22 +344,27 @@
|
|
|
|
|
<div class="form-group" ng-if="'gateway_upgrade'|withFunc">
|
|
|
|
|
<label class="col-sm-2 control-label">Upgrade QRCode</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.gateway_upgrade" bs-switch switch-change="toggleGatewayUpgrade()">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.gateway_upgrade" bs-switch
|
|
|
|
|
switch-change="toggleGatewayUpgrade()">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label">Use Alipay Online</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.gateway_alipay_online" bs-switch switch-change="toggleGatewayAlipayOnline()">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.gateway_alipay_online" bs-switch
|
|
|
|
|
switch-change="toggleGatewayAlipayOnline()">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-if="'api_surcharge'|withFunc">
|
|
|
|
|
<label class="col-sm-2 control-label">Customer Pay for Surcharge On Gateway</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.api_surcharge" bs-switch switch-change="updateClientApiSurCharge()">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.api_surcharge" bs-switch
|
|
|
|
|
switch-change="updateClientApiSurCharge()">
|
|
|
|
|
<p class="text-info">
|
|
|
|
|
<i class="fa fa-info"></i> If client have already attached surcharge in their own system, ignore this choice.<br>
|
|
|
|
|
<i class="fa fa-info"></i> It is recommended to notice customers about they will pay addition money as surcharge in the payment page. <br>
|
|
|
|
|
<i class="fa fa-info"></i> If client have already attached surcharge in their own system, ignore
|
|
|
|
|
this choice.<br>
|
|
|
|
|
<i class="fa fa-info"></i> It is recommended to notice customers about they will pay addition
|
|
|
|
|
money as surcharge in the payment page. <br>
|
|
|
|
|
<i class="fa fa-info"></i> 如果商户已有系统已经自动添加了手续费,请忽略本选项<br>
|
|
|
|
|
<i class="fa fa-info"></i> 建议使用此功能的商户在自有系统支付页中提示用户将会支付额外的手续费
|
|
|
|
|
</p>
|
|
|
|
@ -401,24 +438,29 @@
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label">CB Bank Pay Link</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_cb_bankpay_link" bs-switch ng-change="toggleCBBankPayLink()">
|
|
|
|
|
<a href={{paymentInfo.cb_bankpay_url}} target="_Blank"><span ng-if="paymentInfo.enable_cb_bankpay_link">{{paymentInfo.cb_bankpay_url}}</span></a>
|
|
|
|
|
<i ng-if="paymentInfo.enable_cb_bankpay_link" class="fa fa-clipboard margin-r-5" style="cursor: pointer" ng-click="copyCBBankPayLink()"></i>
|
|
|
|
|
<input ng-if="paymentInfo.enable_cb_bankpay_link" style="opacity: 0" id="cpcbbankpay" value={{paymentInfo.cb_bankpay_url}} readonly>
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.enable_cb_bankpay_link" bs-switch
|
|
|
|
|
ng-change="toggleCBBankPayLink()">
|
|
|
|
|
<a href={{paymentInfo.cb_bankpay_url}} target="_Blank"><span
|
|
|
|
|
ng-if="paymentInfo.enable_cb_bankpay_link">{{paymentInfo.cb_bankpay_url}}</span></a>
|
|
|
|
|
<i ng-if="paymentInfo.enable_cb_bankpay_link" class="fa fa-clipboard margin-r-5"
|
|
|
|
|
style="cursor: pointer" ng-click="copyCBBankPayLink()"></i>
|
|
|
|
|
<input ng-if="paymentInfo.enable_cb_bankpay_link" style="opacity: 0" id="cpcbbankpay"
|
|
|
|
|
value={{paymentInfo.cb_bankpay_url}} readonly>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label">Customer Pay for Surcharge for CBBank Pay</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.cbbank_surcharge" bs-switch ng-change="updateClientCBBankPaySurCharge()">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.cbbank_surcharge" bs-switch
|
|
|
|
|
ng-change="updateClientCBBankPaySurCharge()">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-2 control-label">CB Bank Pay Channel</label>
|
|
|
|
|
<div class="col-sm-3">
|
|
|
|
|
<select class="form-control" name="industry" ng-change="updateCBBankPayConfig('cb_channel_id',partner.cb_channel_id)"
|
|
|
|
|
ng-model="partner.cb_channel_id"
|
|
|
|
|
id="cbbankpay-input" required
|
|
|
|
|
<select class="form-control" name="industry"
|
|
|
|
|
ng-change="updateCBBankPayConfig('cb_channel_id',partner.cb_channel_id)"
|
|
|
|
|
ng-model="partner.cb_channel_id" id="cbbankpay-input" required
|
|
|
|
|
ng-options="channel.channel_id as channel.channel_name for channel in cb_bankpay">
|
|
|
|
|
<option value="">跟随系统</option>
|
|
|
|
|
</select>
|
|
|
|
@ -432,15 +474,17 @@
|
|
|
|
|
<span style="padding-left: 4.2%;font-size:9px;">仅支持微信客户端扫描</span>
|
|
|
|
|
</div>
|
|
|
|
|
<p>
|
|
|
|
|
<a ng-href="/sys/partners/{{partner.client_moniker}}/qrcode_board/CBBankAggregate"
|
|
|
|
|
download><i class="fa fa-download"></i> Download Aggregate QR Board Image (聚合支付水晶立牌:支持支付宝、微信、翼支付)</a>
|
|
|
|
|
<a ng-href="/sys/partners/{{partner.client_moniker}}/qrcode_board/CBBankAggregate" download><i
|
|
|
|
|
class="fa fa-download"></i> Download Aggregate QR Board Image
|
|
|
|
|
(聚合支付水晶立牌:支持支付宝、微信、翼支付)</a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-6" ng-if="paymentInfo.enable_cb_bankpay">
|
|
|
|
|
<label class="col-sm-4 control-label">Select Version</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<select class="form-control" ng-change="changeCBBankPaymentPage()" ng-model="paymentInfo.cbbank_paypad_version" title="Payment Page">
|
|
|
|
|
<select class="form-control" ng-change="changeCBBankPaymentPage()"
|
|
|
|
|
ng-model="paymentInfo.cbbank_paypad_version" title="Payment Page">
|
|
|
|
|
<option value="v1">v1</option>
|
|
|
|
|
<option value="v2">v2</option>
|
|
|
|
|
</select>
|
|
|
|
@ -448,8 +492,10 @@
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<label class="col-sm-4 control-label"></label>
|
|
|
|
|
<div class="col-sm-8" style="margin-top: 10px;">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.cbbank_paypad_version=='v1'" src="/static/images/cbbank_payment_page_v1.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.cbbank_paypad_version=='v2'" src="/static/images/cbbank_payment_page_v2.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.cbbank_paypad_version=='v1'"
|
|
|
|
|
src="/static/images/cbbank_payment_page_v1.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.cbbank_paypad_version=='v2'"
|
|
|
|
|
src="/static/images/cbbank_payment_page_v2.jpg">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -496,7 +542,8 @@
|
|
|
|
|
<div class="form-group" ng-if="'retail_surcharge'|withFunc">
|
|
|
|
|
<label class="col-sm-2 control-label">Customer Pay for Surcharge for Retail</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.retail_surcharge" bs-switch switch-change="updateClientRetailPaySurCharge()">
|
|
|
|
|
<input type="checkbox" ng-model="paymentInfo.retail_surcharge" bs-switch
|
|
|
|
|
switch-change="updateClientRetailPaySurCharge()">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -536,8 +583,7 @@
|
|
|
|
|
<input type="number" maxlength="6" class="form-control"
|
|
|
|
|
ng-model="paymentInfo.refund_credit_line">
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-success"
|
|
|
|
|
ng-click="setRefundCreditLine()">
|
|
|
|
|
<button class="btn btn-success" ng-click="setRefundCreditLine()">
|
|
|
|
|
<i class="fa fa-check"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
@ -558,10 +604,10 @@
|
|
|
|
|
class="fa fa-edit"></i></a>
|
|
|
|
|
</p>
|
|
|
|
|
<div class="input-group" ng-if="ctrl.editRefundPwd">
|
|
|
|
|
<input type="text" class="form-control" maxlength="6" minlength="1" ng-model="paymentInfo.new_refund_password">
|
|
|
|
|
<input type="text" class="form-control" maxlength="6" minlength="1"
|
|
|
|
|
ng-model="paymentInfo.new_refund_password">
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-success"
|
|
|
|
|
ng-click="resetRefundPwd(paymentInfo.new_refund_password)">
|
|
|
|
|
<button class="btn btn-success" ng-click="resetRefundPwd(paymentInfo.new_refund_password)">
|
|
|
|
|
<i class="fa fa-check"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
@ -602,7 +648,7 @@
|
|
|
|
|
<div class="panel panel-default" ng-if="('100000000'|withRole) && paymentInfo.ext_params">
|
|
|
|
|
<div class="panel-heading">Ext Config</div>
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
<div class="form-horizontal" >
|
|
|
|
|
<div class="form-horizontal">
|
|
|
|
|
<div class="form-group" ng-repeat="param in convertExtParams">
|
|
|
|
|
<label class="col-sm-2 control-label">{{param.name.toUpperCase()}}</label>
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
@ -614,7 +660,8 @@
|
|
|
|
|
<div ng-if="param.type == 'string'">
|
|
|
|
|
<p ng-if="!param.flag" class="form-control-static">
|
|
|
|
|
{{param.value}}
|
|
|
|
|
<a role="button" ng-click="param.flag=true" ng-if="'01'|withRole"><i class="fa fa-edit"></i></a>
|
|
|
|
|
<a role="button" ng-click="param.flag=true" ng-if="'01'|withRole"><i
|
|
|
|
|
class="fa fa-edit"></i></a>
|
|
|
|
|
</p>
|
|
|
|
|
<div class="input-group" ng-if="param.flag">
|
|
|
|
|
<input type="text" class="form-control" ng-model="param.value"
|
|
|
|
@ -645,7 +692,8 @@
|
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
|
<label class="col-sm-4 control-label">Select Version</label>
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
<select class="form-control" ng-change="changePaymentPage()" ng-model="paymentInfo.paypad_version" title="Payment Page">
|
|
|
|
|
<select class="form-control" ng-change="changePaymentPage()" ng-model="paymentInfo.paypad_version"
|
|
|
|
|
title="Payment Page">
|
|
|
|
|
<option value="v1">v1</option>
|
|
|
|
|
<option value="v2">v2</option>
|
|
|
|
|
<option value="v3">v3</option>
|
|
|
|
@ -657,12 +705,18 @@
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<label class="col-sm-4 control-label"></label>
|
|
|
|
|
<div class="col-sm-8" style="margin-top: 10px;">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v1'" src="/static/images/payment_page_v1.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v2'" src="/static/images/payment_page_v2.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v3'" src="/static/images/payment_page_v3.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v4'" src="/static/images/payment_page_v4.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v5'" src="/static/images/payment_page_v5.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v6'" src="/static/images/payment_page_v6.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v1'"
|
|
|
|
|
src="/static/images/payment_page_v1.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v2'"
|
|
|
|
|
src="/static/images/payment_page_v2.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v3'"
|
|
|
|
|
src="/static/images/payment_page_v3.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v4'"
|
|
|
|
|
src="/static/images/payment_page_v4.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v5'"
|
|
|
|
|
src="/static/images/payment_page_v5.jpg">
|
|
|
|
|
<img style="width: 200px" ng-if="paymentInfo.paypad_version=='v6'"
|
|
|
|
|
src="/static/images/payment_page_v6.jpg">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|