| Server IP : 104.21.37.246 / Your IP : 104.23.243.32 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home2/cp648411/public_html/ilawasia.onnud20.com/themes_v1/ |
Upload File : |
<?php
$PageSize = 10;
$PageNumber = 1;
if(isset($_GET['PageNumber'])){$PageNumber = $_GET['PageNumber'];}
$arrayName = array(
'Keyword' => @$_GET['Keyword'],
'CaseTypeId' => @$_GET['CaseTypeId'],
'PageNumber' => @$_GET['PageNumber'],
'page' => @$PageNumber,
'OrderBy' => 'QuotationId',
'OrderDirection' => 'DESC',
'PageSize' => @$PageSize,
);
//$arrayName = $quotation_db->LoadQuotationList($arrayName);
//print_r($arrayName);
?>
<link href="<?php echo $path; ?>Assets/Backend/vendor/jquery-ui/jquery-ui.min.css" rel="stylesheet" />
<script src="<?php echo $path; ?>Assets/Backend/vendor/jquery-ui/jquery-ui.min.js"></script>
<script>
$(document).ready(function () {
$("li.page-item a").addClass("page-link");
});
//var CustGET = '<?php ///echo $CustGET; ?>';
var urlLoadCustomerAuto = "LoadCustomerAutoComplete.php";
var urlLoadQuotationList = "LoadQuotationList.php";
var urlEdit = "edit.php";
var urlDelete = "Delete.php";
</script>
<script src="<?php echo $path; ?>Scripts/pages_v1/quotation.js?v=<?=time()?>"></script>
<input type="hidden" id="page-menu-id" name="" value="#menu_customer" />
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Case > Quotation List</h1>
</div>
<?php if(@$_SESSION['Success']!=''){ ?>
<div class="alert alert-success">
<?php echo @$_SESSION['Success']; ?>
</div>
<?php } ?>
<form action="index.php" method="get">
<div class="row">
<div class="col-md-2">
Quotation No.:
</div>
<div class="col-md-2">
<input class="form-control" name="QuotationNumber" value="<?php echo @$_GET['QuotationNumber']; ?>" />
</div>
<div class="col-md-1">
Customer:
</div>
<div class="col-md-3">
<input type="text" class="form-control" id="customer-filter" name="CustomerName" value="<?php echo @$_GET['CustomerName']; ?>" autocomplete="off" />
<input type="hidden" value="<?php echo (@$_GET['CustomerId'] > 0)?@$_GET['CustomerId']:""; ?>" name="CustomerId" id="hd-customer-id" />
</div>
</div>
<div class="row col-md-12"> </div>
<div class="row">
<div class="col-md-12 text-right">
<button class="btn btn-success"><i class="fa fa-search"></i> Search</button>
</div>
</div>
</form>
<div class="row col-md-12"> </div>
<p>
<a class="btn btn-danger" href="add.php"><i class="fas fa-plus-square"></i> เพิ่มรายการ</a>
</p>
<div id="quotation_pagination" style="position:relative;">
<div class="table-loader text-center" style="display:none;">
<div class="overlay">
<i class="fas fa-3x fa-spinner fa-pulse"></i>
</div>
</div>
<table class="table table-hover table-bordered ">
<thead>
<tr>
<th><a href="javascript:;" onclick="sortTable('#quotation_pagination',this,'loadQuotationList')" data-by="QuotationNo" data-direction="" class="order sorting">Quotation No.</a></th>
<th><a href="javascript:;" onclick="sortTable('#quotation_pagination',this,'loadQuotationList')" data-by="CustomerCode" data-direction="" class="order sorting">Customer No.</a></th>
<th><a href="javascript:;" onclick="sortTable('#quotation_pagination',this,'loadQuotationList')" data-by="CustomerName" data-direction="" class="order sorting">Customer Name</a></th>
<!--<th>Contact Person</th>-->
<th>Country</th>
<th>InvoiceId</th>
<th>Status</th>
<th>Budget/Paid</th>
<th style="width:173px;">-</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<br /><br />
<div class="supplierPager">
<div class="row">
<div class="col-md-6">
<input type="hidden" class="page" value="<?php echo @$PageNumber; ?>" />
<input type="hidden" class="page-size" value="<?php echo @$PageSize; ?>" />
<input type="hidden" class="numrows" value="0" />
<input type="hidden" class="orderBy" value="QuotationId" />
<input type="hidden" class="orderDirection" value="DESC" />
<input type="hidden" class="params" value="CustomerCode=<?php echo @$_GET['CustomerCode']; ?>&CustomerId=<?php echo @$_GET['CustomerId']; ?>&QuotationType=<?php echo @$_GET['QuotationType']; ?>&Status=<?php echo @$_GET['Status']; ?>&QuotationNumber=<?php echo @$_GET['QuotationNumber']; ?>" />
แสดงรายการ <span class="start-record"></span> ถึง <span class="end-record"></span> จากทั้งหมด <span class="total-record"></span> รายการ
</div>
<div class="col-md-6 text-right pagination-zone">
</div>
</div>
</div>
</div>