| 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/Quotation/ |
Upload File : |
<?php $path = '../'; ?>
<?php $page="Quotation"; ?>
<?php $page_title="Add Quotation"; ?>
<?php include("../include/class.php"); ?>
<?php include($path."include/head.php"); ?>
<?php
function getDocumentStatusText($id=1){
$obj = array("Pending", "Waiting Paid", "Paid");
return $obj[$id -1];
}
?>
<?php //include("script.php"); ?>
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
<!-- Sidebar -->
<?php include($path."themes/menu-left.php"); ?>
<!-- End of Sidebar -->
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">
<!-- Topbar -->
<?php include($path."themes/menu-top.php"); ?>
<!-- End of Topbar -->
<!-- Begin Page Content -->
<div class="container-fluid main-content">
<input type="hidden" id="page-menu-id" name="" value="#menu_case" />
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">เพิ่ม Quotation</h1>
</div>
<?php if(@$_SESSION['Error']!=''){ /* @if (!Html.ViewData.ModelState.IsValid)*/ ?>
<div class="alert alert-danger">
Error ! ไม่สามารถทำการบันทึกข้อมูลได้
</div>
<?php } ?>
<?php if(@$_SESSION['Success']!=''){ ?>
<div class="alert alert-success">
<?php echo @$_SESSION['Success']; ?>
</div>
<?php } ?>
<?php if(@$_SESSION['Error']!=''){ ?>
<div class="alert alert-danger">
<?php echo @$_SESSION['Error']; ?>
</div>
<?php } ?>
<form class="" action="Create.php" method="post" enctype="multipart/form-data" id="quotation-form">
<?php include('form.php'); ?>
<br />
<br />
<button class="btn btn-primary btn-icon-split">
<span class="icon text-white-50">
<i class="far fa-save"></i>
</span>
<span class="text">Save</span>
</button>
<a href="index.php" class="btn btn-secondary btn-icon-split">
<span class="icon text-white-50">
<i class="fas fa-arrow-left"></i>
</span>
<span class="text">Back</span>
</a>
</form>
<script src="<?php echo $path; ?>/Scripts/jquery.validate.min.js"></script>
<link href="<?php echo $path; ?>/Assets/Backend/vendor/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet" />
<script src="<?php echo $path; ?>/Assets/Backend/vendor/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
<script src="<?php echo $path; ?>/Assets/Backend/vendor/moment.js"></script>
<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>
$('.input-group.date').datepicker({
format: "dd/mm/yyyy",
todayHighlight: true
}).on('hide', function (e) {
e.stopPropagation();
});
var urlLoadCustomerAuto = "LoadCustomerAutoComplete.php";//"@Url.Action("LoadCustomerAutoComplete","Customer")";
var urlLoadCustomer = "LoadCustomer.php";//"@Url.Action("LoadCustomer","Customer")";
var urlLoadCaseType = "LoadCaseTypeByCountry.php"//"@Url.Action("LoadCaseTypeByCountry","CaseList")";
</script>
<script src="<?php echo $path; ?>/Scripts/pages_v1/quotation.js?t=<?php echo $date_ticks; ?>"></script>
<!-- End of Page Content -->
<!-- Footer -->
<footer class="sticky-footer bg-white">
<div class="container my-auto">
<div class="copyright text-center my-auto">
<span>Copyright © ILAW CO., LTD.</span>
</div>
</div>
</footer>
<!-- End of Footer -->
</div>
<!--End of Content Wrapper -->
</div>
<!-- End of Page Wrapper -->
<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
<?php include($path."include/footer_js.php"); ?>
<?php unset($_SESSION['Success']); ?>
<?php unset($_SESSION['er']); ?>
<?php unset($_SESSION['Error']); ?>
</body>
</html>