copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,277 @@
|
||||
<!doctype html>
|
||||
<html class="fixed sidebar-left-collapsed">
|
||||
|
||||
<head>
|
||||
|
||||
<!-- Basic -->
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>PROYEK</title>
|
||||
<meta name="keywords" content="HTML5 Admin Template" />
|
||||
<meta name="description" content="Porto Admin - Responsive HTML5 Template">
|
||||
<meta name="author" content="okler.net">
|
||||
|
||||
<!-- Mobile Metas -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
|
||||
<!-- Vendor CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap/css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/font-awesome/css/font-awesome.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/magnific-popup/magnific-popup.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap-datepicker/css/datepicker3.css" />
|
||||
|
||||
<!-- Specific Page Vendor CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/select2/select2.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/jquery-datatables-bs3/assets/css/datatables.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/pnotify/pnotify.custom.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap-multiselect/bootstrap-multiselect.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/base/jquery-ui.css" />
|
||||
|
||||
<!-- Theme CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/theme.css" />
|
||||
|
||||
<!-- Skin CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/skins/default.css" />
|
||||
|
||||
<!-- Theme Custom CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/theme-custom.css">
|
||||
|
||||
<!-- Head Libs -->
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/modernizr/modernizr.js"></script>
|
||||
|
||||
</head>
|
||||
<script src="<?= base_url() ?>assets/bower_components/jquery/jquery-3.3.1.min.js"></script>
|
||||
<script src="<?= base_url() ?>assets/bower_components/sweetalert2/sweetalert2.all.min.js"></script>
|
||||
|
||||
<style>
|
||||
.ui-front {
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.solid {
|
||||
border-top-style: solid;
|
||||
border-left-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-right-style: solid;
|
||||
border-width: 5px;
|
||||
border-color: khaki;
|
||||
}
|
||||
|
||||
.solidpro {
|
||||
border-top-style: solid;
|
||||
border-left-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-right-style: solid;
|
||||
border-width: 5px;
|
||||
border-color: cornflowerblue;
|
||||
}
|
||||
|
||||
.solidmini {
|
||||
border-top-style: solid;
|
||||
border-left-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-right-style: solid;
|
||||
border-width: 3px;
|
||||
border-color: green;
|
||||
}
|
||||
|
||||
div.f13 {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
div.f14 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
div.f15 {
|
||||
font-size: 15px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
let base_url = '<?= base_url() ?>';
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<section class="body">
|
||||
|
||||
<!-- start: header -->
|
||||
<?php $this->load->view('template/header'); ?>
|
||||
<!-- end: header -->
|
||||
|
||||
<div class="inner-wrapper">
|
||||
<!-- start: sidebar -->
|
||||
<?php $this->load->view('template/sidebar'); ?>
|
||||
<!-- end: sidebar -->
|
||||
|
||||
<section role="main" class="content-body">
|
||||
|
||||
<header class="page-header">
|
||||
<h2><b>Data Proyek | <b style="color:Chartreuse"><?=$kode_proyek?></b> | <b style="color:SkyBlue"><?=$nama_pelanggan?></b></b></h2>
|
||||
|
||||
<div class="right-wrapper pull-right">
|
||||
<ol class="breadcrumbs">
|
||||
<li><span><b style="color:Gold">Master Data </span></b></li>
|
||||
</ol>
|
||||
|
||||
<a class="sidebar-right-toggle" data-open="sidebar-right"><i class="fa fa-chevron-left"></i></a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- start: page -->
|
||||
<section class="panel panel-featured panel-featured-warning">
|
||||
<header class="panel-heading">
|
||||
<div class="panel-actions">
|
||||
<a data-toggle="modal" data-target="#modalFitur" style="color:Coral"><b>Fitur </b><i class="fa fa-question-circle"></i></a>  
|
||||
<a href="<?php echo base_url('') ?>index.php/Menu/PR_Sub1_Administrasi_1" class="text-dark"><b>Kembali </b><i class="fa fa-backward"></i></a>
|
||||
</div>
|
||||
<h2 class="panel-title"><b style="color:Coral">PROYEK | <b style="color:DarkSlateGray"><?=$po_proyek?></b></b></h2>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default"><b style="color:Tomato">BIAYA <?=$totalDak?></b></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<table class="table table-bordered table-striped mb-none" id="table1">
|
||||
<thead>
|
||||
<th class="center default">No</th>
|
||||
<th class="default">Kode</th>
|
||||
<th class="default">Timestamp</th>
|
||||
<th class="default">Jenis</th>
|
||||
<th class="text-right">Biaya</th>
|
||||
<th class="default">Keterangan</th>
|
||||
<?php if ($status_proyek==0) { ?>
|
||||
<th class="center default">PILIHAN</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
if (is_array($dak) || is_object($dak)) {
|
||||
$no = 1;
|
||||
foreach ($dak as $key) { ?>
|
||||
<tr>
|
||||
<td class="center"><?= $no; ?></td>
|
||||
<td><b style="color:Black"><?= $key['KODE_AKUNTANSI']; ?></b><br><i>(<?= $key['TANGGAL']; ?>)</i></td>
|
||||
<td><b style="color:Green"><?= $key['CIPTA_DAK']; ?></b></td>
|
||||
<td><b style="color:Chocolate"><?= $key['NAMA_UNITPROYEK']; ?></b></td>
|
||||
<td class="text-right"><b style="color:Tomato"><?= $key['NILAI']; ?></b></td>
|
||||
<td><b style="color:DarkSlateGray"><?= $key['KET_DAK']; ?></b></td>
|
||||
<?php if ($status_proyek==0) { ?>
|
||||
<td class="actions center">
|
||||
<span data-toggle="modal" data-target="#modalUbah"><button type="button" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Ubah Proyek" onclick="ubahData('<?= $key['ID_DAK']; ?>')" class="btn btn-xs btn-warning"><i class="fa fa-pencil"></i></button></span>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php $no++;
|
||||
}
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- end: page -->
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div id="modalFitur" class="modal fade" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg" style="width:50%">
|
||||
<div class="modal-content">
|
||||
<header class="panel-heading">
|
||||
<h4 class="panel-title"><b>Fitur Teknis</b></h4>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<div class="modal-wrapper">
|
||||
<div class="modal-text">
|
||||
<div class="form-group">
|
||||
<h5>
|
||||
<b style="color:DarkRed">Berikut ini adalah Daftar Menu yang dapat diakses sesuai dengan Hak Akses Anda.</b><br>
|
||||
<br><b style="color:DarkGreen">AKSES PENUH/OPERATOR</b><br><b> Bisa menggunakan semua Menu</b><br>
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="panel-footer">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<button type="button" class="btn btn-default pull-right" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="modalUbah" class="modal fade" tabindex="-1" role="dialog">
|
||||
<?= form_open('Menu/PR_Ubah_Sub1_DataDaftarAkuntansi', array('id' => 'formproyek'), array('method' => 'PR_Ubah_Sub1_DataDaftarAkuntansi')); ?>
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<header class="panel-heading">
|
||||
<h4 class="panel-title"><b>Ubah Data </b><b class="text-danger">[Warna Merah harus diisi]</b></h4>
|
||||
</header>
|
||||
<div class="modal-body ">
|
||||
|
||||
<div class="form-group">
|
||||
<input type="hidden" id="id_daked" name="id_daked" class="form-control">
|
||||
<div class="col-md-2"><b class="text-danger">Pengganti</b></div>
|
||||
<div class="col-md-10">
|
||||
<select data-plugin-selectTwo name="id_proyeked" id="id_proyeked" class="form-control populate" required>
|
||||
<option value="" selected>Pilih Proyek</option>
|
||||
<?php if (is_array($proyek) || is_object($proyek)) {
|
||||
foreach ($proyek as $key) { ?>
|
||||
<option value="<?= $key['ID_PROYEK'] ?>"><?= $key['KODE_PROYEK'] ?> | <?= $key['NAMA_PANGGILAN_KARYAWAN'] ?> | (<?= $key['PO_PROYEK'] ?>)</option>
|
||||
<?php }
|
||||
} ?>
|
||||
</select>
|
||||
<small class="help-block"></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-12"><b class="text-danger"><h4><i style="color:Teal">Proses tidak dapat dibatalkan. Lanjutkan?</i></h4></b></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<footer class="panel-footer">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-right">
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>
|
||||
<button type="submit" name="SubmitButton" id="SubmitButton" class="btn btn-warning"><b>Ubah</b> <i class="fa fa-pencil"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<?= form_close(); ?>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$this->load->view('template/sidebar_right');
|
||||
$this->load->view('template/script_vendor');
|
||||
$this->load->view('template/script_flashdata');
|
||||
$this->load->view('template/notification');
|
||||
?>
|
||||
|
||||
<script>
|
||||
$('#table1').dataTable( {
|
||||
"paging": false
|
||||
} );
|
||||
|
||||
function ubahData(id_dak) {
|
||||
document.getElementById("id_daked").value = id_dak;
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user