@extends('layouts.layout')

@section('content')


<div class="form-group row add">
  <div class="container">
     
      <div class="form-group">
        <h2 style="color: black">Laporan Pendapatan Cafe</h2>
        
      </div>
    </div>




    <br><br><br>
     
    <table class="table" style="color: black">
    <tr class="success">
    <th>No.</th>
    <th>Original FileName</th>
    <th>Actions</th>
    </tr>

    

    <?php $no=1; ?>

    @foreach($uploadp as $laporanPegawai)

    <tr style="background-color: #E1E1E1">
    <td>{{$no++}}</td>
    <td>{{$laporanPegawai->original_filename}}</td>
   

    <td>
    
  

  
  
     
          
            
             <a href="uploadp/{{$laporanPegawai->original_filename}}" download="{{$laporanPegawai->original_filename}}">
              <button type="button" class="btn btn-primary"><i class="fa fa-cloud-download" style="width:80px">
                Download
              </i></button> 
            </a>
            
          
          
    
    

   
    </form>
    </td>

    </tr>

    @endforeach

    </table>
   {!! $uploadp->links() !!}
    </div>



  @endsection