manualRecordsDetail.blade.php 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @extends('layouts.base')
  2. @section('title', '手动提现记录详情')
  3. @section('content')
  4. <div class="panel panel-default">
  5. <div class='panel-heading'>
  6. 提现者信息
  7. </div>
  8. <div class='panel-body'>
  9. <div style='height:auto;width:120px;float:left;'>
  10. <img src='{{tomedia($item['has_one_member']['avatar'])}}' style='width:100px;height:100px;border:1px solid #ccc;padding:1px'/>
  11. </div>
  12. <div style='float:left;height:auto;overflow: hidden'>
  13. <p>
  14. <b>昵称:</b>
  15. {{$item['has_one_member']['nickname']}}
  16. <b>姓名:</b>
  17. {{$item['has_one_member']['realname']}}
  18. <b>手机号:</b>
  19. {{$item['has_one_member']['mobile']}}
  20. </p>
  21. <p>
  22. <b>可用消费积分: </b> {{$item['integral']['integral']}}
  23. </p>
  24. <p>
  25. <b>申请金额: </b><span style='color:red'>{{$item['change']}}</span> 元
  26. <p>
  27. <p>
  28. <b>提出地址: </b>{{$item['address']}}
  29. <p>
  30. <p>
  31. <b>提出二维码: </b><img src='{{yz_tomedia($item['qr'])}}' style='width:100px;height:100px;border:1px solid #ccc;padding:1px'/>
  32. <p>
  33. <p>
  34. <b>状态: </b>{{$item['status_name']}}
  35. </p>
  36. <p>
  37. <b>申请时间: </b>{{$item['created_at']}}
  38. </p>
  39. @if($item['audit_at'])
  40. <p>
  41. <b>审核时间: </b>{{date('Y-m-d H:i:s',$item['audit_at'])}}
  42. </p>
  43. @endif
  44. @if($item['pay_at'])
  45. <p>
  46. <b>打款时间: </b>{{date('Y-m-d H:i:s',$item['pay_at'])}}
  47. </p>
  48. @endif
  49. </div>
  50. </div>
  51. <div class='panel-heading'>
  52. 提现申请信息
  53. </div>
  54. <form action="{{yzWebUrl("plugin.integral.Backend.Modules.Integral.Controllers.manual-withdraw.examine",['id'=>$item['id']])}}" method='post' class='form-horizontal'>
  55. <div class='panel-body'>
  56. <table class="table table-hover">
  57. <thead class="navbar-inner">
  58. <tr>
  59. <td></td>
  60. <th>ID</th>
  61. <th>提现类型</th>
  62. <th>提现金额</th>
  63. <th>提现状态</th>
  64. <th>提现时间</th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68. <tr style="background: #eee">
  69. <td>
  70. @if($item['status'] == '0' )
  71. <label class="radio-inline">
  72. <input type="radio" name="status" value="1" @if($item['status'] == 0 || $item['status'] == 1 )checked="checked"@endif/>
  73. 通过
  74. </label>
  75. <label class="radio-inline">
  76. <input type="radio" name="status" value="-1" @if($item['status'] == -1 )checked="checked"@endif/> 无效
  77. </label>
  78. @endif
  79. </td>
  80. <td>{{$item['id']}}</td>
  81. <td>{{$item['type_name']}}</td>
  82. <td>{{$item['change']}}</td>
  83. <td>{{$item['status_name']}}</td>
  84. <td>{{$item['created_at']}}</td>
  85. </tr>
  86. </table>
  87. </div>
  88. <div class='panel-body'>
  89. 打款信息【
  90. 审核金额: <span style='color:red'>{{ $item['change'] }}</span> 元
  91. 手续费: <span style='color:red'>{{ $item['poundage'] }}</span> 元
  92. 应打款:<span style='color:red'>{{ $item['amount'] }}</span>元】
  93. </div>
  94. <div class="form-group col-sm-12">
  95. @if($item['status'] != '-1')
  96. @if($item['status'] == '0')
  97. <input type="submit" name="submit_check" value="提交审核" class="btn btn-primary col-lg-1"/>
  98. @endif
  99. @if($item['status'] == '1')
  100. <input type="submit" name="submit_pay" value="手动打款" class="btn btn-primary col-lg-1"/>
  101. @endif
  102. @endif
  103. <input type="button" class="btn btn-default" name="submit" onclick="goBack()" value="返回" style='margin-left:10px;'/>
  104. </div>
  105. </form>
  106. </div>
  107. <script language='javascript'>
  108. function goBack() {
  109. window.location.href = "{!! yzWebUrl('plugin.integral.Backend.Modules.Integral.Controllers.manual-records.index') !!}";
  110. }
  111. </script>
  112. @endsection