@ -30,17 +30,21 @@
-webkit-transform: rotate(90deg);
}
}
.popover-color {
background-color: #f7f7f7;
border-bottom: 1px solid #ebebeb;
color: black;
}
.popover-content button {
display: inline-block;
}
.position_re {
position: relative;
}
.position_re .position_ab {
position: absolute;
top: 90%;
@ -53,19 +57,24 @@
font-size: 30px;
line-height: 70px
}
.info_box_bottom {
min-height: 70px;
margin-bottom: 0px
}
.box-content_left {
margin-left: 70px
}
.box-number_font {
font-size: 14px;
}
.line_height {
line-height: 14px
}
.line_height_ {
line-height: 22px;
}
@ -105,7 +114,8 @@
< / select >
< / label >
< div class = "col-sm-4 col-xs-8" >
< input class = "form-control" placeholder = "Keyword" ng-enter = "loadTradeLogs(1)"
< input class = "form-control" placeholder = "Keyword"
ng-enter="loadTradeLogs(1)"
ng-model="params.searchText">
< / div >
< / div >
@ -129,13 +139,19 @@
< a role = "button" ng-class = "{'bg-primary':params.status=='ALL'}"
ng-click="params.status='ALL';loadTradeLogs(1)">All< / a > |
< a role = "button" ng-class = "{'bg-primary':params.status=='PAID'}"
ng-click="params.status='PAID';loadTradeLogs(1)">Payment Success< / a > |
ng-click="params.status='PAID';loadTradeLogs(1)">Payment Success< / a >
|
< a role = "button" ng-class = "{'bg-primary':params.status=='ALL_REFUNDED'}"
ng-click="params.status='ALL_REFUNDED';loadTradeLogs(1)">All Refund< / a > |
< a role = "button" ng-class = "{'bg-primary':params.status=='PARTIAL_REFUNDED'}"
ng-click="params.status='PARTIAL_REFUNDED';loadTradeLogs(1)">Partial Refund< / a > |
< a role = "button" ng-class = "{'bg-primary':params.status=='FULL_REFUNDED'}"
ng-click="params.status='FULL_REFUNDED';loadTradeLogs(1)">Full Refund< / a >
ng-click="params.status='ALL_REFUNDED';loadTradeLogs(1)">All
Refund< / a > |
< a role = "button"
ng-class="{'bg-primary':params.status=='PARTIAL_REFUNDED'}"
ng-click="params.status='PARTIAL_REFUNDED';loadTradeLogs(1)">Partial
Refund< / a > |
< a role = "button"
ng-class="{'bg-primary':params.status=='FULL_REFUNDED'}"
ng-click="params.status='FULL_REFUNDED';loadTradeLogs(1)">Full
Refund< / a >
< / p >
< / div >
< / div >
@ -149,8 +165,10 @@
ng-click="params.channel='WECHAT';loadTradeLogs(1)">Wechat Pay< / a > |
< a role = "button" ng-class = "{'bg-primary':params.channel=='ALIPAY'}"
ng-click="params.channel='ALIPAY';loadTradeLogs(1)">Alipay< / a > |
< a role = "button" ng-class = "{'bg-primary':params.channel=='ALIPAYONLINE'}"
ng-click="params.channel='ALIPAYONLINE';loadTradeLogs(1)">AlipayOnline< / a > |
< a role = "button"
ng-class="{'bg-primary':params.channel=='ALIPAYONLINE'}"
ng-click="params.channel='ALIPAYONLINE';loadTradeLogs(1)">AlipayOnline< / a >
|
< a role = "button" ng-class = "{'bg-primary':params.channel=='BESTPAY'}"
ng-click="params.channel='BESTPAY';loadTradeLogs(1)">BestPay< / a > |
< a role = "button" ng-class = "{'bg-primary':params.channel=='JD'}"
@ -173,7 +191,8 @@
< a role = "button" ng-class = "{'bg-primary':params.gateway==null}"
ng-click="params.gateway=null;loadTradeLogs(1)">All< / a > |
< a role = "button" ng-class = "{'bg-primary':gatewaySelected([0,1])}"
ng-click="params.gateway=[0,1];initGatewayChild()">Retail In-Store< / a > |
ng-click="params.gateway=[0,1];initGatewayChild()">Retail
In-Store< / a > |
< a role = "button" ng-class = "{'bg-primary':gatewaySelected([5,6])}"
ng-click="params.gateway=[5,6];initGatewayChild()">Retail API< / a > |
< a role = "button" ng-class = "{'bg-primary':gatewaySelected([2,7])}"
@ -185,7 +204,8 @@
< a role = "button" ng-class = "{'bg-primary':gatewaySelected([8])}"
ng-click="params.gateway=[8];loadTradeLogs(1)">Mobile H5< / a > |
< a role = "button" ng-class = "{'bg-primary':gatewaySelected([9])}"
ng-click="params.gateway=[9];loadTradeLogs(1)">Third Party Gateway< / a > |
ng-click="params.gateway=[9];loadTradeLogs(1)">Third Party
Gateway< / a > |
< a role = "button" ng-class = "{'bg-primary':gatewaySelected([10])}"
ng-click="params.gateway=[10];loadTradeLogs(1)">APP< / a > |
< a role = "button" ng-class = "{'bg-primary':gatewaySelected([11])}"
@ -266,39 +286,52 @@
< / div >
< / div >
< div class = "form-group col-xs-12" ng-if = "currentUser.client.has_children" >
< div class = "form-group col-xs-12"
ng-if="currentUser.client.has_children & & !currentUser.client.hide_sub_mch">
< label class = "control-label col-xs-4 col-sm-2" > Sub Partner< / label >
< div class = "col-sm-10 col-xs-8" >
< p class = "form-control-static" >
< a role = "button" ng-class = "{'bg-primary':isAll}" ng-click = "chooseClient('all')" > All< / a >
< a role = "button" ng-class = "{'bg-primary':isAll}"
ng-click="chooseClient('all')">All< / a >
< label ng-repeat = "sub in clients" >
|
< a role = "button" ng-class = "{'bg-primary':sub.client_id==chooseClientId}" ng-click = "chooseClient(sub)" > {{sub.short_name}}< / a >
< a role = "button"
ng-class="{'bg-primary':sub.client_id==chooseClientId}"
ng-click="chooseClient(sub)">{{sub.short_name}}< / a >
< / label >
< / p >
< / div >
< / div >
< div class = "form-group col-xs-12" ng-if = "level3Clients && showLevel3Clients" >
< label class = "control-label col-xs-4 col-sm-2" > Sub-Partner of sub-partners< / label >
< div class = "form-group col-xs-12"
ng-if="level3Clients & & showLevel3Clients & & !currentUser.client.hide_sub_mch">
< label class = "control-label col-xs-4 col-sm-2" > Sub-Partner of
sub-partners< / label >
< div class = "col-sm-10 col-xs-8" >
< p class = "form-control-static" >
< a role = "button" ng-class = "{'bg-primary':isLevel3All}" ng-click = "chooseLevel3Client('all')" > All< / a >
< a role = "button" ng-class = "{'bg-primary':isLevel3All}"
ng-click="chooseLevel3Client('all')">All< / a >
< label ng-repeat = "sub in level3Clients" >
|
< a role = "button" ng-class = "{'bg-primary':sub.client_id==chooseLevel3ClientId}" ng-click = "chooseLevel3Client(sub)" > {{sub.short_name}}< / a >
< a role = "button"
ng-class="{'bg-primary':sub.client_id==chooseLevel3ClientId}"
ng-click="chooseLevel3Client(sub)">{{sub.short_name}}< / a >
< / label >
< / p >
< / div >
< / div >
< div class = "form-group col-xs-12" ng-if = "deviceIds.length" >
< div class = "form-group col-xs-12"
ng-if="deviceIds.length & & !currentUser.client.hide_sub_mch">
< label class = "control-label col-xs-4 col-sm-2" > Third Device< / label >
< div class = "col-sm-10 col-xs-8" >
< p class = "form-control-static" >
< a role = "button" ng-class = "{'bg-primary':order_device_isAll}" ng-click = "chooseDeviceIds('all')" > All< / a >
< a role = "button" ng-class = "{'bg-primary':order_device_isAll}"
ng-click="chooseDeviceIds('all')">All< / a >
< label ng-repeat = "dev in deviceIds" >
| < a role = "button" ng-class = "{'bg-primary':dev.dev_id==choose_order_device_id}" ng-click = "chooseDeviceIds(dev.dev_id)" > {{dev.dev_id}}< / a >
| < a role = "button"
ng-class="{'bg-primary':dev.dev_id==choose_order_device_id}"
ng-click="chooseDeviceIds(dev.dev_id)">{{dev.dev_id}}< / a >
< / label >
< / p >
< / div >
@ -307,9 +340,12 @@
< label class = "control-label col-xs-4 col-sm-2" > Devices< / label >
< div class = "col-sm-10 col-xs-8" >
< p class = "form-control-static" >
< a role = "button" ng-class = "{'bg-primary':device_isAll}" ng-click = "chooseDevices('all')" > All< / a >
< a role = "button" ng-class = "{'bg-primary':device_isAll}"
ng-click="chooseDevices('all')">All< / a >
< label ng-repeat = "device in devices" >
| < a role = "button" ng-class = "{'bg-primary':device.dev_id==chooseDevice_id}" ng-click = "chooseDevices(device.dev_id)" > {{device.remark}}< / a >
| < a role = "button"
ng-class="{'bg-primary':device.dev_id==chooseDevice_id}"
ng-click="chooseDevices(device.dev_id)">{{device.remark}}< / a >
< / label >
< / p >
< / div >
@ -327,7 +363,8 @@
< div class = "row" >
< div class = "col-md-3 col-sm-6 col-xs-12" >
< div class = "info-box info_box_bottom" >
< span class = "info-box-icon bg-aqua box-icon_small" > < i class = "ion ion-social-usd" > < / i > < / span >
< span class = "info-box-icon bg-aqua box-icon_small" > < i
class="ion ion-social-usd">< / i > < / span >
< div class = "info-box-content box-content_left" >
< span class = "info-box-text" > Transaction Amount< / span >
< span class = "info-box-number box-number_font"
@ -339,7 +376,8 @@
< div class = "col-md-3 col-sm-6 col-xs-12" ng-if = "!analysis.cny_display_amount" >
< div class = "info-box info_box_bottom" >
< span class = "info-box-icon bg-aqua box-icon_small" > < i class = "ion ion-social-usd" > < / i > < / span >
< span class = "info-box-icon bg-aqua box-icon_small" > < i
class="ion ion-social-usd">< / i > < / span >
< div class = "info-box-content box-content_left" >
< span class = "info-box-text" > Input Amount< / span >
< span class = "info-box-number box-number_font"
@ -349,19 +387,24 @@
< / div >
< / div >
< div class = "col-md-3 col-sm-6 col-xs-12" ng-if = "analysis.cny_display_amount" >
< div class = "info-box info_box_bottom" ng-class = "{'line_height':analysis.pre_display_amount||analysis.pre_cny_display_amount}" >
< span class = "info-box-icon bg-aqua box-icon_small" > < i class = "ion ion-social-usd" > < / i > < / span >
< div class = "info-box info_box_bottom"
ng-class="{'line_height':analysis.pre_display_amount||analysis.pre_cny_display_amount}">
< span class = "info-box-icon bg-aqua box-icon_small" > < i
class="ion ion-social-usd">< / i > < / span >
< div class = "info-box-content box-content_left" >
< span class = "info-box-text" > Input Amount< / span >
< span class = "info-box-number box-number_font" style = "margin-bottom: -3px;" ng-class = "{line_height_:!analysis.pre_display_amount}"
< span class = "info-box-number box-number_font" style = "margin-bottom: -3px;"
ng-class="{line_height_:!analysis.pre_display_amount}"
ng-bind="analysis.display_amount|currency:'AUD '">< / span >
< span style = "font-size: 10px;line-height: 10px" ng-if = "analysis.pre_display_amount" >
< span style = "font-size: 10px;line-height: 10px"
ng-if="analysis.pre_display_amount">
( {{analysis.pre_display_amount | currency:'pre authorization '}} )
< / span >
< span class = "info-box-number box-number_font" style = "margin-bottom: -3px;"
ng-if="analysis.cny_display_amount"
ng-bind="analysis.cny_display_amount|currency:'CNY '">< / span >
< span style = "font-size: 10px;line-height: 10px" ng-if = "analysis.pre_cny_display_amount" >
< span style = "font-size: 10px;line-height: 10px"
ng-if="analysis.pre_cny_display_amount">
( {{analysis.pre_cny_display_amount | currency:'pre authorization '}} )
< / span >
< / div >
@ -369,7 +412,8 @@
< / div >
< div class = "col-md-3 col-sm-6 col-xs-12" >
< div class = "info-box info_box_bottom" >
< span class = "info-box-icon bg-red box-icon_small" > < i class = "ion ion-android-warning" > < / i > < / span >
< span class = "info-box-icon bg-red box-icon_small" > < i
class="ion ion-android-warning">< / i > < / span >
< div class = "info-box-content box-content_left" >
< span class = "info-box-text" > Refund Amount< / span >
< span class = "info-box-number box-number_font"
@ -382,7 +426,8 @@
< / div >
< div class = "col-md-3 col-sm-6 col-xs-12" >
< div class = "info-box info_box_bottom" >
< span class = "info-box-icon bg-yellow box-icon_small" > < i class = "ion ion-ios-people" > < / i > < / span >
< span class = "info-box-icon bg-yellow box-icon_small" > < i
class="ion ion-ios-people">< / i > < / span >
< div class = "info-box-content box-content_left" >
< span class = "info-box-text" > CUSTOMERS< / span >
< span class = "info-box-number box-number_font"
@ -428,21 +473,37 @@
< tr ng-repeat = "trade in tradeLogs" ng-class = "{warning:trade.clearing_status==2}" >
< td ng-bind = "trade.client_order_id||'NOT PROVIDED'" > < / td >
< td >
< img src = "/static/images/clearing-icon.png" uib-tooltip = "clearing" ng-if = "trade.clearing_status=='1'" / >
< i class = "fa fa-check-circle-o text-danger" uib-tooltip = "Refund Audition Required" ng-if = "trade.audition" > < / i >
< img src = "/static/images/royalpay_sign_s.png" uib-tooltip = "RoyalPay" ng-if = "trade.source=='system'" / >
< img src = "/static/images/yangmaimai_sign.png" uib-tooltip = "RP跨境商城" ng-if = "trade.source=='RP跨境商城'" / >
< img src = "/static/images/wechatpay_sign.png" uib-tooltip = "Znyoo" ng-if = "trade.channel=='Znyoo'" / >
< img src = "/static/images/wechatpay_sign.png" uib-tooltip = "Wechat Pay" ng-if = "trade.channel=='Wechat'" / >
< img src = "/static/images/bestpay_sign.png" uib-tooltip = "BestPay" alt = "BestPay" ng-if = "trade.channel=='Bestpay'" / >
< img src = "/static/images/alipay_sign.png" uib-tooltip = "Alipay" alt = "Alipay" ng-if = "trade.channel=='Alipay'" / >
< img src = "/static/images/alipay_sign.png" uib-tooltip = "AlipayOnline" alt = "AlipayOnline" ng-if = "trade.channel=='AlipayOnline'" / >
< img src = "/static/images/jd_sign.png" uib-tooltip = "JD Pay" ng-if = "trade.channel=='jd'" / >
< img src = "/static/images/hf_sign.png" uib-tooltip = "HF Pay" ng-if = "trade.channel=='hf'" / >
< img src = "/static/images/rpayplus_sign.png" uib-tooltip = "RPay+" ng-if = "trade.channel=='Rpay'" / >
< img src = "/static/images/yeepay_sign.png" uib-tooltip = "Yeepay" ng-if = "trade.channel=='Yeepay'" / >
< img src = "/static/images/lakalapay_sign.png" uib-tooltip = "LakalaPay" ng-if = "trade.channel=='LakalaPay'" / >
{{trade.order_id}}< span ng-if = "trade.source!='system' && trade.source!=null && trade.incremental_surcharge != null" > < i class = "fa fa-question-circle-o" uib-tooltip-html = "trade.htmlTooltip" > < / i > < / span >
< img src = "/static/images/clearing-icon.png" uib-tooltip = "clearing"
ng-if="trade.clearing_status=='1'"/>
< i class = "fa fa-check-circle-o text-danger" uib-tooltip = "Refund Audition Required"
ng-if="trade.audition">< / i >
< img src = "/static/images/royalpay_sign_s.png" uib-tooltip = "RoyalPay"
ng-if="trade.source=='system'"/>
< img src = "/static/images/yangmaimai_sign.png" uib-tooltip = "RP跨境商城"
ng-if="trade.source=='RP跨境商城'"/>
< img src = "/static/images/wechatpay_sign.png" uib-tooltip = "Znyoo"
ng-if="trade.channel=='Znyoo'"/>
< img src = "/static/images/wechatpay_sign.png" uib-tooltip = "Wechat Pay"
ng-if="trade.channel=='Wechat'"/>
< img src = "/static/images/bestpay_sign.png" uib-tooltip = "BestPay" alt = "BestPay"
ng-if="trade.channel=='Bestpay'"/>
< img src = "/static/images/alipay_sign.png" uib-tooltip = "Alipay" alt = "Alipay"
ng-if="trade.channel=='Alipay'"/>
< img src = "/static/images/alipay_sign.png" uib-tooltip = "AlipayOnline"
alt="AlipayOnline" ng-if="trade.channel=='AlipayOnline'"/>
< img src = "/static/images/jd_sign.png" uib-tooltip = "JD Pay"
ng-if="trade.channel=='jd'"/>
< img src = "/static/images/hf_sign.png" uib-tooltip = "HF Pay"
ng-if="trade.channel=='hf'"/>
< img src = "/static/images/rpayplus_sign.png" uib-tooltip = "RPay+"
ng-if="trade.channel=='Rpay'"/>
< img src = "/static/images/yeepay_sign.png" uib-tooltip = "Yeepay"
ng-if="trade.channel=='Yeepay'"/>
< img src = "/static/images/lakalapay_sign.png" uib-tooltip = "LakalaPay"
ng-if="trade.channel=='LakalaPay'"/>
{{trade.order_id}}< span
ng-if="trade.source!='system' & & trade.source!=null & & trade.incremental_surcharge != null">< i
class="fa fa-question-circle-o" uib-tooltip-html="trade.htmlTooltip">< / i > < / span >
< / td >
< td >
{{trade.total_amount|currency:trade.currency+' '}}
@ -453,7 +514,8 @@
< td ng-bind = "trade.clearing_amount|currency:'AUD '" > < / td >
< td ng-bind = "trade.settle_amount|currency:'AUD '" > < / td >
< td >
< span ng-if = "(trade.channel!='hf') && (trade.channel!='Rpay')" ng-bind = "trade.exchange_rate" > < / span >
< span ng-if = "(trade.channel!='hf') && (trade.channel!='Rpay')"
ng-bind="trade.exchange_rate">< / span >
< span ng-if = "(trade.channel=='hf') || (trade.channel=='Rpay')" > - < / span >
< / td >
< td ng-bind = "trade.status|tradeStatus" > < / td >
@ -468,11 +530,14 @@
< a role = "button" class = "text-bold" ng-click = "showTradeDetail(trade)" title = "Detail" >
< i class = "fa fa-list-alt" > < / i >
< / a >
< a role = "button" ng-if = "trade.clearing_status==2 && trade.client_id==currentUser.client_id" class = "text-bold text-primary"
< a role = "button"
ng-if="trade.clearing_status==2 & & trade.client_id==currentUser.client_id"
class="text-bold text-primary"
ng-click="releasePreAuth(trade.order_id)" title="Release Pre-Authorization">
< i class = "fa fa-unlock-alt" > < / i >
< / a >
< a role = "button" ng-if = "trade.status>=5 && trade.confirm_time!=null && trade.clearing_status<2 && currentUser.client.enable_refund"
< a role = "button"
ng-if="trade.status>=5 & & trade.confirm_time!=null & & trade.clearing_status< 2 & & currentUser . client . enable_refund "
class="text-bold text-danger" ng-click="newPRefund(trade.order_id)"
title="Refund">
< i class = "fa fa-undo" > < / i >
@ -496,7 +561,9 @@
first-text="« "
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 >