index.blade.php 2.33 KB
Newer Older
Siti Aisah committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
@extends('layouts.master')
@section('content')
<div class="row">
    <div class="col-md-12">
        <div class="card">
            <div class="card-header">
                <h4 class="card-title">SAKU Reviewer</h4>
            </div>
            <div class="card-body">
                <div class="card-text">
                    <div class="row">
                        <div class="panel panel-info">
                            <div class="panel-body">
                                <form action="{{ route('laporan.download') }}" method="POST">
                                    @csrf
                                    <button type="submit" class="btn btn-success pull-lefts">Download Excel</button>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="table-responsive mb-4">
                <table id="zero-config" class="table table-hover" style="width:100%">
                    <thead>
                        <tr>
                            <th>No.</th>
Siti Aisah committed
29
                            <th style="text-align: left">Nama Penelaah</th>
Siti Aisah committed
30 31
                            <th style="text-align: left">NIP</th>
                            <th style="text-align: left">Unit Kerja</th>
Siti Aisah committed
32
                            <th style="text-align: left">Jumlah Protokol yang Ditelaah</th> 
Siti Aisah committed
33 34 35 36 37 38 39 40 41 42 43 44
                        </tr>
                    </thead>
                    <tbody>
                        @php
                            $no = 1;
                        @endphp
                        @foreach($rs as $item)
                            <tr>
                                <td>{{ $no }}</td>
                                <td style="text-align: left">{{ $item->nama }}</td>
                                <td style="text-align: left">{{ $item->nip }}</td>
                                <td style="text-align: left">{{ $item->unit }}</td>
Siti Aisah committed
45
                                <td style="text-align: left">{{ $item->jumlah }}</td>
Siti Aisah committed
46 47 48 49 50 51 52 53 54 55 56 57 58 59
                            </tr>
                            @php
                                $no++;
                            @endphp
                        @endforeach
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
@push('js')
@endpush
@stop