100 lines
4.4 KiB
PHP
100 lines
4.4 KiB
PHP
@extends('layouts.app', ['class' => 'bg-default'])
|
|
|
|
@section('content')
|
|
<div class="header bg-gradient-primary py-7 py-lg-8">
|
|
<div class="container">
|
|
<div class="header-body text-center mt-7 mb-7">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-9 col-md-9">
|
|
<h1 class="text-white">{{ __('Sistem Informasi Manajemen Akutansi Barang Milik Negara') }}</h1><br>
|
|
<h2 class="text-black">SIMAK-BMN Hahaha </h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="separator separator-bottom separator-skew zindex-100">
|
|
<svg x="0" y="0" viewBox="0 0 2560 100" preserveAspectRatio="none" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
|
<polygon class="fill-default" points="2560 0 2560 100 0 100"></polygon>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<div class="container-fluid mt--7" style="overflow:scroll">
|
|
<div class="row">
|
|
<div class="col-xl-8 mb-5 mb-xl-0">
|
|
<div class="card bg-gradient-default shadow">
|
|
<div class="card-header bg-transparent">
|
|
<div class="row align-items-center">
|
|
<div class="col">
|
|
<h5 class="text-uppercase text-light ls-1 mb-1">Grafik Jumlah Barang</h5>
|
|
<h2 class="text-white mb-0">Jenis Barang</h2>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
<!-- Chart -->
|
|
<div class="chart">
|
|
<!-- Chart wrapper -->
|
|
<canvas id="chart-sales" class="chart-canvas"></canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-xl-4">
|
|
<div class="card shadow">
|
|
<div class="card-header bg-transparent">
|
|
<div class="row align-items-center">
|
|
<div class="col">
|
|
<h6 class="text-uppercase text-muted ls-1 mb-1">Performance</h6>
|
|
<h2 class="mb-0">Total orders</h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
<!-- Chart -->
|
|
<div class="chart">
|
|
<canvas id="chart-orders" class="chart-canvas"></canvas>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row mt-5">
|
|
|
|
</div>
|
|
<div class="container mt--10 pb-5">
|
|
|
|
<div class="card-deck mt-4">
|
|
<div class="row">
|
|
@foreach($barang as $i)
|
|
<div class="card col-lg-6 col-md-6 col-sm-3">
|
|
<img class="card-img-top small-image" width="200px" height="150px" src="{{ \Helperku::get_image_barang($i->id) }}" alt="Card image cap">
|
|
<div class="card-body">
|
|
<h5 class="card-title">{{ $i->nama_barang }}<br>
|
|
<br> <span class="badge badge-info">{{ $i->nama_jenis }}</span>
|
|
<span class="badge badge-primary">{{ $i->serial_number }}</span> </h5>
|
|
<p class="card-text text-small"> jumlah Stok : {{ $i->jumlah_barang }} <br>
|
|
<a href="https://maps.google.com/?q=<?= $i->lokasi ?>" data-toggle="tooltip" data-placement="top" title="Lokasi Barang" target="_blank" class="btn btn-sm btn-outline-success text-small">
|
|
<span class="badge badge-success"><i class="fas fa-map-marker text-success"></i></a>
|
|
<a data-toggle="tooltip" data-placement="top" title="{{ $i->keterangan }}" target="_blank" class="btn btn-sm btn-outline-warning text-small">
|
|
<span class="badge badge-warning"><i class="fas fa-comment-alt text-warning"></i></a>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container mt--10 pb-5"></div>
|
|
@endsection
|
|
|
|
|
|
@push('js')
|
|
<script src="{{ secure_asset('argon') }}/vendor/chart.js/dist/Chart.min.js"></script>
|
|
<script src="{{ secure_asset('argon') }}/vendor/chart.js/dist/Chart.extension.js"></script>
|
|
@endpush |