5 changed files with 48 additions and 19 deletions
-
10app/Admin/Actions/Tools/DataReportOrder.php
-
3app/Admin/Common/Order.php
-
31app/Admin/Controllers/v3/DataReport.php
-
21app/Admin/Extensions/Chart/Bar/OrderBar.php
-
2resources/views/admin/tools/data_report_order.blade.php
@ -1,6 +1,6 @@ |
|||||
<div class="btn-group btn-group-toggle" data-toggle="buttons"> |
<div class="btn-group btn-group-toggle" data-toggle="buttons"> |
||||
@foreach($options as $option => $label) |
@foreach($options as $option => $label) |
||||
<label class="btn btn-outline-primary {{request()->get('order_type','al')==$option? 'active':''}}"> |
|
||||
|
<label class="btn btn-outline-primary {{request()->get('order_type','amount')==$option? 'active':''}}"> |
||||
<input type="radio" name="options" id="{{$option}}"> {{$label}} |
<input type="radio" name="options" id="{{$option}}"> {{$label}} |
||||
</label> |
</label> |
||||
@endforeach |
@endforeach |
||||
|
|||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue