| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <div class="panel panel-default">
- <div class="panel-body" style="margin-bottom:200px">
- <table class="table table-hover" style="overflow:visible">
- <thead class="navbar-inner">
- <tr>
- <th style='width:4%;text-align: center;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_id') !!}
- </th>
- <th style='width:14%;text-align: center;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_hotel_name') !!}
- </th>
- <th style='width:10%;text-align: center;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_hotel_category') !!}
- </th>
- <th style='width:12%;text-align: center;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_order_price') !!}
- </th>
- <th style='width:10%;text-align: center;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_shop_commission') !!}
- </th>
- <th style='width:14%;text-align: center;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_receivable_price') !!}
- </th>
- <th style='width:14%;text-align: center;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_not_withdraw') !!}
- </th>
- <th style='width:10%;text-align: center;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_finish_withdraw') !!}
- </th>
- <th style='width:16%;'>
- {!! trans('Yunshop\Hotel::pack.cashier_statistics_operation') !!}
- </th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $row)
- <tr>
- <td style="text-align: center;">{{$row->id}}</td>
- <td style="text-align: center;">
- <img src='{{tomedia($row->thumb)}}' style='width:30px;height:30px;padding:1px;border:1px solid #ccc' />
- <br/>
- {{$row->hotel_name}}
- </td>
- <td style="text-align: center;">{{$row->hasOneCategory->name}}</td>
- <td style="text-align: center;">
- 收银台:{{number_format($row->order_price, 2)}}<br>
- 门店:{{number_format($row->hotel_order_price, 2)}}
- </td>
- <td style="text-align: center;">
- 收银台:@if($row->hasOneCashier->hasOneCashierGoods->shop_commission){{$row->hasOneCashier->hasOneCashierGoods->shop_commission}}@else{{0}}@endif<br>
- 门店:@if($row->shop_commission->value['shop_commission']){{$row->shop_commission->value['shop_commission']}}@else{{0}}@endif
- </td>
- <td style="text-align: center;">
- 收银台:{{number_format($row->receivable_price, 2)}}<br>
- 门店:{{number_format($row->hotel_receivable_price, 2)}}
- </td>
- <td style="text-align: center;">
- 收银台:{{number_format($row->not_withdraw, 2)}}<br>
- 门店:{{number_format($row->hotel_not_withdraw, 2)}}
- </td>
- <td style="text-align: center;">
- 收银台:{{number_format($row->finish_withdraw, 2)}}<br>
- 门店:{{number_format($row->hotel_finish_withdraw, 2)}}
- </td>
- <td style="overflow:visible;">
- <div class="btn-group btn-group-sm" >
- <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="javascript:;">{!! trans('Yunshop\Hotel::pack.cashier_statistics_operation') !!} <span class="caret"></span></a>
- <ul class="dropdown-menu dropdown-menu-left" role="menu" style='z-index: 9999'>
- <li><a href="{{yzWebUrl(\Yunshop\Hotel\admin\CashierController::DETAIL_URL, ['hotel_id' => $row->id])}}" title="详情"><i class='fa fa-edit'></i> 详情</a></li>
- <li><a href="{{yzWebUrl(\Yunshop\Hotel\admin\OrderController::INDEX_URL, ['search[hotel][hotel_id]' => $row->id])}}" title='收银台订单'><i class='fa fa-list'></i> 收银台订单</a></li>
- <li><a href="{{yzWebUrl('plugin.hotel.admin.hotels.hotel-order.index', ['hotel_order_search[hotel][hotel_id]' => $row->id])}}" title='门店订单'><i class='fa fa-list'></i> 门店订单</a></li>
- </ul>
- </div>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- </div>
|