sifatbaho

This commit is contained in:
2026-04-05 05:31:24 +05:00
commit df3d57f503
2609 changed files with 369825 additions and 0 deletions

22
resources/js/pages/orders/create.js vendored Executable file
View File

@@ -0,0 +1,22 @@
let handleCustomerClick = function (element) {
var customerBlock = document.getElementById("customer-block");
var customerCompanyBlock = document.getElementById("customer-company-block");
if (element === 'physical') {
customerBlock.classList.remove('d-none');
customerCompanyBlock.classList.add('d-none');
} else {
customerBlock.classList.add('d-none');
customerCompanyBlock.classList.remove('d-none');
}
}
let handleOwnerClick = function (element) {
var ownerBlock = document.getElementById("owner-block");
var ownerCompanyBlock = document.getElementById("owner-company-block");
if (element === 'physical') {
ownerBlock.classList.remove('d-none');
ownerCompanyBlock.classList.add('d-none');
} else {
ownerBlock.classList.add('d-none');
ownerCompanyBlock.classList.remove('d-none');
}
}