affiliateDetail.blade.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @extends('admin.layouts')
  2. @section('css')
  3. <link href="/assets/global/vendor/bootstrap-table/bootstrap-table.min.css" type="text/css" rel="stylesheet">
  4. @endsection
  5. @section('content')
  6. <div class="page-content container">
  7. <div class="panel">
  8. <div class="panel-heading">
  9. <h2 class="panel-title">提现申请详情</h2>
  10. <div class="panel-actions">
  11. @if($info->status == -1)
  12. <span class="badge badge-lg badge-danger"> 已驳回 </span>
  13. @elseif($info->status == 2)
  14. <span class="badge badge-lg badge-success"> 已打款 </span>
  15. @endif
  16. <a href="/admin/affList" class="btn btn-danger"> 返 回</a>
  17. </div>
  18. </div>
  19. <div class="panel-body">
  20. <div class="example">
  21. <table class="text-md-center" data-toggle="table" data-mobile-responsive="true">
  22. <thead class="thead-default">
  23. <tr>
  24. <th colspan="6">申请单ID:{{$info->id}} | 申请人:{{$info->user->email}} | 申请提现金额:¥{{$info->amount}} | 申请时间:{{$info->created_at}}</th>
  25. </tr>
  26. <tr>
  27. <th> #</th>
  28. <th> 关联人</th>
  29. <th> 关联订单</th>
  30. <th> 订单金额</th>
  31. <th> 佣金</th>
  32. <th> 下单时间</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. @foreach($list as $vo)
  37. <tr>
  38. <td> {{$vo->id}} </td>
  39. <td> {{empty($vo->user) ? '【账号已删除】' : $vo->user->email}} </td>
  40. <td>
  41. <a href="/admin/orderList?order_sn={{$vo->order->order_sn}}" target="_blank">{{$vo->order->goods->name}}</a>
  42. </td>
  43. <td> ¥{{$vo->amount}} </td>
  44. <td> ¥{{$vo->ref_amount}} </td>
  45. <td> {{$vo->created_at}} </td>
  46. </tr>
  47. @endforeach
  48. </tbody>
  49. </table>
  50. </div>
  51. </div>
  52. <div class="panel-footer">
  53. <div class="row">
  54. <div class="col-sm-4">
  55. 本申请共涉及 <code>{{$list->total()}}</code> 单
  56. </div>
  57. <div class="col-sm-8">
  58. <nav class="Page navigation float-right">
  59. {{$list->links()}}
  60. </nav>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. @endsection
  67. @section('script')
  68. <script src="/assets/global/vendor/bootstrap-table/bootstrap-table.min.js" type="text/javascript"></script>
  69. <script src="/assets/global/vendor/bootstrap-table/extensions/mobile/bootstrap-table-mobile.min.js" type="text/javascript"></script>
  70. @endsection