<div class="content-wrapper">
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1><?= $title; ?></h1>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item active"><?= $title; ?></li>
                    </ol>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>
    <div class="container-fluid mt-3">
        <div class="card">
            <div class="card-header text-center">
                <h2>Laporan Inventaris Rusak</h2>
            </div>
            <div class="card-body">
                <?php echo $this->session->flashdata('notif'); ?>
                <div class="row">
                        <div class="col-ml-6 pd-left">
                            <div class="form-group">
                                <label for=""><br></label>
                                <button id="cetaklapjadwal" class="btn btn-success btn-block"><i class="fas fa-print"></i> Cetak</button>
                            </div>
                        </div>
                <div class="table-responsive">
                    <table id="tabel" class="table table-bordered table-hover">
                        <thead>
                            <tr>
                                <th>No</th>
                                <th>Nama Inventaris</th>
                                <th>Kondisi</th>
                                <th>Jenis Inventaris</th>
                                <th>Milik</th>
                                <th>jumlah</th>
                            </tr>
                        </thead>
                        <tbody>
                        <?php $no = 1; ?>
                                <?php foreach ($laporinv as $lp) : ?>
                                    <tr>
                                        <td><?php echo $no++; ?></td>   
                                        <td><?php echo $lp->nama_inv; ?></td>
                                        <td><?php echo $lp->kondisi; ?></td>
                                        <td><?php echo $lp->jenis; ?></td>
                                        <td><?php echo $lp->milik; ?></td>
                                        <td><?php echo $lp->jumlah; ?></td>
                                        
                                    </tr>
                                <?php endforeach; ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
