| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2bzend/application/views/scripts/customer/ |
Upload File : |
<?php
$customerDetail = $this->customerDetail;
$sourceCity = $this->sourceCity;
?>
<!--Page main section start-->
<section id="min-wrapper" class="active">
<div id="main-content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<!--Top header start-->
<h3 class="ls-top-header">Lead Detail</h3>
<!--Top header end -->
<!--Top breadcrumb start -->
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i></a></li>
<li class="active"><a href="<?php echo $this->baseUrl('/customer/listcustomer'); ?>">Customers</a></li><li class="active">Payment History</li>
</ol>
<!--Top breadcrumb start -->
</div>
</div>
<!-- Main Content Element Start-->
<div class="row">
<?php echo $this->partial('customer/customerpartial.phtml', array('customerDetail' => $this->customerDetail, 'sourceCity' => $sourceCity,'searchHotelResult' => $this->searchHotelResult,'country' => $this->country, 'customerId' => $this->customerId));?>
<div class="col-md-12">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Payment History</h3>
</div>
<div class="panel-body table-responsive no-padding">
<table class="table table-bordered">
<tbody>
<tr class="alert alert-graylight">
<th><strong>#</strong></th>
<th><strong>Lead ID</strong></th>
<th><strong>Type</strong></th>
<th><strong>Quote ID</strong></th>
<th><strong> Invoice No.</strong></th>
<th><strong>Booking Date</strong></th>
<th><strong>Invoice Date</strong></th>
<th><strong>Updated On</strong></th>
<th><strong>Due Date</strong></th>
<th><strong>Amount</strong></th>
<th><strong>T & C</strong></th>
<th><strong>Remark</strong></th>
<th><strong>Action</strong></th>
</tr>
<?php if (!empty($this->paginator) ):
$s=1;
foreach ($this->paginator as $paymentHistoryDetail){ //echo '<pre>'; print_r($roles); die;
?>
<tr>
<td><?php echo $s++; ?></td>
<td><a target="_blank" href="<?php echo $this->baseUrl('/leaddetail/lead-detail/id/'.base64_encode($paymentHistoryDetail['TPSysId']).'/cid/'.base64_encode($paymentHistoryDetail['CustomerSysId'])); ?>"><?php echo $paymentHistoryDetail['PlanBookingId'].'/'.$paymentHistoryDetail['TPSysId'];?></a></td>
<td><?php if($paymentHistoryDetail['PlanType']==1){ echo "Flight"; } if($paymentHistoryDetail['PlanType']==2){ echo "Hotel"; } if($paymentHistoryDetail['PlanType']==5){ echo "Package"; }?></td>
<td><?php echo 'Q'.$paymentHistoryDetail['MasterTPSysId']; ?></td>
<td><?php echo (trim($paymentHistoryDetail['InvoiceId'])!='')?$paymentHistoryDetail['InvoiceId']:'NA'; ?></td>
<td><?php echo (isset($paymentHistoryDetail['leadCreateDate']) && !empty($paymentHistoryDetail['leadCreateDate']))?$paymentHistoryDetail['leadCreateDate']->format('d/m/Y'):'';?></td>
<td><?php echo (isset($paymentHistoryDetail['leadCreateDate']) && !empty($paymentHistoryDetail['leadCreateDate']))?$paymentHistoryDetail['leadCreateDate']->format('d/m/Y'):'';?></td>
<td><?php echo (isset($paymentHistoryDetail['leadUpdateDate']) && !empty($paymentHistoryDetail['leadUpdateDate']))?$paymentHistoryDetail['leadUpdateDate']->format('d/m/Y'):'';?></td>
<td><?php echo (isset($paymentHistoryDetail['leadUpdateDate']) && !empty($paymentHistoryDetail['leadUpdateDate']))?$paymentHistoryDetail['leadUpdateDate']->format('d/m/Y'):'';?></td>
<td><?php echo $paymentHistoryDetail['TotalCost']; ?></td>
<td><span title="Static Data">TnC*</span></td>
<td><span title="Static Data"><?php echo (isset($paymentHistoryDetail['Remarks']) && !empty($paymentHistoryDetail['Remarks']))?stripslashes($paymentHistoryDetail['Remarks']):'NA'?></span></td>
<td><a target="_blank" href="<?php echo $this->baseUrl('/leaddetail/lead-detail/id/'.base64_encode($paymentHistoryDetail['TPSysId']).'/cid/'.base64_encode($paymentHistoryDetail['CustomerSysId'])); ?>"><button data-original-title="View" class="btn btn-xs btn-success tooltipLink" data-placement="top" title=""><i class="fa fa-eye"></i></button></a></td>
</tr>
<?php }
else:
?>
<tr>
<td class="small" align="center" colspan="13"><strong>No record found</strong></td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
<div class="panel-box clearfix">
<?php if (!empty($this->paginator) ) { ?>
<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>
<?php } ?>
</div>
</div>
</div>
<!-- Main Content Element End-->
</div>
</div>
<?php echo $this->render('copyrightfooter.phtml'); ?>
<!--Page main section end -->
<?php echo $this->partial('customer/edit-customer-info.phtml', array('customerDetail' =>$customerDetail ,'ARR_SALUTION' =>$this->ARR_SALUTION ,'ARR_CUSTOMER_RELATION' =>$this->ARR_CUSTOMER_RELATION, 'countryList' => $this->countryList, 'stateList' => $this->stateList));?>
<?php include_once 'application/views/scripts/newfooter.phtml';?>
<?php echo $this->render('customer/customer-todo-header.phtml'); ?>