appointment.blade.php
2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
$dashboarduser=Auth::user();
$timeoffset=$dashboarduser->timezone*60;
?>
<div class="container-fluid">
<div class="layout-app">
<div class="row">
<div class="col-md-12">
<div class="col-separator col-separator-first col-unscrollable box">
<div class="innerAll">
<div>
<h4 id='tcampaign_select' value=<?php if(!empty($client)) echo $client; ?>>Appointment <?php if(!empty($client)) echo ": ".$client; ?></h4></div>
<hr style="margin-bottom: 10px;" />
<table class='table'
<thead>
<tr>
<th></th>
<th></th>
<?php if(empty($client)) echo "<th>Campaign</th>" ?>
<th>Cust_ID</th>
<th>Name</th>
<th>Number</th>
<!-- <th>Type</th>-->
<th>LastCall</th>
<!-- <th>Disposition</th> --->
<th>Appointment Date</th>
<!--- <th>Status</th> --->
<!-- <th>Count</th> -->
<!--<th></th>-->
<!-- <th>DID</th> -->
</tr>
</thead>
<tbody>
<?php
if($count > 0){
foreach ($appointment as $key => $value) { //echo "<pre>";print_r($value);exit;?>
<tr>
<td></td>
<td></td>
<?php if(empty($client)) echo "<td>$value->client</td>" ?>
<td><?php echo $value->cust_id; ?></td>
<td><?php echo $value->customer_name; ?></td>
<td><a href=# class='' onclick='dialerQuickOpen("<?php echo $value->id; ?>","<?php echo $value->mobile; ?>","Manual","",0);return false;'><?php echo $value->mobile; ?></a></td>
<td><?php echo date("Y-m-d H:i:s",strtotime($value->dialer_lastcall)-$timeoffset); ?></td>
<!--<td><?php //echo $value->dialer_status; ?></td>-->
<td><?php echo date("Y-m-d H:i:s",strtotime($value->dialer_appointment)-$timeoffset); ?></td>
<!--<td><?php //echo $value->status; ?></td>-->
</tr>
<?php }
}else{ ?>
<td colspan="9" align="center">No Record Available</td>
<?php } ?>
</table>
<div id="campaignDetailsArea"></div>
</div>
</div>
</div>
</div>
</div>
</div>