detail.blade.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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($basic->status === -1)
  12. <span class="badge badge-lg badge-danger"> 已驳回 </span>
  13. @elseif($basic->status === 2)
  14. <span class="badge badge-lg badge-success"> 已打款 </span>
  15. @endif
  16. <a href="{{route('admin.aff.index')}}" 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">
  25. 申请单ID:{{$basic->id}} | 申请人:{{$basic->user->email}} | 申请提现金额:¥{{$basic->amount}} | 申请时间:{{$basic->created_at}}
  26. </th>
  27. </tr>
  28. <tr>
  29. <th> #</th>
  30. <th> 关联人</th>
  31. <th> 关联订单</th>
  32. <th> 订单金额</th>
  33. <th> 佣金</th>
  34. <th> 下单时间</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. @foreach($commissions as $commission)
  39. <tr>
  40. <td> {{$commission->id}} </td>
  41. <td> {{$commission->invitee->email ?? '【账号已删除】'}} </td>
  42. <td>
  43. <a href="{{route('admin.order', ['id' => $commission->order->id])}}" target="_blank">
  44. {{$commission->order->goods->name}}
  45. </a>
  46. </td>
  47. <td> ¥{{$commission->amount}} </td>
  48. <td> ¥{{$commission->commission}} </td>
  49. <td> {{$commission->created_at}} </td>
  50. </tr>
  51. @endforeach
  52. </tbody>
  53. </table>
  54. </div>
  55. </div>
  56. <div class="panel-footer">
  57. <div class="row">
  58. <div class="col-sm-4">
  59. 本申请共涉及 <code>{{$commissions->total()}}</code> 单
  60. </div>
  61. <div class="col-sm-8">
  62. <nav class="Page navigation float-right">
  63. {{$commissions->links()}}
  64. </nav>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. @endsection
  71. @section('script')
  72. <script src="/assets/global/vendor/bootstrap-table/bootstrap-table.min.js" type="text/javascript"></script>
  73. <script src="/assets/global/vendor/bootstrap-table/extensions/mobile/bootstrap-table-mobile.min.js" type="text/javascript"></script>
  74. @endsection