finished alignment in view igr -vadivel J
This commit is contained in:
parent
8af23ede12
commit
7b6d45f25c
@ -306,9 +306,7 @@
|
|||||||
[10, 20, 30, 50, "All"]
|
[10, 20, 30, 50, "All"]
|
||||||
], // Rows per page options
|
], // Rows per page options
|
||||||
responsive: true, // Responsive table
|
responsive: true, // Responsive table
|
||||||
order: [
|
order: false,
|
||||||
[0, 'desc']
|
|
||||||
],
|
|
||||||
language: {
|
language: {
|
||||||
paginate: {
|
paginate: {
|
||||||
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||||
@ -489,3 +487,23 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#fromDate , #toDate').change(function() {
|
||||||
|
|
||||||
|
let fromDate = $('#fromDate').val();
|
||||||
|
let toDate = $('#toDate').val();
|
||||||
|
|
||||||
|
let fromDateObj = new Date(fromDate.split('-').reverse().join('-'));
|
||||||
|
let toDateObj = new Date(toDate.split('-').reverse().join('-'));
|
||||||
|
if (fromDateObj > toDateObj) {
|
||||||
|
alert('Incorrect Date Applied For Filter..!!');
|
||||||
|
$('#toDate').attr('min', fromDate);
|
||||||
|
$('#toDate').val('');
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
@ -455,8 +455,12 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="existingContainer"></div>
|
<div class="form-row">
|
||||||
<div id="filesContainer"></div>
|
<div class="col-md-12" id="existingContainer"></div>
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="col-md-12" id="filesContainer"></div>
|
||||||
|
</div>
|
||||||
</div><br>
|
</div><br>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@ -1542,7 +1546,7 @@
|
|||||||
var billNo = data != null && data != '' ? data.BillNo : '';
|
var billNo = data != null && data != '' ? data.BillNo : '';
|
||||||
var downloadUrl = `${base_url}public/uploads/Igrfiles/${filePath}`;
|
var downloadUrl = `${base_url}public/uploads/Igrfiles/${filePath}`;
|
||||||
|
|
||||||
var newRowHtml = `<div class="col-md-12 pad ">
|
var newRowHtml = `<div class="form-row mt-2 ">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<span>File Name</span>
|
<span>File Name</span>
|
||||||
<input type="text" maxlength="255" class="form-control"
|
<input type="text" maxlength="255" class="form-control"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user