poundage_detail.blade.php 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. @extends('layouts.base')
  2. @section('content')
  3. @section('title', trans('订单收益统计'))
  4. <link href="{{static_url('yunshop/css/order.css')}}" media="all" rel="stylesheet" type="text/css"/>
  5. <div class="w1200 m0a">
  6. {{--<script type="text/javascript" src="{{static_url('js/dist/jquery.gcjs.js')}}"></script>--}}
  7. {{--<script type="text/javascript" src="{{static_url('js/dist/jquery.form.js')}}"></script>--}}
  8. {{--<script type="text/javascript" src="{{static_url('js/dist/tooltipbox.js')}}"></script>--}}
  9. <div class="rightlist">
  10. <!-- 新增加右侧顶部三级菜单 -->
  11. <div class="panel panel-default">
  12. <div class="panel-heading">
  13. 统计明细
  14. </div>
  15. <div class="panel-body">
  16. <div class="card">
  17. <div class="card-content">
  18. <form action="" method="post" class="form-horizontal" role="form" id="form1">
  19. <div class="form-group col-xs-12 col-sm-4">
  20. <label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label">类型:</label>
  21. <div class="col-xs-12 col-sm-8 col-lg-9">
  22. <select name='search[type]' class='form-control'>
  23. <option value='' @if($search['type']=='') selected @endif>全部</option>
  24. @foreach($types as $type)
  25. <option value='{{$type['class']}}'
  26. @if($search['type']==$type['class']) selected @endif>{{$type['title']}}</option>
  27. @endforeach
  28. </select>
  29. </div>
  30. </div>
  31. <div class="form-group col-xs-12 col-sm-4">
  32. <button class="btn btn-success" id="search"><i class="fa fa-search"></i> 搜索</button>
  33. </div>
  34. </form>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="panel panel-default">
  40. <div class=" order-info">
  41. <div class="table-responsive">
  42. <table class='table order-title table-hover table-striped'>
  43. <thead>
  44. <tr>
  45. <th class="col-md-2 text-center" style='width:80px;'>收入类型</th>
  46. <th class="col-md-2 text-center" style="white-space: pre-wrap;">手续费</th>
  47. <th class="col-md-2 text-center">劳务税</th>
  48. <th class="col-md-2 text-center">总计</th>
  49. </tr>
  50. </thead>
  51. <tbody>
  52. @foreach($list as $key => $row)
  53. <tr style="height: 40px; text-align: center">
  54. <td>{{ $row['type_name']}}</td>
  55. <td>{{ $row['actual_poundage'] ?: '0.00' }}</td>
  56. <td>{{ $row['actual_servicetax'] ?: '0.00' }}</td>
  57. <td>{{ sprintf("%01.2f",($row['actual_poundage'] + $row['actual_servicetax'])) ?: '0.00' }}</td>
  58. </tr>
  59. @endforeach
  60. </tbody>
  61. </table>
  62. </div>
  63. </div>
  64. @include('order.modals')
  65. <div id="pager">{!! $pager !!}</div>
  66. </div>
  67. </div>
  68. </div>
  69. @endsection