AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.32   [ Reverse IP ]
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/Report/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/ilawasia.onnud20.com/Report/QuotationRetainerSummary.js
var urlLoadCustomer = "LoadCustomerAutoComplete.php";

$(document).ready(function ($) {
  if ($("#customer-filter").length > 0) {
    var customerInput = $("#customer-filter");
    var autocompCustomer = customerInput.autocomplete({
       source: function (request, response) {
           $.getJSON(urlLoadCustomer, {
               Keyword: customerInput.val()
           }, response);
       },
       select: function (event, ui) {
           customerInput.val(ui.item.custCode + '-' + ui.item.custName);
           $("#hd-customer-id").val(ui.item.custId);
           return false;
       }
    }).change(function (e) {
       if (e.target.value == "") { $("#hd-customer-id").val(''); }
    });
    autocompCustomer.autocomplete("instance")._renderItem = function (ul, item) {

       return $("<li>").append(item.custCode + '-' + item.custName).appendTo(ul);
    };
  }

    var dateAuto = moment();
    var dateAuto_m = dateAuto.format('DD/MM/YYYY');
    var dateAuto_m2 =  moment(dateAuto, "DD/MM/YYYY").add(1, 'days');
    $('#start-date').val(dateAuto_m);
    $('#end-date').val(dateAuto_m2.format('DD/MM/YYYY'));

    $('#start-date').datepicker({ format: "dd/mm/yyyy",  });

    $('#end-date').datepicker({   format: "dd/mm/yyyy",  });



    $('#start-date').datepicker().on("changeDate", function () {
       var startDate = $('#start-date').datepicker('getDate');
       var oneDayFromStartDate = moment(startDate).add(1, 'days').toDate();
       $('#end-date').datepicker('setStartDate', oneDayFromStartDate);

    });

    $('#end-date').datepicker().on("show", function () {
       var startDate = $('#start-date').datepicker('getDate');
       $('.day.disabled').filter(function (index) {
           return $(this).text() === moment(startDate).format('D');
       }).addClass('active');
    });
});
/*
function ExportExcel() {
   var objForm = $("#form-report").serializeFormJSON();
   window.open("@Url.Action("ReceivedPaymentExcel")?" + $.param(objForm), "new");
}
*/
function ExportPdf() {
   var objForm = $("#form-report").serializeFormJSON();
   //window.open("@Url.Action("QuotationRetainerSummaryPdf")?" + $.param(objForm), "new");
   window.open("QuotationRetainerSummaryPdf.php?" + $.param(objForm), "new");
}

Anon7 - 2022
AnonSec Team