<?php $__env->startSection('content'); ?>
<title>Laporan Data Barang Ruangan</title>
</div>
<div class="card shadow mb-4">
    <div class="card-header py-3">
        <h6 class="m-0 font-weight-bold text-dark">Masukan Ruangan</h6>
    </div>
    <div class="card-body">
        <form action="lap_barang_ruangan_input" method="post">
            <?php echo csrf_field(); ?>
            <div class="row">
                <div class="col-md-12">
                    <div class="form-group">
                        <label for="">Ruangan</label>
                        <select name="ruangan" class="form-control" required>
                            <option value="" selected disabled>Pilih Ruangan</option>
                            <?php $__currentLoopData = $ruangan; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $r): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($r->id_ruangan); ?>"><?php echo e($r->ruangan); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>
                </div>
            </div>
            <center><input type="submit" class="btn btn-success"></center>
      </form>
<br>
    </div>
</div>
<div class="card shadow mb-4">
<div class="card-header py-3">
  <h6 class="m-0 font-weight-bold text-dark">Laporan Data Barang Ruangan</h6>
</div>
<div class="card-body">
  <div class="table-responsive">
    
      
     
       <?php if($hitung == 0): ?>
        
    <?php else: ?>
    
    <form action="/lap_barang_ruangan/export_excel">
        <input type="hidden" name="ruangan" value="<?php echo e($req1); ?>">
       <input type="submit" class="btn btn-warning" value="EXPORT EXCEL">
       
       </form>
    <?php endif; ?>
       <br>
    <?php echo $__env->make('laporan.table_ruangan', $inputruangan , \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  </div>
</div>

  
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\laravel_sarpras\resources\views/laporan/barang_ruangan.blade.php ENDPATH**/ ?>