@extends('indexlayout')

@section('title', 'alatberat')
@push('style')
@endpush
@section('content')
    <div class="row">
        <main id="js-page-content" role="main" class="page-content">
            <ol class="breadcrumb page-breadcrumb">
                <li class="breadcrumb-item"><a href="javascript:void(0);">Pendukung</a></li>
                <li class="breadcrumb-item active">Bank Sampah</li>
                {{-- <li class="breadcrumb-item active">UPSBA</li>
                <li class="breadcrumb-item active">Alat Berat</li> --}}
                <li class="position-absolute pos-top pos-right d-none d-sm-block"><span class="js-get-date"></span></li>
            </ol>

            <div class="row">
                <div class="col-xl-12">
                    <div id="panel-1" class="panel">

                        <div class="panel-container show">

                            <div class="panel-content">

                                <div id="panel-6">
                                    <div class="panel-hdr">
                                        <h2>Statik Kepegawaian </h2>
                                    </div>
                                    <div class="panel-container show">
                                        <div class="panel-content p-0 mb-1 m-3">

                                        </div>
                                        <div class="panel-content">
                                            <div id="chartmaggot">
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <!-- datatable start -->
                                <table id="dt-basic-bs" class="table table-bordered table-hover table-striped w-100">
                                    <thead>
                                        <tr class="bg-warning">
                                            <th>No</th>
                                            <th>Tahun</th>
                                            <th>Jumlah Rumah Maggot</th>
                                            <th>Pengurangan Sampah</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>1</td>
                                            <td>2024</td>
                                            <td>311</td>
                                            <td>46,209.59</td>
                                        </tr>
                                        <tr>
                                            <td>2</td>
                                            <td>2023</td>
                                            <td>276</td>
                                            <td>40,172.56</td>
                                        </tr>

                                    </tbody>
                                    <tfooter>
                                        <tr class="bg-warning">
                                            <td colspan="2">Total</td>
                                            <td>587</td>
                                            <td>86,382.15</td>
                                        </tr>
                                    </tfooter>
                                </table>
                                <!-- datatable end -->
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </main>
    </div>

@endsection

@push('script')
    <!-- The order of scripts is irrelevant. Please check out the plugin pages for more details about these plugins below: -->
    <script src="{{ asset('layout/dist/js/statistics/peity/peity.bundle.js') }}"></script>
    <script src="{{ asset('layout/dist/js/statistics/flot/flot.bundle.js') }}"></script>
    <script src="{{ asset('layout/dist/js/statistics/easypiechart/easypiechart.bundle.js') }}"></script>
    <script src="{{ asset('layout/dist/js/datagrid/datatables/datatables.bundle.js') }}"></script>
    {{-- <script src="{{  asset('layout/dist/js/statistics/chartjs/chartjs.bundle.js') }}"></script> --}}
    {{-- <script src="https://cdn.jsdelivr.net/npm/apexcharts"></script> --}}
    <script src="{{ asset('layout/dist/js/alatberat.js') }}"></script>
    <script src="{{ asset('layout/dist/js/maggot.js') }}"></script>
@endpush
