
@extends('layouts.datatable')
    @section('table')
        <div class="row">
            <div class="col-md-12">
                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title">统计数据</h3>
                    </div>
                    <div class="box-body">
                        <div class="dataTables_wrapper form-inline dt-bootstrap">
                            <table id="table" class="table table-hover dataTable" role="grid" aria-describedby="example2_info">
                                <thead>
                                <tr role="row">
                                    @foreach($th as $h)
                                        <th>{{ $h }}</th>
                                    @endforeach
                                </tr>
                                </thead>
                                <tbody>
                                @foreach($table as $data)
                                    <tr>
                                        <td>{{ $data->bzc_name }}</td>
                                        <td>{{ $data->yuqi_mothe }}</td>
                                        <td>{{ $data->total }}</td>
                                        <td>{{ $data->yuqij }}</td>
                                    </tr>
                                @endforeach
                                </tbody>
                            </table>
                        </div>
                    </div>
                    {{-- /.boc-body--}}
                </div>
            </div>
        </div>
    @endsection
