business settings
This commit is contained in:
parent
f14b33697d
commit
f540f83516
@ -725,6 +725,20 @@ $(document).ready(function() {
|
|||||||
// Set the status field to 'Approved' before submitting
|
// Set the status field to 'Approved' before submitting
|
||||||
document.getElementById('status').value = 'Approved';
|
document.getElementById('status').value = 'Approved';
|
||||||
});
|
});
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
|
// Get the Invoice Date input element by its ID
|
||||||
|
const invoiceDateInput = document.getElementById("invoiceDate");
|
||||||
|
|
||||||
|
// Get the current date
|
||||||
|
const currentDate = new Date();
|
||||||
|
|
||||||
|
// Set the minimum date attribute to today's date (YYYY-MM-DD format)
|
||||||
|
const minDate = currentDate.toISOString().split("T")[0];
|
||||||
|
invoiceDateInput.setAttribute("min", minDate);
|
||||||
|
|
||||||
|
// Optional: Set the default value to today's date
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -132,4 +132,18 @@ function calculateToDate() {
|
|||||||
// Attach the 'calculateToDate' function to the 'from_date' input's change event
|
// Attach the 'calculateToDate' function to the 'from_date' input's change event
|
||||||
const fromDatePicker = document.getElementById('from_date');
|
const fromDatePicker = document.getElementById('from_date');
|
||||||
fromDatePicker.addEventListener('change', calculateToDate);
|
fromDatePicker.addEventListener('change', calculateToDate);
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
|
// Get the Invoice Date input element by its ID
|
||||||
|
const invoiceDateInput = document.getElementById("from_date");
|
||||||
|
|
||||||
|
// Get the current date
|
||||||
|
const currentDate = new Date();
|
||||||
|
|
||||||
|
// Set the minimum date attribute to today's date (YYYY-MM-DD format)
|
||||||
|
const minDate = currentDate.toISOString().split("T")[0];
|
||||||
|
invoiceDateInput.setAttribute("min", minDate);
|
||||||
|
|
||||||
|
// Optional: Set the default value to today's date
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@ -161,12 +161,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<li>
|
|
||||||
<a href="<?= base_url()."business_list"; ?>">
|
|
||||||
<i class="ri-briefcase-4-fill"></i>
|
|
||||||
<span> Business </span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="<?= base_url()."event_list"; ?>">
|
<a href="<?= base_url()."event_list"; ?>">
|
||||||
|
|||||||
@ -225,6 +225,7 @@
|
|||||||
<span class="pro-user-name ml-1"><?= $loggedin_person; ?><i class="mdi mdi-chevron-down"></i>
|
<span class="pro-user-name ml-1"><?= $loggedin_person; ?><i class="mdi mdi-chevron-down"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="dropdown-menu dropdown-menu-right profile-dropdown ">
|
<div class="dropdown-menu dropdown-menu-right profile-dropdown ">
|
||||||
<!-- item-->
|
<!-- item-->
|
||||||
<div class="dropdown-header noti-title">
|
<div class="dropdown-header noti-title">
|
||||||
@ -236,6 +237,12 @@
|
|||||||
<i class="ri-account-circle-line"></i>
|
<i class="ri-account-circle-line"></i>
|
||||||
<span>My Account</span>
|
<span>My Account</span>
|
||||||
</a>
|
</a>
|
||||||
|
<a href="<?= base_url()."business_list"; ?>"class="dropdown-item notify-item">
|
||||||
|
<i class="ri-briefcase-4-fill"></i>
|
||||||
|
<span> Business Setting </span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- item-->
|
<!-- item-->
|
||||||
<!-- <a href="javascript:void(0);" class="dropdown-item notify-item">
|
<!-- <a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||||
@ -259,6 +266,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li class="dropdown notification-list">
|
<li class="dropdown notification-list">
|
||||||
<a href="javascript:void(0);" class="nav-link right-bar-toggle waves-effect waves-light">
|
<a href="javascript:void(0);" class="nav-link right-bar-toggle waves-effect waves-light">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user