<div class="modal-header">
  <h4 class="modal-title pull-left">缴费统计-按照缴费渠道统计</h4>
</div>
<div class="modal-body">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th class="th-index">#</th>
      <th>渠道代码</th>
      <th>渠道名称</th>
      <th>缴费金额</th>
      <th>订单时间</th>
      <th>支付时间</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of ajax.getArray(); let i = index">
      <td>{{i + 1}}</td>
      <td>{{v.channel_id}}</td>
      <td>{{v.channel_name}}</td>
      <td>{{v.bill_amount / 100 | currency:'CNY'}}</td>
      <td>{{v.min_bill_time}} - {{v.max_bill_time}}</td>
      <td>{{v.min_pay_time}} - {{v.max_pay_time}}</td>
    </tr>
    </tbody>
  </table>
  <frame-ajax url="pay/bill/report/channel.htm" ajaxDataType="array" #ajax></frame-ajax>

</div>
<div class="modal-footer justify-content-between">
  <div>
    <button class="btn btn-primary" type="button" (click)="FuncService.fileDownload('pay/bill/report/channel/download.htm')">
      下载报表
    </button>
  </div>

  <div>
    <button class="btn btn-secondary ml-3" type="button" (click)="closeWindow()">关闭窗口</button>
  </div>
</div>
