

<?php $__env->startSection('content'); ?>
<section class="content-header">
    <h1>Dashboard</h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i>Home</a></li>
    </ol>
</section>
<hr style="border: 3px groove #3c8dbc;">


<section class="content">
  
  <div class="row">
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('quotation-list')): ?>    
    <div class="col-lg-3 col-xs-6">
          
      <div class="small-box bg-aqua" onclick="location.href='<?php echo e(route('quotations.index')); ?>'" style="cursor: pointer;">
            
        <div class="inner">
              
          <h3><?php echo e($quotations); ?></h3>

          <p>Quotations</p>
            
        </div>
      </div>
        
    </div>
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('pi-list')): ?>    

    <div class="col-lg-3 col-xs-6">
          
      <div class="small-box bg-red" onclick="location.href='<?php echo e(route('pi-index')); ?>'" style="cursor: pointer;">
            
        <div class="inner">
              
          <h3><?php echo e($pi); ?></h3>

          <p>PI</p>
        </div>
      </div>
        
    </div>
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('company-list')): ?>   
    <div class="col-lg-3 col-xs-6">
          
      <div class="small-box bg-green" onclick="location.href='<?php echo e(route('companies')); ?>'" style="cursor: pointer;">
            
        <div class="inner">
              
          <h3><?php echo e($companies); ?></h3>

          <p>Comapnies</p>
    
        </div>
          
      </div>
        
    </div>
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('invoice-list')): ?>       
    <div class="col-lg-3 col-xs-6">
          
      <div class="small-box bg-yellow" onclick="location.href='<?php echo e(route('invoice-index')); ?>'" style="cursor: pointer;">
            
        <div class="inner">
              
          <h3><?php echo e($invoice); ?></h3>

            <p>Invoice</p>
            
          </div>
  
        </div>
        
      </div>
    <?php endif; ?>
    </div>
    <div class="row">
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user-list')): ?>    
    <div class="col-lg-3 col-xs-6">
          
      <div class="small-box bg-orange" onclick="location.href='<?php echo e(route('users.index')); ?>'" style="cursor: pointer;">
            
        <div class="inner">
              
          <h3><?php echo e($users); ?></h3>

          <p>Users</p>
            
        </div>
          
      </div>
        
    </div>
    <?php endif; ?>
	<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('product-list')): ?>       
    <div class="col-lg-3 col-xs-6">
          
      <div class="small-box bg-teal" onclick="location.href='<?php echo e(route('products')); ?>'" style="cursor: pointer;">
            
        <div class="inner">
              
          <h3><?php echo e($products); ?></h3>

            <p>Products</p>
            
          </div>
            
          
          
        </div>
        
      </div>
    <?php endif; ?>
	<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('inventory-list')): ?>    
    <div class="col-lg-3 col-xs-6">
          
      <div class="small-box bg-purple" onclick="location.href='<?php echo e(route('inventory')); ?>'" style="cursor: pointer;">
            
        <div class="inner">
              
          <h3><?php echo e($inword); ?></h3>

          <p>Stock</p>
            
        </div>

      </div>
        
    </div>
    <?php endif; ?>
	<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('inventory-list')): ?>   
    <div class="col-lg-3 col-xs-6">
          
      <div class="small-box bg-maroon" onclick="location.href='<?php echo e(route('inventory')); ?>'" style="cursor: pointer;">
            
        <div class="inner">
              
          <h3><?php echo e($dispatched); ?></h3>

          <p>Dispatched</p>
    
        </div>
        </div>
          
      </div>
        
    </div>
    <?php endif; ?>
    </div>
	
  </div>

</section>

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

<?php echo $__env->make('layouts.main', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp_8.2\htdocs\cpq8.2\resources\views/home.blade.php ENDPATH**/ ?>