query update

This commit is contained in:
KhatamNugraha
2024-03-19 13:43:41 +07:00
parent 35729dd584
commit 6d293f42c8
5 changed files with 86 additions and 101 deletions

View File

@ -138,14 +138,14 @@
<div class="form-group row">
<label for="inputName" class="col-sm-3 col-form-label">Start Date</label>
<div class="col-sm-9">
<input type="date" class="form-control form-control-sm " name="start_date"
<input type="text" class="form-control form-control-sm datepicker" name="start_date"
placeholder="Start Date">
</div>
</div>
<div class="form-group row">
<label for="inputName" class="col-sm-3 col-form-label">End Date</label>
<div class="col-sm-9">
<input type="date" class="form-control form-control-sm " name="due_date"
<input type="text" class="form-control form-control-sm datepicker " name="due_date"
placeholder="Due Date">
</div>
</div>
@ -274,14 +274,14 @@
<div class="form-group row">
<label for="inputName" class="col-sm-3 col-form-label">Start Date</label>
<div class="col-sm-9">
<input type="date" class="form-control form-control-sm" id="startDate" name="start_date_edit"
placeholder="DD/MM/YYYY" onfocus="this.type='date'" onblur="this.type='text'">>
<input type="text" class="form-control form-control-sm datepicker" id="startDate" name="start_date_edit"
placeholder="DD/MM/YYYY">>
</div>
</div>
<div class="form-group row">
<label for="inputName" class="col-sm-3 col-form-label">End Date</label>
<div class="col-sm-9">
<input type="date" class="form-control form-control-sm " id="dueDatae" name="due_date_edit"
<input type="text" class="form-control form-control-sm datepicker" id="dueDatae" name="due_date_edit"
placeholder="DD/MM/YYYY" onfocus="this.type='date'" onblur="this.type='text'">>
</div>
</div>
@ -318,19 +318,10 @@
<script>
$(document).ready(function() {
// $(".optionSelectCompany").on("change", function() {
// $(".optionSelectCompany").val($(".optionSelectCompany option:first").val());
// });
// $(".optionSelectLimit").on("change", function() {
// $(".optionSelectLimit").val($(".optionSelectLimit option:first").val());
// });
// $(".optionSelectRek").on("change", function() {
// $(".optionSelectRek").val($(".optionSelectRek option:first").val());
// });
$('.datepicker').flatpickr({
enableTime: !0,
dateFormat: "d-m-Y"
})
// Open the modal when the "Open Modal" button is clicked
$("#openModalBtn").click(function() {
$("#myModal").modal('show');