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
|
||||
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>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -132,4 +132,18 @@ function calculateToDate() {
|
||||
// Attach the 'calculateToDate' function to the 'from_date' input's change event
|
||||
const fromDatePicker = document.getElementById('from_date');
|
||||
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>
|
||||
@ -161,12 +161,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li>
|
||||
<a href="<?= base_url()."business_list"; ?>">
|
||||
<i class="ri-briefcase-4-fill"></i>
|
||||
<span> Business </span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<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>
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-right profile-dropdown ">
|
||||
<!-- item-->
|
||||
<div class="dropdown-header noti-title">
|
||||
@ -236,6 +237,12 @@
|
||||
<i class="ri-account-circle-line"></i>
|
||||
<span>My Account</span>
|
||||
</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-->
|
||||
<!-- <a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
@ -259,6 +266,7 @@
|
||||
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="dropdown notification-list">
|
||||
<a href="javascript:void(0);" class="nav-link right-bar-toggle waves-effect waves-light">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user