|
|
|
@ -0,0 +1,201 @@
|
|
|
|
|
<style>
|
|
|
|
|
.cen table {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cen table th {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel .col-sm-2 {
|
|
|
|
|
border: 1px solid #d2d6de;
|
|
|
|
|
border-left: 0;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<!--<section class="content-header">
|
|
|
|
|
<h1>Transaction Data</h1>
|
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
|
<li>
|
|
|
|
|
<i class="fa fa-list-alt"></i> Analysis
|
|
|
|
|
</li>
|
|
|
|
|
<li class="active">Transaction Data</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</section>-->
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<div class="box-solid">
|
|
|
|
|
<div class="box box-warning">
|
|
|
|
|
<div class="box-header">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<div class="form-horizontal">
|
|
|
|
|
<div class="form-group col-xs-12">
|
|
|
|
|
<label class="control-label col-xs-4 col-sm-2">Date Range</label>
|
|
|
|
|
<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}">
|
|
|
|
|
</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}">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--<div class="btn-group">
|
|
|
|
|
<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>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<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>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<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>
|
|
|
|
|
</div>
|
|
|
|
|
<button class="btn btn-success" type="button" ng-click="doAnalysis()">
|
|
|
|
|
<i class="fa fa-search"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box box-warning" ng-if="currentUser.org==null">
|
|
|
|
|
<div class="box-header with-border">CBBank 各平台交易总额
|
|
|
|
|
<div class="description-text" style="display: inline-block;float: right;">
|
|
|
|
|
<label class="description-text text-red">交易金额{{ totalChannel.all_amount|currency: ' $ ' }},</label>
|
|
|
|
|
<label class="description-text text-red">交易笔数:{{ totalChannel.all_count }},</label>
|
|
|
|
|
<label class="description-text text-red">交易商户数:{{ totalChannel.all_client_count }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box-body table-responsive channel">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<div class="description-block">
|
|
|
|
|
<div class="description-header text-bold"><img src="/static/images/bestpay_sign.png"/>Bestpay</div>
|
|
|
|
|
<div class="description-text">
|
|
|
|
|
<label class="description-text text-red"
|
|
|
|
|
ng-bind="totalChannel.bestpayamount|currency: ' $ '"></label></br>
|
|
|
|
|
<label class="description-text text-red">交易笔数:{{ totalChannel.bestpay_order_count }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<div class="description-block">
|
|
|
|
|
<div class="description-header text-bold"><img src="/static/images/jd_sign.png"/>JD Pay</div>
|
|
|
|
|
<div class="description-text">
|
|
|
|
|
<label class="description-text text-red"
|
|
|
|
|
ng-bind="totalChannel.jdamount|currency: ' $ '"></label></br>
|
|
|
|
|
<label class="description-text text-red">交易笔数:{{ totalChannel.jd_order_count }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<div class="description-block">
|
|
|
|
|
<div class="description-header text-bold"><img src="/static/images/hf_sign.png"/>HF Pay</div>
|
|
|
|
|
<div class="description-text">
|
|
|
|
|
<label class="description-text text-red"
|
|
|
|
|
ng-bind="totalChannel.hfamount|currency: ' $ '"></label></br>
|
|
|
|
|
<label class="description-text text-red">交易笔数:{{ totalChannel.hf_order_count }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<!-- 显示Rpay+交易额分析-->
|
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<div class="description-block">
|
|
|
|
|
<div class="description-header text-bold"><img src="/static/images/rpayplus_sign.png"/>RPay+</div>
|
|
|
|
|
<div class="description-text">
|
|
|
|
|
<label class="description-text text-red"
|
|
|
|
|
ng-bind="totalChannel.rpayamount|currency: ' $ '"></label></br>
|
|
|
|
|
<label class="description-text text-red">交易笔数:{{ totalChannel.rpay_order_count }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<div class="description-block">
|
|
|
|
|
<div class="description-header text-bold"><img src="/static/images/yeepay_sign.png"/>Yeepay</div>
|
|
|
|
|
<div class="description-text">
|
|
|
|
|
<label class="description-text text-red"
|
|
|
|
|
ng-bind="totalChannel.yeepayamount|currency: ' $ '"></label></br>
|
|
|
|
|
<label class="description-text text-red">交易笔数:{{ totalChannel.yeepay_order_count }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-4 col-xs-6">
|
|
|
|
|
<div class="description-block">
|
|
|
|
|
<div class="description-header text-bold"><small><img src="/static/images/lakalapay_sign.png"/>LakalaPay</small></div>
|
|
|
|
|
<div class="description-text">
|
|
|
|
|
<label class="description-text text-red"
|
|
|
|
|
ng-bind="totalChannel.lakalapayamount|currency: ' $ '"></label></br>
|
|
|
|
|
<label class="description-text text-red">交易笔数:{{ totalChannel.lakala_order_count }}</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="box box-warning">
|
|
|
|
|
<div class="box box-default">
|
|
|
|
|
<div class="box-header">CBBank Channel logs</div>
|
|
|
|
|
<div class="box-body table-responsive">
|
|
|
|
|
<table class="table table-bordered table-striped table-hover">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Channel Name</th>
|
|
|
|
|
<th>交易商户数</th>
|
|
|
|
|
<th>付款金额</th>
|
|
|
|
|
<th>退款金额</th>
|
|
|
|
|
<th>净交易额</th>
|
|
|
|
|
<th>总手续费</th>
|
|
|
|
|
<th>成本手续费</th>
|
|
|
|
|
<th>平台手续费</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="channel in ChannelAmount">
|
|
|
|
|
<td ng-bind="channel.channel"></td>
|
|
|
|
|
<td ng-bind="channel.clients"></td>
|
|
|
|
|
<td ng-bind="channel.gross_amount|currency:''"></td>
|
|
|
|
|
<td ng-bind="channel.refund_amount|currency:''"></td>
|
|
|
|
|
<td ng-bind="channel.amount|currency:''"></td>
|
|
|
|
|
<td ng-bind="channel.total_surcharge|currency:''"></td>
|
|
|
|
|
<td ng-bind="channel.channel_surcharge|currency:''"></td>
|
|
|
|
|
<td ng-bind="channel.royal_surcharge|currency:''"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|