@if(Auth::check())
    @extends('layouts.layout')
    @include('layouts.header')

    <body class="skin-blue sidebar-mini" style="height: auto;">
    <div class="wrapper" style="height: auto;">
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section id="content-menu" class="content-menu">
                <div class="module-menu-container"></div>
                <ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
                    <li class="active"><i class="fa fa-users"></i>Supir</li>
                </ol><!-- breadcrumbs -->
            </section>

            <!-- Main content -->
            <section class="content">
                <section class="invoice">
                    <!-- title row -->
                    <div class="row">
                        <div class="col-xs-12">
                            <h2 class="page-header">
                                <i class="fa fa-globe"></i> Jadwal Supir
                                <small class="pull-right">Date: 2/10/2014</small>
                            </h2>
                        </div>
                        <!-- /.col -->
                    </div>

                    <!-- info row -->
                    <div class="row invoice-info"></div>
                    <!-- Table row -->
                    <div class="row">
                        <div class="col-xs-12 table-responsive">
                            <table class="table table-striped">
                                <thead>
                                <tr>
                                    <th>Hari</th>
                                    <th>Nama Supir 1</th>
                                    <th>Pukul</th>
                                    <th>Nama Supir 2</th>
                                    <th>Pukul</th>
                                </tr>
                                </thead>
                                <tbody>
                                @foreach($jadwal as $jad)
                                    <tr>
                                        <td><b>{{$jad->hari}}</b></td>
                                        <td>
                                            {{$jad->nama_supir}}
                                        </td>
                                        <td>
                                            {{$jad->pukul}}
                                        </td>
                                        <td>
                                            {{$jad->nama_supir2}}
                                        </td>
                                        <td>
                                            {{$jad->pukul2}}
                                        </td>
                                    </tr>
                                @endforeach
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!-- /.box-footer -->
                    <div class="box-footer">
                        <a href="{{url('k_supir/supir/update_jadwal')}}" class="btn btn-info">Update Jadwal</a>
                        <a href="{{url('k_supir/supir/invoice-print')}}" target="_blank" class="btn btn-default"><i class="fa fa-print"></i> Print</a>
                    </div>

                </section>
            </section>
            <!-- /.content -->
        </div>
    </div>
    </body>@endif
