mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms: fix nationality error in precheckin portal
This commit is contained in:
committed by
Darío Lodeiros
parent
b6b0e72faf
commit
7f3747e0aa
@@ -601,19 +601,6 @@
|
||||
}
|
||||
|
||||
|
||||
let select_country = document.getElementById('country')
|
||||
|
||||
select_country.addEventListener("change", () => {
|
||||
let country_value = select_country.value
|
||||
Array.from(document.getElementById('state').options).forEach(element => {
|
||||
if (element.getAttribute('country_id') == country_value ) {
|
||||
element.style="";
|
||||
} else {
|
||||
element.style="display:none";
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
var select_doc_type = document.getElementById("doc_type")
|
||||
var document_type_value = document.getElementById("docTypeId").textContent
|
||||
for (let i=0;i<select_doc_type.length;i++){
|
||||
|
||||
Reference in New Issue
Block a user