<?php $__env->startSection('content'); ?>
    <div class="container">
        <div class="row">
            <div class="col-lg-12 d-flex flex-column">
                <div class="row flex-grow">
                    <div class="col-12 grid-margin stretch-card">
                        <div class="card card-rounded">
                            <div class="card-body">
                                <div class="d-sm-flex justify-content-between align-items-start">
                                    <div>
                                        <h4 class="card-title card-title-dash">Data Proposal</h4>
                                        
                                        
                                    </div>
                                </div>
                                <div class="d-sm-flex align-items-center mt-1 justify-content-between">
                                </div>
                                <?php if(Session::has('pesan')): ?>
                                    <div class="alert alert-info alert-dismissible">
                                        <a href="#" class="close" data-dismiss="alert">&times;</a>
                                        <?php echo e(Session::get('pesan')); ?>

                                    </div>
                                <?php endif; ?>
                                <table class="table table-light">
                                    <thead class="thead-light">
                                        <tr>
                                            <th>No</th>
                                            <th>Nama Dosen</th>
                                            <th>Proposal</th>
                                            <th>File</th>
                                            <th>Status</th>
                                            <th>Aksi</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $objek; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <td><?php echo e($loop->iteration); ?></td>
                                                <td><?php echo e($row->dosen->nama); ?></td>
                                                <td><?php echo e($row->jenispenelitian->nama_jenis); ?></td>
                                                <td> <a href="<?php echo e(\Storage::url($row->file)); ?>">Download File</a></td>
                                                <td>
                                                    <?php if($row->statusjudul_id == '1'): ?>
                                                    <label class="badge badge-warning"><?php echo e($row->statusjudul->status); ?></label></td>
                                                    <?php elseif($row->statusjudul_id == '2'): ?> 
                                                    <label class="badge badge-success"><?php echo e($row->statusjudul->status); ?></label>
                                                    <?php elseif($row->statusjudul_id == '3'): ?> 
                                                    <label class="badge badge-warning"><?php echo e($row->statusjudul->status); ?></label>
                                                    <?php elseif($row->statusjudul_id == '4'): ?> 
                                                    <label class="badge badge-primary"><?php echo e($row->statusjudul->status); ?></label>
                                                    <?php elseif($row->statusjudul_id == '5'): ?> 
                                                    <label class="badge badge-danger"><?php echo e($row->statusjudul->status); ?></label>
                                                    <?php endif; ?>
                                                </td>
                                                <td>
                                                    <a href="<?php echo e(url('admin/proposal/detail/'.$row->id, [])); ?>"
                                                        class="btn btn-primary btn-sm">detail</a>

                                                </td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.TF', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\My Project\Penelitian\resources\views/administrator/penelitian/proposal.blade.php ENDPATH**/ ?>