@extends('layout.app')
@section('title', $title)
@section('content')

<div class="container-fluid">
    <!-- ============================================================== -->
    <!-- Sales Cards  -->
    <!-- ============================================================== -->
    <div class="row">
      <!-- Column -->
      <div class="col-3" <?= is_hidden('user.index') ?>>
          <div class="bg-cyan p-10 text-white text-center">
            <i class="mdi mdi-account fs-3 mb-1 font-16"></i>
            <h5 class="mb-0 mt-1"><?= get_var('SELECT COUNT(*) FROM tb_user') ?></h5>
            <small class="font-light">Total Users</small>
          </div>
      </div>
      <div class="col-3"  <?= is_hidden('produk.index') ?>>
          <div class="bg-warning p-10 text-white text-center">
            <i class="mdi mdi-table fs-3 mb-1 font-16"></i>
            <h5 class="mb-0 mt-1"><?= get_var('SELECT COUNT(*) FROM tb_produk') ?></h5>
            <small class="font-light">Total Produk</small>
          </div>
        </div>

      <div class="col-3" <?= is_hidden('penjualan.index') ?>>
          <div class="bg-danger p-10 text-white text-center">
            <i class="mdi mdi-tag fs-3 mb-1 font-16"></i>
            <h5 class="mb-0 mt-1"><?= get_var('SELECT COUNT(*) FROM tb_penjualan') ?></h5>
            <small class="font-light">Penjualan</small>
          </div>
        </div>
        <div class="col-3" <?= is_hidden('hitung.hasil') ?>>
          <div class="bg-info p-10 text-white text-center">
            <i class="mdi mdi-collage fs-3 mb-1 font-16"></i>
            <h5 class="mb-0 mt-1"><?= get_var('SELECT COUNT(*) FROM tb_hasil') ?></h5>
            <small class="font-light">Hasil Forecasting</small>
          </div>
        </div>

    </div>
    <!-- ============================================================== -->
    <!-- Sales chart -->
    <!-- ============================================================== -->


</div>
@endsection
