VBIO #10

Related image

Masih pada pembahasan yang sama pada VBIO sebelumnya, disini terdapat menu Proses customers. dimana pada menu ini terdapat jika operator tersebut baru mengambil pertanyaan customer tetapi belum menjawab pertanyaan customers. maka pada proses ini dinamakan proses customers. nah pada proses  customers ini akan terlihat nama operator tersebut.

berikut ini adalah script dan tampilannya:

<?php

/* @var $this yii\web\View */
use yii\helpers\Html;

$this->title = ‘My Yii Application’;
?>

<section class=”content-header”>
<h1>
Process Customers
<small></small>
</h1>
<ol class=”breadcrumb”>
<li><a href=”#”><i class=”fa fa-dashboard”></i>Home</a></li>
<li><a href=”#”>Process Customers</a></li>
</ol>
</section>

<?php
//echo “<pre>”;
//print_r($data);
//echo “</pre>”;

//foreach ($data as $value) {
//echo “”;
//echo “<br>”;
//}

?>

<!– Content Header (Page header) –>

<section class=”content”>
<div class=”row”>
<div class=”col-xs-12″>

 

<div class=”box”>
<div class=”box-header”>
<h3 class=”box-title”>List Of Process Customers</h3>
</div>
<!– /.box-header –>
<div class=”box-body”>
<table id=”example1″ class=”table table-bordered table-striped”>
<thead>
<tr>
<th>No</th>

<th>No Tiket</th>
<th>Email Customer</th>
<th>Tanggal Tanya</th>
<th>Perihal</th>
<th>Nama Operator</th>

</tr>
</thead>
<tbody>

<?php
$no = 1;
foreach ($prosescustomer as $data) { ?>
<tr>
<td> <?php echo $no ; ?></td>

<td><?php echo $data[‘id_tiket’]; ?></td>
<td><?php echo $data[’emailcustomer’]; ?></td>
<td><?php echo $data[‘tgl_tanya’]; ?></td>
<td><?php echo $data[‘namaperihal’]; ?></td>
<td><?php echo $data[‘namaoperator’]; ?></td>

 

</tr>
<?php $no++ ; } ?>
</tbody>

</table>
</div>
<!– /.box-body –>
</div>
<!– /.box –>

</div>
</div>

 

</section>

https://lh3.googleusercontent.com/-jWubJAVu5s4/WdBM5kvUZrI/AAAAAAAAG0g/2pMJhlnvNzsZZKsHpEGW_uAmIyMmcntOgCL0BGAYYCw/h120/2017-09-30.pnghttps://lh3.googleusercontent.com/-VWx4lmrr6Sw/WdBM_cG84cI/AAAAAAAAG0k/DqkliNmx2ww_4dNSF_CTbJEvN1wp4V8gACL0BGAYYCw/h247/2017-09-30.png

Leave a Reply

You must be logged in to post a comment.