@ -1,12 +1,9 @@
<!DOCTYPE html>
< html lang = "en" dir = "" >
< html lang = "en" xmlns:th = "http://www.thymeleaf.org " >
< meta charset = "UTF-8" >
< html xmlns:th = "http://www.thymeleaf.org" >
< head th:replace = "~{fragments/modules/base/head :: head}" > < / head >
< body >
<!-- [if lt IE 8]>
< p class = "browserupgrade" > You are using an < strong > outdated< / strong > browser. Please < a href = "http://browsehappy.com/" > upgrade your browser< / a > to improve your experience.< / p >
<![endif]-->
< div class = "wrapper" >
<!-- header top menu Start -->
@ -33,9 +30,8 @@
< div class = "col-lg-4" >
< nav class = "breadcrumb-container" aria-label = "breadcrumb" >
< ol class = "breadcrumb" >
< li class = "breadcrumb-item" >
< a href = "/index" > < i class = "ik ik-home" > < / i > < / a >
< / li >
< li class = "breadcrumb-item" > < a href = "/index" > < i
class="ik ik-home">< / i > < / a > < / li >
< li class = "breadcrumb-item" > PGR Complaints< / li >
< li class = "breadcrumb-item" > QA/QC Reports< / li >
< / ol >
@ -54,38 +50,47 @@
< div class = "row" >
< div class = "col" >
< label for = "fromDate" class = "" > From Date< / label >
< input type = "date" class = "form-control" id = "fromDate" name = "sFrDate" th:value = "${sFrDate}" data-date-format = "dd/mm/yy" required >
< label for = "fromDate" class = "" > From Date< / label > < input
type="date" class="form-control" id="fromDate"
name="sFrDate" th:value="${sFrDate}"
data-date-format="dd/mm/yy" required>
< / div >
< div class = "col" >
< label for = "toDate" class = "" > To Date< / label >
< input type = "date" class = "form-control" id = "toDate" name = "sToDate" th:value = "${sToDate}" data-date-format = "dd/mm/yy" required >
< label for = "toDate" class = "" > To Date< / label > < input
type="date" class="form-control" id="toDate" name="sToDate"
th:value="${sToDate}" data-date-format="dd/mm/yy" required>
< / div >
< div class = "col" >
< br >
< button type = "submit" class = "btn btn-sm btn-primary btn-lg float-right" > Search< / button >
< div class = "col-md-3"
style="display: flex; justify-content: space-between; align-items: center; margin-top: 25px;">
< button type = "submit" style = "width: 100%; height: auto;"
class=" btn btn-sm btn-primary btn-l">search< / button >
< / div >
< / div >
< / form >
< br >
< div >
< table id = "assetDatatable" class = "table table-striped table-bordered table-hover dataTable" role = "grid" width = "100%" >
< table id = "assetDatatable"
class="table table-striped table-bordered table-hover dataTable"
role="grid" width="100%">
< thead class = "thead-dark" >
< tr role = "row" >
< th class = "text-center no-sort" width = "1%" > S.No< / th >
< th class = "text-center" width = "10%" > Complaint Number< / th >
< th class = "text-center" width = "10%" > Department< / th >
< th class = "text-center" width = "10%" > Complaint Type Name< / th >
< th class = "text-center" width = "10%" > Complaint Type
Name< / th >
< th class = "text-center" width = "10%" > Complaint Date< / th >
< th class = "text-center" width = "10%" > Time< / th >
< th class = "text-center" width = "10%" > Complaint Details< / th >
< th class = "text-center" width = "10%" > Complaint Name< / th >
< th class = "text-center" width = "10%" > Complaint Mobile Number< / th >
< th class = "text-center" width = "10%" > Complaint Mobile
Number< / th >
< th class = "text-center" width = "10%" > Official Name< / th >
< th class = "text-center" width = "10%" > Official Mobile Number< / th >
< th class = "text-center" width = "10%" > Official Mobile
Number< / th >
< th class = "text-center" width = "10%" > Completion Date< / th >
< th class = "text-center" width = "10%" > Status< / th >
< / tr >
@ -220,23 +225,12 @@
}
function getReport(){
alert("Hello Developers ")
alert("Wait for response to load data... ")
let sFrDate = document.getElementById("fromdate").value;
let sToDate = document.getElementById("todate").value;
/* let toDate = new Date(sToDate);
// Add one day to the toDate
toDate.setDate(toDate.getDate() + 1);
let modifiedToDate = toDate.toISOString().split('T')[0]; */
window.location.href='/qaqc?sFrDate='+sFrDate+'&sToDate='+sToDate;
}