Add anual report feature

This commit is contained in:
2021-09-17 21:26:28 +07:00
parent 8da0a69176
commit cd74f850b0
23 changed files with 1155 additions and 18 deletions

View File

@@ -5,6 +5,7 @@
return $hasil_rupiah;
}
?>
<!doctype html>
<html lang="en">
@@ -206,22 +207,24 @@
<div class="row mt-2">
<?php
if (isset($del_msg)){
if($del_msg=='error'){
?>
<div class="alert alert-danger" role="alert">Tidak bisa menghapus <strong><?php echo $del_pemilik ?></strong>
<div class="col col-12 alert alert-danger" role="alert">Tidak bisa menghapus <strong><?php echo $del_pemilik ?></strong>
, kerena terdapat data UMKM yang terkait !</div>
<?php } elseif($del_msg=='sucess'){ ?>
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
<?php } elseif($del_msg=='success'){ ?>
<div class="col col-12 alert alert-success" role="alert">Data berhasil terhapus !</div>
<?php }}?>
<div class="col col-12">
<a href="<?php echo base_url('index.php/')?>user/tambahproduk?id_umkm=<?php echo $umkm->id_umkm ?>" class="btn btn-sm btn-success mb-3">Tambah Produk</a>
<table id="tabeldata" class="table table-striped table-bordered table-responsive-lg">
<thead>
<tr>
<th>Produk</th>
<th>Foto</th>
<th>Produk</th>
<th>Deskripsi</th>
<th>Opsi</th>
</tr>
</thead>
<tbody>