Umzugsvergütung abgenommen
This commit is contained in:
parent
8538c234f7
commit
0e9b3b507a
@ -816,11 +816,11 @@ oPopupBody.style.border = \"solid blue 1px\";
|
||||
ergebnis_umzug(pos);
|
||||
}
|
||||
function ergebnis_umzug(pos){
|
||||
|
||||
// Vergütung wenn, Entfernung:ja, Ledig:ja, Hausstand:nein
|
||||
var entfernung_ja = document.getElementById('entfernung'+pos+'_ja').checked
|
||||
var ledig_ja = document.getElementById('ledig'+pos+'_ja').checked
|
||||
var hausstand_ja = document.getElementById('hausstand'+pos+'_ja').checked
|
||||
if(entfernung_ja && ledig_ja && hausstand_ja){
|
||||
var hausstand_nein = document.getElementById('hausstand'+pos+'_nein').checked
|
||||
if(entfernung_ja && ledig_ja && hausstand_nein){
|
||||
document.getElementById('msg'+pos).innerHTML = \"<font color='green'><b>Ergebnis: Umzugsvergütung genehmigt</b></font>\";
|
||||
}else{
|
||||
document.getElementById('msg'+pos).innerHTML = \"<font color='red'><b>Ergebnis: Umzugsvergütung nicht genehmigt</b></font>\";
|
||||
@ -4298,7 +4298,7 @@ if(isset($_POST['hausstand'.$i])){
|
||||
$hausstand = 'N';
|
||||
}
|
||||
|
||||
if($entfernung == 'J' AND $ledig == 'J' AND $hausstand == 'J'){
|
||||
if($entfernung == 'J' AND $ledig == 'J' AND $hausstand == 'N'){
|
||||
$umzugsverg = 'J';
|
||||
}else{
|
||||
$umzugsverg = 'N';
|
||||
|
@ -670,8 +670,8 @@ oPopupBody.style.border = \"solid blue 1px\";
|
||||
|
||||
var entfernung_ja = document.getElementById('entfernung'+pos+'_ja').checked
|
||||
var ledig_ja = document.getElementById('ledig'+pos+'_ja').checked
|
||||
var hausstand_ja = document.getElementById('hausstand'+pos+'_ja').checked
|
||||
if(entfernung_ja && ledig_ja && hausstand_ja){
|
||||
var hausstand_nein = document.getElementById('hausstand'+pos+'_nein').checked
|
||||
if(entfernung_ja && ledig_ja && hausstand_nein){
|
||||
document.getElementById('msg'+pos).innerHTML = \"<font color='green'><b>Ergebnis: Umzugsvergütung genehmigt</b></font>\";
|
||||
}else{
|
||||
document.getElementById('msg'+pos).innerHTML = \"<font color='red'><b>Ergebnis: Umzugsvergütung nicht genehmigt</b></font>\";
|
||||
@ -4142,7 +4142,7 @@ if(isset($_POST['hausstand'.$i])){
|
||||
$hausstand = 'N';
|
||||
}
|
||||
|
||||
if($entfernung == 'J' AND $ledig == 'J' AND $hausstand == 'J'){
|
||||
if($entfernung == 'J' AND $ledig == 'J' AND $hausstand == 'N'){
|
||||
$umzugsverg = 'J';
|
||||
}else{
|
||||
$umzugsverg = 'N';
|
||||
|
Loading…
x
Reference in New Issue
Block a user