Fix Responsive View Issue and Some Bugs
parent
2a453c851c
commit
8da0a69176
|
@ -98,10 +98,17 @@ class TambahAbsen extends CI_Controller {
|
||||||
|
|
||||||
foreach($daftarumkm as $umkm){
|
foreach($daftarumkm as $umkm){
|
||||||
if($bulan_absen!=='1'){
|
if($bulan_absen!=='1'){
|
||||||
$latestabsensi = $this->AbsensiModel->getLatestAbsensi($post['bulan'],$post['tahun'],$umkm->id_umkm);
|
if(count($this->AbsensiModel->getLatestAbsensi($post['bulan'],$post['tahun'],$umkm->id_umkm))>0){
|
||||||
$aset_absensi= $latestabsensi->aset;
|
$latestabsensi = $this->AbsensiModel->getLatestAbsensi($post['bulan'],$post['tahun'],$umkm->id_umkm);
|
||||||
$karyawan_absensi_l = $latestabsensi->karyawan_l;
|
$aset_absensi= $latestabsensi->aset;
|
||||||
$karyawan_absensi_p = $latestabsensi->karyawan_p;
|
$karyawan_absensi_l = $latestabsensi->karyawan_l;
|
||||||
|
$karyawan_absensi_p = $latestabsensi->karyawan_p;
|
||||||
|
} else{
|
||||||
|
$aset_absensi= $umkm->aset_awal;
|
||||||
|
$karyawan_absensi_l= $umkm->karyawan_l;
|
||||||
|
$karyawan_absensi_p= $umkm->karyawan_p;
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$aset_absensi= $umkm->aset_awal;
|
$aset_absensi= $umkm->aset_awal;
|
||||||
$karyawan_absensi_l= $umkm->karyawan_l;
|
$karyawan_absensi_l= $umkm->karyawan_l;
|
||||||
|
|
|
@ -76,37 +76,48 @@ class DetailUmkm extends CI_Controller {
|
||||||
|
|
||||||
if($this->AbsenModel->getCountActiveAbsen()>0){
|
if($this->AbsenModel->getCountActiveAbsen()>0){
|
||||||
$data['data_absen'] = $this->AbsenModel->getActiveAbsen();
|
$data['data_absen'] = $this->AbsenModel->getActiveAbsen();
|
||||||
if($data['data_absen']->bulan=='1'){
|
if($this->AbsensiModel->getCountAbsensiByAbsenIdAndUmkmId($umkm->id_umkm,$data['data_absen']->id_absen)>0){
|
||||||
$bulan = 'Januari';
|
if($data['data_absen']->bulan=='1'){
|
||||||
} elseif($data['data_absen']->bulan=='2'){
|
$bulan = 'Januari';
|
||||||
$bulan = 'Februari';
|
} elseif($data['data_absen']->bulan=='2'){
|
||||||
} elseif($data['data_absen']->bulan=='3'){
|
$bulan = 'Februari';
|
||||||
$bulan = 'Maret';
|
} elseif($data['data_absen']->bulan=='3'){
|
||||||
} elseif($data['data_absen']->bulan=='4'){
|
$bulan = 'Maret';
|
||||||
$bulan = 'April';
|
} elseif($data['data_absen']->bulan=='4'){
|
||||||
} elseif($data['data_absen']->bulan=='5'){
|
$bulan = 'April';
|
||||||
$bulan = 'Mei';
|
} elseif($data['data_absen']->bulan=='5'){
|
||||||
} elseif($data['data_absen']->bulan=='6'){
|
$bulan = 'Mei';
|
||||||
$bulan = 'Juni';
|
} elseif($data['data_absen']->bulan=='6'){
|
||||||
} elseif($data['data_absen']->bulan=='7'){
|
$bulan = 'Juni';
|
||||||
$bulan = 'Juli';
|
} elseif($data['data_absen']->bulan=='7'){
|
||||||
} elseif($data['data_absen']->bulan=='8'){
|
$bulan = 'Juli';
|
||||||
$bulan = 'Agustus';
|
} elseif($data['data_absen']->bulan=='8'){
|
||||||
} elseif($data['data_absen']->bulan=='9'){
|
$bulan = 'Agustus';
|
||||||
$bulan = 'September';
|
} elseif($data['data_absen']->bulan=='9'){
|
||||||
} elseif($data['data_absen']->bulan=='10'){
|
$bulan = 'September';
|
||||||
$bulan = 'Oktober';
|
} elseif($data['data_absen']->bulan=='10'){
|
||||||
} elseif($data['data_absen']->bulan=='11'){
|
$bulan = 'Oktober';
|
||||||
$bulan = 'November';
|
} elseif($data['data_absen']->bulan=='11'){
|
||||||
} elseif($data['data_absen']->bulan=='12'){
|
$bulan = 'November';
|
||||||
$bulan = 'Desember';
|
} elseif($data['data_absen']->bulan=='12'){
|
||||||
|
$bulan = 'Desember';
|
||||||
|
}
|
||||||
|
$data['bulan'] = $bulan;
|
||||||
|
|
||||||
|
$data['active_absen'] = true;
|
||||||
|
|
||||||
|
|
||||||
|
$absenisi = $this->AbsensiModel->getAbsensiByAbsenIdAndUmkmId($umkm->id_umkm,$data['data_absen']->id_absen);
|
||||||
|
|
||||||
|
$data['absenisiaktif'] = $absenisi;
|
||||||
|
$data['signed']=$absenisi->signed;
|
||||||
|
} else {
|
||||||
|
|
||||||
|
$data['active_absen'] = false;
|
||||||
|
$data['data_absen'] = '';
|
||||||
}
|
}
|
||||||
$data['bulan'] = $bulan;
|
|
||||||
|
|
||||||
$data['active_absen'] = true;
|
|
||||||
|
|
||||||
$data['absenisiaktif'] = $this->AbsensiModel->getAbsensiByAbsenIdAndUmkmId($umkm->id_umkm,$data['data_absen']->id_absen);
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$data['data_absen'] = '';
|
$data['data_absen'] = '';
|
||||||
$data['active_absen'] = false;
|
$data['active_absen'] = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,12 @@ class AbsensiModel extends CI_Model
|
||||||
return $absensi = $this->db->get($this->_table)->row();
|
return $absensi = $this->db->get($this->_table)->row();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getCountAbsensiByAbsenIdAndUmkmId($id_umkm,$id_absen){
|
||||||
|
$this->db->where('id_absen', $id_absen);
|
||||||
|
$this->db->where('id_umkm', $id_umkm);
|
||||||
|
return $absensi = count($this->db->get($this->_table)->result());
|
||||||
|
}
|
||||||
|
|
||||||
public function update($id_absensi){
|
public function update($id_absensi){
|
||||||
$post = $this->input->post();
|
$post = $this->input->post();
|
||||||
$this->aset = $post["aset"];
|
$this->aset = $post["aset"];
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Absensi</h5>
|
<h5 class="card-header">Absensi</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-auto">
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12">
|
||||||
<h3>Absensi Bulan <?php echo $bulan ?> Tahun <?php echo $data_absen->tahun ?></h3>
|
<h3>Absensi Bulan <?php echo $bulan ?> Tahun <?php echo $data_absen->tahun ?></h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="col text-right">
|
<div class="col text-right">
|
||||||
|
@ -140,7 +140,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col col-md-3 col-lg-3 col-sm-12 col-12 mt-3 mt-md-0 mt-lg-0">
|
||||||
<div class="card text-center bg-primary text-light">
|
<div class="card text-center bg-primary text-light">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<?php echo $nm_kategori3 ?>
|
<?php echo $nm_kategori3 ?>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Absensi</h5>
|
<h5 class="card-header">Absensi</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -135,7 +135,7 @@
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<table id="tabeldata" class="table table-striped table-bordered">
|
<table id="tabeldata" class="table table-striped table-bordered table-responsive-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Bln</th>
|
<th>Bln</th>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -89,7 +89,7 @@
|
||||||
<?php } elseif($del_msg=='sucess'){ ?>
|
<?php } elseif($del_msg=='sucess'){ ?>
|
||||||
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
|
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
|
||||||
<?php }}?>
|
<?php }}?>
|
||||||
<table id="tabeldata" class="table table-striped table-bordered" style="width:100%">
|
<table id="tabeldata" class="table table-striped table-bordered table-responsive" style="width:100%">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>No</th>
|
<th>No</th>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Absensi</h5>
|
<h5 class="card-header">Absensi</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-auto">
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12">
|
||||||
<h3>Absensi Bulan <?php echo $bulan ?> Tahun <?php echo $data_absen->tahun ?></h3>
|
<h3>Absensi Bulan <?php echo $bulan ?> Tahun <?php echo $data_absen->tahun ?></h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="col text-right">
|
<div class="col text-right">
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col col-md-3 col-lg-3 col-sm-12 col-12 mt-3 mt-md-0 mt-lg-0">
|
||||||
<div class="card text-center bg-primary text-light">
|
<div class="card text-center bg-primary text-light">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<?php echo $nm_kategori3 ?>
|
<?php echo $nm_kategori3 ?>
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
Sudah Absen
|
Sudah Absen
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<table id="tabeldata" class="table table-striped table-bordered">
|
<table id="tabeldata" class="table table-striped table-bordered table-responsive-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>No</th>
|
<th>No</th>
|
||||||
|
@ -239,7 +239,7 @@
|
||||||
Belum Absen
|
Belum Absen
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<table id="tabeldata2" class="table table-striped table-bordered">
|
<table id="tabeldata2" class="table table-striped table-bordered table-responsive-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>No</th>
|
<th>No</th>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Pemilik UMKM</h5>
|
<h5 class="card-header">Pemilik UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
|
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
|
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4 col-lg-4 col-sm-12 col-12">
|
||||||
<div class="form-group text-center">
|
<div class="form-group text-center">
|
||||||
<img class="mb-2" src="../../assets/images/<?php echo $pemilik->foto_user ?>" width="80" /><br>
|
<img class="mb-2" src="../../assets/images/<?php echo $pemilik->foto_user ?>" width="80" /><br>
|
||||||
<strong><?php echo $pemilik->nama?></strong><br>
|
<strong><?php echo $pemilik->nama?></strong><br>
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-8">
|
<div class="col col-md-8 col-lg-8 col-sm-12 col-12">
|
||||||
<div class="row pb-2">
|
<div class="row pb-2">
|
||||||
<div class="col col-md-4 pl-2 pr-2">NPWP</div>
|
<div class="col col-md-4 pl-2 pr-2">NPWP</div>
|
||||||
<div class="col col-md-1 pl-2 pr-2">:</div>
|
<div class="col col-md-1 pl-2 pr-2">:</div>
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-2">
|
<div class="mt-2">
|
||||||
<table id="tabeldata" class="table table-striped table-bordered">
|
<table id="tabeldata" class="table table-striped table-bordered table-responsive-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>No</th>
|
<th>No</th>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col-md-9 col-sm-12" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Data UMKM</h5>
|
<h5 class="card-header">Data UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
<form action="" class="needs-validation">
|
<form action="" class="needs-validation">
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-4 pt-4">
|
<div class="col col-md-4 col-sm-12 col-12 pt-4">
|
||||||
<div class="form-group text-center">
|
<div class="form-group text-center">
|
||||||
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="100" class="mb-2" /><br>
|
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="100" class="mb-2" /><br>
|
||||||
<strong><?php echo $umkm->nama?></strong><br>
|
<strong><?php echo $umkm->nama?></strong><br>
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-8">
|
<div class="col col-md-8 col-sm-12 col-12">
|
||||||
<div class="row pt-1 ml-2 mb-0 pb-0">
|
<div class="row pt-1 ml-2 mb-0 pb-0">
|
||||||
<strong>DATA TERKINI</strong>
|
<strong>DATA TERKINI</strong>
|
||||||
</div>
|
</div>
|
||||||
|
@ -133,9 +133,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4 col-12 col-sm-12 mt-3 mt-md-0 mt-lg-0">
|
||||||
<div class="card text-center">
|
<div class="card text-center">
|
||||||
<div class="card-header text-light bg-info">
|
<div class="card-header text-light bg-info">
|
||||||
ASET TERAKHIR
|
ASET TERAKHIR
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -150,7 +150,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-6">
|
<div class="col col-md-6 col-12 col-lg-6 col-sm-12">
|
||||||
|
|
||||||
<div class="row pb-2 pl-3">
|
<div class="row pb-2 pl-3">
|
||||||
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
||||||
|
@ -183,16 +183,16 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-md-6 col-12 col-lg-6 col-sm-12">
|
||||||
|
|
||||||
<div class="row pb-2">
|
<div class="row pb-2 pl-2">
|
||||||
<div class="col col-md-12">Alamat</div>
|
<div class="col col-md-12">Alamat</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-md-12">
|
||||||
<textarea class="form-control" rows="1" disabled><?php echo $umkm->alamat?></textarea>
|
<textarea class="form-control" rows="1" disabled><?php echo $umkm->alamat?></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row pb-2">
|
<div class="row pb-2 pl-2">
|
||||||
<div class="col col-md-12">Deskripsi</div>
|
<div class="col col-md-12">Deskripsi</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-md-12">
|
||||||
<textarea class="form-control" rows="2" disabled><?php echo $umkm->deskripsi?></textarea>
|
<textarea class="form-control" rows="2" disabled><?php echo $umkm->deskripsi?></textarea>
|
||||||
|
@ -217,14 +217,15 @@
|
||||||
|
|
||||||
<div class="row mt-2">
|
<div class="row mt-2">
|
||||||
<div class="col col-md-12">
|
<div class="col col-md-12">
|
||||||
<table id="tabeldata" class="table table-striped table-bordered">
|
<table id="tabeldata" class="table table-striped table-bordered table-responsive-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Tahun</th>
|
<th>Tahun</th>
|
||||||
<th>Bulan</th>
|
<th>Bulan</th>
|
||||||
<th>Aset Terkini</th>
|
<th>Aset Terkini</th>
|
||||||
<th>Omset Bulan Ini</th>
|
<th>Omset Bulan Ini</th>
|
||||||
<th>Jumlah Karyawan</th>
|
<th>Tenaga Kerja (L)</th>
|
||||||
|
<th>Tenaga Kerja (P)</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -266,7 +267,8 @@
|
||||||
<td><?php echo $bulan ?></td>
|
<td><?php echo $bulan ?></td>
|
||||||
<td><?php echo rupiah($absensi->aset) ?></td>
|
<td><?php echo rupiah($absensi->aset) ?></td>
|
||||||
<td><?php echo rupiah($absensi->omset) ?></td>
|
<td><?php echo rupiah($absensi->omset) ?></td>
|
||||||
<td><?php echo $absensi->karyawan ?></td>
|
<td><?php echo $absensi->karyawan_l ?></td>
|
||||||
|
<td><?php echo $absensi->karyawan_p ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-md-9 col-12 col-sm-12 col-lg-9" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Pemilik UMKM</h5>
|
<h5 class="card-header">Pemilik UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -117,14 +117,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-6">
|
<div class="col col-md-6 col-12 col-sm-12 col-lg-6">
|
||||||
<div class="form-group">
|
<div class="form-group text-center">
|
||||||
<img src="../../assets/images/<?php echo $pemilik->foto_user ?>" width="112" />
|
<img src="../../assets/images/<?php echo $pemilik->foto_user ?>" width="112" class="img img-thumbnail mt-3" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group text-center">
|
||||||
<label for="foto_user">Ganti Foto Pemilik UMKM</label>
|
<label for="foto_user">Ganti Foto Pemilik UMKM</label>
|
||||||
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_user" class="form-control-file" id="foto_user">
|
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_user" class="form-control-file mt-2" id="foto_user">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
<input type="text" name="telp" class="form-control" id="telp" value="<?php echo $pemilik->telp_user ?>" placeholder="No Telp" required>
|
<input type="text" name="telp" class="form-control" id="telp" value="<?php echo $pemilik->telp_user ?>" placeholder="No Telp" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-md-6 col-12 col-sm-12 col-lg-6">
|
||||||
|
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12 text-right">
|
<div class="col col-md-12 col-12 col-sm-12 col-lg-6 text-right">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-sm btn-primary">Simpan</button>
|
<button type="submit" class="btn btn-sm btn-primary">Simpan</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Data UMKM</h5>
|
<h5 class="card-header">Data UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -114,14 +114,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4 col-lg-4 col-sm-12 col-12">
|
||||||
<div class="form-group text-center mb-2">
|
<div class="form-group text-center mb-2">
|
||||||
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="100" />
|
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" class="img img-thumbnail" width="115" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group text-center">
|
||||||
<label for="foto_umkm">Ganti Foto UMKM</label>
|
<label for="foto_umkm">Ganti Foto UMKM</label>
|
||||||
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_umkm" class="form-control-file" id="foto_umkm">
|
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_umkm" class="form-control-file mt-3" id="foto_umkm">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4 col-lg-4 col-sm-12 col-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="karyawan_l">Jumlah Tenaga Kerja (L)</label>
|
<label for="karyawan_l">Jumlah Tenaga Kerja (L)</label>
|
||||||
<input type="number" name="karyawan_l" class="form-control" min="0" id="karyawan_l" value="<?php echo $umkm->karyawan_l?>" placeholder="Jumlah Karyawan laki-laki" required>
|
<input type="number" name="karyawan_l" class="form-control" min="0" id="karyawan_l" value="<?php echo $umkm->karyawan_l?>" placeholder="Jumlah Karyawan laki-laki" required>
|
||||||
|
@ -167,7 +167,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4 col-lg-4 col-sm-12 col-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="kelurahan">Kelurahan</label>
|
<label for="kelurahan">Kelurahan</label>
|
||||||
<select name="kelurahan" class="form-control" id="kelurahan" required>
|
<select name="kelurahan" class="form-control" id="kelurahan" required>
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
<textarea name="deskripsi" class="form-control" id="deskripsi" rows="2" placeholder="Uraikan deskripsi singkat UMKM..." required><?php echo $umkm->deskripsi?></textarea>
|
<textarea name="deskripsi" class="form-control" id="deskripsi" rows="2" placeholder="Uraikan deskripsi singkat UMKM..." required><?php echo $umkm->deskripsi?></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12 text-right">
|
<div class="col col-12 text-right">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-primary btn-sm">Simpan</button>
|
<button type="submit" class="btn btn-primary btn-sm">Simpan</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Absensi</h5>
|
<h5 class="card-header">Absensi</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-md-1 pt-1">
|
<div class="col col-2 col-md-1 col-lg-1 pt-1">
|
||||||
<?php
|
<?php
|
||||||
$jumlahabsen = $absenmodel->getAbsenCountByYear($tahun->tahun);
|
$jumlahabsen = $absenmodel->getAbsenCountByYear($tahun->tahun);
|
||||||
$prosentaseabsen = ($jumlahabsen/12)*100;
|
$prosentaseabsen = ($jumlahabsen/12)*100;
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Pemilik UMKM</h5>
|
<h5 class="card-header">Pemilik UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="password">Password</label>
|
<label for="password">Password</label>
|
||||||
<input type="password" name="password" class="form-control" id="password" placeholder="Password" required>
|
<input type="password" name="password" class="form-control" id="password" placeholder="Password" required>
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
<input type="password" name="password2" class="form-control" id="password2" placeholder="Confirm Password" required>
|
<input type="password" name="password2" class="form-control" id="password2" placeholder="Confirm Password" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12 text-right">
|
<div class="col col-12 text-right">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-sm btn-primary">Simpan</button>
|
<button type="submit" class="btn btn-sm btn-primary">Simpan</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Setting User</h5>
|
<h5 class="card-header">Setting User</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="password">Password</label>
|
<label for="password">Password</label>
|
||||||
<input type="password" name="password" class="form-control" id="password" placeholder="Password" required>
|
<input type="password" name="password" class="form-control" id="password" placeholder="Password" required>
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
<input type="password" name="password2" class="form-control" id="password2" placeholder="Confirm Password" required>
|
<input type="password" name="password2" class="form-control" id="password2" placeholder="Confirm Password" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12 text-right">
|
<div class="col col-12 text-right">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-sm btn-primary">Simpan</button>
|
<button type="submit" class="btn btn-sm btn-primary">Simpan</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/user.png" width="125" /><br>
|
<img src="../../assets/images/user.png" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9 col-12 col-sm-12 col-lg-9">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Pemilik UMKM</h5>
|
<h5 class="card-header">Pemilik UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-6">
|
<div class="col col-md-6 col-12 col-sm-12 col-lg-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="namalengkap">Nama Lengkap</label>
|
<label for="namalengkap">Nama Lengkap</label>
|
||||||
<input type="text" name="nama" class="form-control" id="namalengkap" placeholder="Nama Lengkap" required>
|
<input type="text" name="nama" class="form-control" id="namalengkap" placeholder="Nama Lengkap" required>
|
||||||
|
@ -134,7 +134,7 @@
|
||||||
<input type="text" name="telp" class="form-control" id="telp" placeholder="No Telp" required>
|
<input type="text" name="telp" class="form-control" id="telp" placeholder="No Telp" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-md-6 col-12 col-sm-12 col-lg-6">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="kelurahan">Kelurahan</label>
|
<label for="kelurahan">Kelurahan</label>
|
||||||
|
@ -162,7 +162,7 @@
|
||||||
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_user" class="form-control-file" id="foto_user">
|
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_user" class="form-control-file" id="foto_user">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12 text-right">
|
<div class="col col-md-12 col-12 col-sm-12 col-lg-6 text-right">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-sm btn-primary">Simpan</button>
|
<button type="submit" class="btn btn-sm btn-primary">Simpan</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Pemilik UMKM</h5>
|
<h5 class="card-header">Pemilik UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4 col-lg-4 col-sm-12 col-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="namaumkm">Nama Umkm</label>
|
<label for="namaumkm">Nama Umkm</label>
|
||||||
<input type="text" name="nama" class="form-control" id="namaumkm" placeholder="Nama Umkm" required>
|
<input type="text" name="nama" class="form-control" id="namaumkm" placeholder="Nama Umkm" required>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4 col-lg-4 col-sm-12 col-12">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="karyawan_l">Jumlah Tenaga Kerja (L)</label>
|
<label for="karyawan_l">Jumlah Tenaga Kerja (L)</label>
|
||||||
|
@ -176,7 +176,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-4">
|
<div class="col col-md-4 col-lg-4 col-sm-12 col-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="telp">No Telp Umkm</label>
|
<label for="telp">No Telp Umkm</label>
|
||||||
<input type="text" name="telp" class="form-control" id="telp" placeholder="No Telp Umkm" required>
|
<input type="text" name="telp" class="form-control" id="telp" placeholder="No Telp Umkm" required>
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_umkm" class="form-control-file" id="foto_umkm">
|
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_umkm" class="form-control-file" id="foto_umkm">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-primary">Simpan</button>
|
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -16,18 +16,6 @@
|
||||||
|
|
||||||
<title>Aplikasi UMKM</title>
|
<title>Aplikasi UMKM</title>
|
||||||
|
|
||||||
<style>
|
|
||||||
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
||||||
.hdscr::-webkit-scrollbar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide scrollbar for IE, Edge and Firefox */
|
|
||||||
.hdscr {
|
|
||||||
-ms-overflow-style: none; /* IE and Edge */
|
|
||||||
scrollbar-width: none; /* Firefox */
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
@ -54,7 +42,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -78,7 +66,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col col-md-9 col-lg-9 col-sm-12 col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Data UMKM</h5>
|
<h5 class="card-header">Data UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -89,7 +77,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="mt-3 hdscr" style="max-height:400px;overflow-y: auto;">
|
<div class="mt-3">
|
||||||
<?php if (isset($del_msg)){
|
<?php if (isset($del_msg)){
|
||||||
if($del_msg=='error'){
|
if($del_msg=='error'){
|
||||||
?>
|
?>
|
||||||
|
@ -98,7 +86,7 @@
|
||||||
<?php }elseif($del_msg=='sucess'){ ?>
|
<?php }elseif($del_msg=='sucess'){ ?>
|
||||||
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
|
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
|
||||||
<?php }} ?>
|
<?php }} ?>
|
||||||
<table id="tabeldata" class="table table-striped table-bordered">
|
<table id="tabeldata" class="table table-striped table-bordered table-responsi-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>No</th>
|
<th>No</th>
|
||||||
|
|
|
@ -15,19 +15,7 @@
|
||||||
<link rel="icon" type="image/png" href="../../assets/images/favicon.png" />
|
<link rel="icon" type="image/png" href="../../assets/images/favicon.png" />
|
||||||
|
|
||||||
<title>Aplikasi UMKM</title>
|
<title>Aplikasi UMKM</title>
|
||||||
|
|
||||||
<style>
|
|
||||||
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
||||||
.hdscr::-webkit-scrollbar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide scrollbar for IE, Edge and Firefox */
|
|
||||||
.hdscr {
|
|
||||||
-ms-overflow-style: none; /* IE and Edge */
|
|
||||||
scrollbar-width: none; /* Firefox */
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
@ -54,7 +42,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="<?php echo base_url()?>assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -69,7 +57,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col col-12 col-md-9 col-lg-9">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Daftar UMKM</h5>
|
<h5 class="card-header">Daftar UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -80,7 +68,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="mt-3 hdscr" style="max-height:400px;overflow-y: auto;">
|
<div class="mt-3">
|
||||||
<?php if (isset($del_msg)){
|
<?php if (isset($del_msg)){
|
||||||
if($del_msg=='error'){
|
if($del_msg=='error'){
|
||||||
?>
|
?>
|
||||||
|
@ -89,7 +77,7 @@
|
||||||
<?php }elseif($del_msg=='sucess'){ ?>
|
<?php }elseif($del_msg=='sucess'){ ?>
|
||||||
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
|
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
|
||||||
<?php }} ?>
|
<?php }} ?>
|
||||||
<table id="tabeldata" class="table table-striped table-bordered">
|
<table id="tabeldata" class="table table-striped table-bordered table-responsive-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>No</th>
|
<th>No</th>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-12 col-md-9 col-lg-9" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Data UMKM</h5>
|
<h5 class="card-header">Data UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -85,14 +85,14 @@
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
|
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-4 pt-4">
|
<div class="col col-12 col-md-4 col-lg-4 pt-4">
|
||||||
<div class="form-group text-center">
|
<div class="form-group text-center">
|
||||||
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail mb-2" /><br>
|
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail mb-2" /><br>
|
||||||
<strong><?php echo $umkm->nama?></strong>
|
<strong><?php echo $umkm->nama?></strong>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-8">
|
<div class="col col-12 col-md-8 col-lg-8">
|
||||||
<div class="row pt-1 ml-2 mb-0 pb-0">
|
<div class="row pt-1 ml-2 mb-0 pb-0">
|
||||||
<strong>DATA TERKINI</strong>
|
<strong>DATA TERKINI</strong>
|
||||||
</div>
|
</div>
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-4">
|
<div class="col col-12 col-md-4 col-lg-4 mt-2 mt-md-0 mt-lg-0">
|
||||||
<div class="card text-center">
|
<div class="card text-center">
|
||||||
<div class="card-header text-light bg-info">
|
<div class="card-header text-light bg-info">
|
||||||
ASET TERAKHIR
|
ASET TERAKHIR
|
||||||
|
@ -131,12 +131,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
|
|
||||||
<div class="row pb-2 pl-3">
|
<div class="row pb-2 pl-3">
|
||||||
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
||||||
|
@ -169,7 +169,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
|
|
||||||
<div class="row pb-2">
|
<div class="row pb-2">
|
||||||
<div class="col col-md-12">Alamat</div>
|
<div class="col col-md-12">Alamat</div>
|
||||||
|
@ -186,7 +186,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
@ -205,7 +205,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row mt-2">
|
<div class="row mt-2">
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header bg-primary text-white">
|
<div class="card-header bg-primary text-white">
|
||||||
Absen Aktif
|
Absen Aktif
|
||||||
|
@ -214,11 +214,11 @@
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-auto">
|
<div class="col col-12 col-md-9 col-lg-9">
|
||||||
<h5>Bulan <?php echo $bulan ?> Tahun <?php echo $data_absen->tahun ?></h5>
|
<h5>Bulan <?php echo $bulan ?> Tahun <?php echo $data_absen->tahun ?></h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="col text-right">
|
<div class="col text-right">
|
||||||
<?php if($absenisiaktif->signed==1){?>
|
<?php if($signed==1){?>
|
||||||
<span class="badge badge-pill badge-success">Sudah Absen</span>
|
<span class="badge badge-pill badge-success">Sudah Absen</span>
|
||||||
<?php }else{?>
|
<?php }else{?>
|
||||||
<span class="badge badge-pill badge-warning text-dark">Belum Absen</span>
|
<span class="badge badge-pill badge-warning text-dark">Belum Absen</span>
|
||||||
|
@ -248,7 +248,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
<input type="hidden" name='id_absensi' value="<?php echo $absenisiaktif->id_absensi ?>" readonly>
|
<input type="hidden" name='id_absensi' value="<?php echo $absenisiaktif->id_absensi ?>" readonly>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="aset">Aset Terkini</label>
|
<label for="aset">Aset Terkini</label>
|
||||||
|
@ -260,7 +260,7 @@
|
||||||
<input type="number" name="omset" min="0" class="form-control" id="omset" placeholder="Omset bulan ini" value="<?php echo $absenisiaktif->omset ?>" required>
|
<input type="number" name="omset" min="0" class="form-control" id="omset" placeholder="Omset bulan ini" value="<?php echo $absenisiaktif->omset ?>" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="karyawan_l">Jumlah Tenaga Kerja (L)</label>
|
<label for="karyawan_l">Jumlah Tenaga Kerja (L)</label>
|
||||||
<input type="number" name="karyawan_l" class="form-control" min="0" id="karyawan_l" value="<?php echo $absenisiaktif->karyawan_l ?>" placeholder="Jumlah Karyawan laki-laki" required>
|
<input type="number" name="karyawan_l" class="form-control" min="0" id="karyawan_l" value="<?php echo $absenisiaktif->karyawan_l ?>" placeholder="Jumlah Karyawan laki-laki" required>
|
||||||
|
@ -273,7 +273,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-primary">Update Absen</button>
|
<button type="submit" class="btn btn-primary">Update Absen</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -290,9 +290,6 @@
|
||||||
<div class="alert alert-warning" role="alert">
|
<div class="alert alert-warning" role="alert">
|
||||||
Tidak ada <strong>absen aktif</strong> saat ini.
|
Tidak ada <strong>absen aktif</strong> saat ini.
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<a href="<?php echo base_url('index.php/')?>admin/tambahabsen" class="btn btn-lg btn-success">Buat Absensi</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-12 col-md-9 col-lg-9" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Data UMKM</h5>
|
<h5 class="card-header">Data UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -105,14 +105,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
<div class="form-group mb-2">
|
<div class="form-group mb-2 text-center">
|
||||||
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail" />
|
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group text-center">
|
||||||
<label for="foto_umkm">Ganti Foto UMKM</label>
|
<label for="foto_umkm">Ganti Foto UMKM</label>
|
||||||
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_umkm" class="form-control-file" id="foto_umkm">
|
<input type="file" accept=".jpg,.jpeg,.png,.gif" name="foto_umkm" class="form-control-file mt-2" id="foto_umkm">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="jenis">Jenis Usaha</label>
|
<label for="jenis">Jenis Usaha</label>
|
||||||
<select name="jenis" class="form-control" id="jenis" required>
|
<select name="jenis" class="form-control" id="jenis" required>
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="col col-md-12 text-right">
|
<div class="col col-12 text-right">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-primary btn-sm">Simpan</button>
|
<button type="submit" class="btn btn-primary btn-sm">Simpan</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-12 col-md-9 col-lg-9" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Data UMKM</h5>
|
<h5 class="card-header">Data UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -85,14 +85,14 @@
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
<form action="" class="needs-validation">
|
<form action="" class="needs-validation">
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-4 pt-4">
|
<div class="col col-12 col-md-4 col-lg-4 pt-4">
|
||||||
<div class="form-group text-center">
|
<div class="form-group text-center">
|
||||||
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail mb-2" /><br>
|
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail mb-2" /><br>
|
||||||
<strong><?php echo $umkm->nama?></strong>
|
<strong><?php echo $umkm->nama?></strong>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-8">
|
<div class="col col-12 col-md-8 col-lg-8">
|
||||||
<div class="row pt-1 ml-2 mb-0 pb-0">
|
<div class="row pt-1 ml-2 mb-0 pb-0">
|
||||||
<strong>DATA TERKINI</strong>
|
<strong>DATA TERKINI</strong>
|
||||||
</div>
|
</div>
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-4">
|
<div class="col col-12 col-md-4 col-lg-4 mt-2 mt-md-0 mt-lg-0">
|
||||||
<div class="card text-center">
|
<div class="card text-center">
|
||||||
<div class="card-header text-light bg-info">
|
<div class="card-header text-light bg-info">
|
||||||
ASET TERAKHIR
|
ASET TERAKHIR
|
||||||
|
@ -131,12 +131,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
|
|
||||||
<div class="row pb-2 pl-3">
|
<div class="row pb-2 pl-3">
|
||||||
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
||||||
|
@ -169,7 +169,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
|
|
||||||
<div class="row pb-2">
|
<div class="row pb-2">
|
||||||
<div class="col col-md-12">Alamat</div>
|
<div class="col col-md-12">Alamat</div>
|
||||||
|
@ -186,7 +186,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
@ -214,9 +214,9 @@
|
||||||
<?php } elseif($del_msg=='sucess'){ ?>
|
<?php } elseif($del_msg=='sucess'){ ?>
|
||||||
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
|
<div class="alert alert-success" role="alert">Data berhasil terhapus !</div>
|
||||||
<?php }}?>
|
<?php }}?>
|
||||||
<div class="col col-md-12">
|
<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>
|
<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 id="tabeldata" class="table table-striped table-bordered table-responsive-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Produk</th>
|
<th>Produk</th>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-12 col-md-9 col-lg-9" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Data UMKM</h5>
|
<h5 class="card-header">Data UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -85,14 +85,14 @@
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
<form action="" class="needs-validation">
|
<form action="" class="needs-validation">
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-4 pt-4">
|
<div class="col col-12 col-md-4 col-lg-4 pt-4">
|
||||||
<div class="form-group text-center">
|
<div class="form-group text-center">
|
||||||
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail mb-2" /><br>
|
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail mb-2" /><br>
|
||||||
<strong><?php echo $umkm->nama?></strong>
|
<strong><?php echo $umkm->nama?></strong>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-8">
|
<div class="col col-12 col-md-8 col-lg-8">
|
||||||
<div class="row pt-1 ml-2 mb-0 pb-0">
|
<div class="row pt-1 ml-2 mb-0 pb-0">
|
||||||
<strong>DATA TERKINI</strong>
|
<strong>DATA TERKINI</strong>
|
||||||
</div>
|
</div>
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-4">
|
<div class="col col-12 col-md-4 col-lg-4 mt-2 mt-md-2 mt-lg-2">
|
||||||
<div class="card text-center">
|
<div class="card text-center">
|
||||||
<div class="card-header text-light bg-info">
|
<div class="card-header text-light bg-info">
|
||||||
ASET TERAKHIR
|
ASET TERAKHIR
|
||||||
|
@ -131,12 +131,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
|
|
||||||
<div class="row pb-2 pl-3">
|
<div class="row pb-2 pl-3">
|
||||||
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
||||||
|
@ -169,7 +169,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
|
|
||||||
<div class="row pb-2">
|
<div class="row pb-2">
|
||||||
<div class="col col-md-12">Alamat</div>
|
<div class="col col-md-12">Alamat</div>
|
||||||
|
@ -186,7 +186,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
@ -205,8 +205,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row mt-2">
|
<div class="row mt-2">
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<table id="tabeldata" class="table table-striped table-bordered">
|
<table id="tabeldata" class="table table-striped table-bordered table-responsive-lg">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Tahun</th>
|
<th>Tahun</th>
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3" style="cursor:pointer;">
|
<div class="col-md-3" style="cursor:pointer;">
|
||||||
<div class="card" style="width: 18rem;">
|
<div class="card">
|
||||||
<div class="card-header text-center">
|
<div class="card-header text-center">
|
||||||
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
<img src="../../assets/images/<?php echo $user_logged->foto_user ?>" width="125" /><br>
|
||||||
<strong><?php echo $user_logged->nama ?></strong>
|
<strong><?php echo $user_logged->nama ?></strong>
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9" >
|
<div class="col col-12 col-md-9 col-lg-9" >
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5 class="card-header">Data UMKM</h5>
|
<h5 class="card-header">Data UMKM</h5>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@ -86,14 +86,14 @@
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
|
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-4 pt-4">
|
<div class="col col-12 col-md-4 col-lg-4 pt-4">
|
||||||
<div class="form-group text-center">
|
<div class="form-group text-center">
|
||||||
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail mb-2" /><br>
|
<img src="../../assets/images/umkm/<?php echo $umkm->foto_umkm ?>" width="135" class="img-thumbnail mb-2" /><br>
|
||||||
<strong><?php echo $umkm->nama?></strong>
|
<strong><?php echo $umkm->nama?></strong>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-8">
|
<div class="col col-12 col-md-8 col-lg-8">
|
||||||
<div class="row pt-1 ml-2 mb-0 pb-0">
|
<div class="row pt-1 ml-2 mb-0 pb-0">
|
||||||
<strong>DATA TERKINI</strong>
|
<strong>DATA TERKINI</strong>
|
||||||
</div>
|
</div>
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-4">
|
<div class="col col-12 col-md-4 col-lg-4 mt-2 mt-md-0 mt-lg-0">
|
||||||
<div class="card text-center">
|
<div class="card text-center">
|
||||||
<div class="card-header text-light bg-info">
|
<div class="card-header text-light bg-info">
|
||||||
ASET TERAKHIR
|
ASET TERAKHIR
|
||||||
|
@ -132,12 +132,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row pr-2">
|
<div class="row pr-2">
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
|
|
||||||
<div class="row pb-2 pl-3">
|
<div class="row pb-2 pl-3">
|
||||||
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
<div class="col col-md-4 pl-2 pr-2">No Telp</div>
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-6">
|
<div class="col col-12 col-md-6 col-lg-6">
|
||||||
|
|
||||||
<div class="row pb-2">
|
<div class="row pb-2">
|
||||||
<div class="col col-md-12">Alamat</div>
|
<div class="col col-md-12">Alamat</div>
|
||||||
|
@ -187,7 +187,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
@ -211,7 +211,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row mt-2">
|
<div class="row mt-2">
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header bg-primary text-white">
|
<div class="card-header bg-primary text-white">
|
||||||
Tambah Produk
|
Tambah Produk
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
<?php
|
<?php
|
||||||
if(isset($error_upload)){
|
if(isset($error_upload)){
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<div class="alert alert-danger" role="alert">Error : <?php echo $error_upload ?></div>
|
<div class="alert alert-danger" role="alert">Error : <?php echo $error_upload ?></div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
@ -249,7 +249,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="produk">Nama Produk</label>
|
<label for="produk">Nama Produk</label>
|
||||||
|
@ -267,7 +267,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col col-md-12">
|
<div class="col col-12">
|
||||||
<hr>
|
<hr>
|
||||||
<button type="submit" class="btn btn-primary">Simpan</button>
|
<button type="submit" class="btn btn-primary">Simpan</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue