170 lines
6.0 KiB
PHP
170 lines
6.0 KiB
PHP
<!doctype html>
|
|
<html class="fixed sidebar-left-collapsed">
|
|
|
|
<head>
|
|
|
|
<!-- Basic -->
|
|
<meta charset="UTF-8">
|
|
|
|
<title>SERVICE</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-bottom-style: solid;
|
|
border-width: 5px;
|
|
border-color: teal;
|
|
}
|
|
|
|
.f18 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
</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">
|
|
|
|
<?php
|
|
$id_karyawan = $this->session->userdata('id_karyawan');
|
|
$nama_panggilan = $this->session->userdata('nama_panggilan');
|
|
$username = $this->session->userdata('username');
|
|
$tgl_now = date('Y-m-d');
|
|
?>
|
|
|
|
<header class="page-header">
|
|
<h2><b>Data Pengerjaan Service | </b><b style="color:LightGreen">[<?=$tampil?>]</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 class="text-dark" onclick="closeTab()"><b>Tutup </b><i class="fa fa-times"></i></a>
|
|
</div>
|
|
<h2 class="panel-title"><b style="color:DarkOrange">REKAP SERVICE | <b style="color:Olive">1000 Data Terbaru</b></b></h2>
|
|
</header>
|
|
<div class="panel-body">
|
|
<table class="table table-bordered table-striped mb-none" id="table1">
|
|
<thead>
|
|
<th class="center default">No</th>
|
|
<th width="200px" class="default">Kode</th>
|
|
<th class="default">Atas Nama</th>
|
|
<th class="default">Unit</th>
|
|
<th class="default">Keluhan</th>
|
|
<th class="center default">PILIHAN</th>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
if (is_array($sns) || is_object($sns)) {
|
|
$no = 1;
|
|
foreach ($sns as $key) { ?>
|
|
<tr>
|
|
<?php
|
|
if ($key['GARANSI_SNS']==1) {
|
|
$status = "Garansi Barang";
|
|
} else if ($key['GARANSI_SNS']==2) {
|
|
$status = "Garansi Service";
|
|
} else if ($key['GARANSI_SNS']==3) {
|
|
$status = "Tidak Garansi";
|
|
}
|
|
?>
|
|
<td class="center"><?= $no; ?></td>
|
|
<td class="default"><b style="color:Black"><?= $key['KODE_SERVICE']; ?></b><br>(<?= $key['CIPTA_SERVICE']; ?>)</td>
|
|
<td><b style="color:DarkGreen">[<?= $status; ?>]</b><br><b style="color:Chocolate"><?= $key['NAMA_PELANGGAN']; ?></b><br><i style="color:DarkOrchid"><b><?= $key['TELP_SERVICE']; ?></b></i></td>
|
|
<td><b style="color:Tomato"><?= $key['NAMA_SNS']; ?></b><br>(<?php if ($key['DFS_ID']==NULL) { ?><?= $key['NAMA_UNITSERVICE']; ?><?php } else { ?><?= $key['NAMA_BARANG']; ?><?php } ?>)</td>
|
|
<td><b style="color:SaddleBrown"><?= $key['KEL_SNS']; ?></b><br>(<?= $key['PART_SNS']; ?>)</td>
|
|
<td class="actions center">
|
|
<a href="<?php echo base_url('') ?>index.php/Menu/SV_Cetak_Sub1_B1_DataTandaTerimaService/<?= $key['ID_SNS'] ?>" target="_blank" class="btn btn-default ml-sm"><b style="color:Blue"><i class="fa fa-print"></i><br>Cetak</b></a>
|
|
</td>
|
|
</tr>
|
|
<?php $no++;
|
|
}
|
|
} ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
<!-- end: page -->
|
|
</section>
|
|
</div>
|
|
</section>
|
|
|
|
<?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 closeTab() {
|
|
window.close();
|
|
}
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|