5 changed files with 30 additions and 44 deletions
-
49app/Admin/Actions/Tools/SalesmanOption.php
-
1app/Admin/Controllers/v3/Salesman.php
-
2app/Admin/Extensions/MyDetailPage.php
-
18resources/views/admin/tools/salesman.blade.php
-
4resources/views/orderdetail.php
@ -1,15 +1,7 @@ |
|||
|
|||
<div class="btn-group btn-group-toggle" data-toggle="buttons"> |
|||
<label class="btn btn-primary {{request()->get('type','today')=='today'? 'active':''}}"> |
|||
<input type="radio" name="options" id="today" checked> 今日 |
|||
</label> |
|||
<label class="btn btn-primary {{request()->get('type')=='yesterday'? 'active':''}}"> |
|||
<input type="radio" name="options" checked id="yesterday"> 昨日 |
|||
</label> |
|||
<label class="btn btn-primary {{request()->get('type')=='week'? 'active':''}}"> |
|||
<input type="radio" name="options" id="week"> 本周 |
|||
</label> |
|||
<label class="btn btn-primary {{request()->get('type')=='month'? 'active':''}}"> |
|||
<input type="radio" name="options" id="month"> 本月 |
|||
</label> |
|||
@foreach($options as $option => $label) |
|||
<label class="btn btn-primary {{request()->get('type','today')==$option? 'active':''}}"> |
|||
<input type="radio" name="options" id="{{$option}}"> {{$label}} |
|||
</label> |
|||
@endforeach |
|||
</div> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue