Bugfixes adresse

This commit is contained in:
Xenomporio 2022-05-23 18:04:57 +02:00
parent f1c0a10017
commit bc3cbb173e
3 changed files with 6516 additions and 6508 deletions

View File

@ -4440,19 +4440,21 @@ url:strUrl, success:function(html){strReturn = html;}, async:false
$heading[$startindex]="Menü"; $heading[$startindex]="Menü";
$findcols[$startindex]="b.menu"; $findcols[$startindex]="b.menu";
if (!is_null($tmpsql)) {
$tmpsqlstring = implode(',',$tmpsql); $tmpsqlstring = implode(',',$tmpsql);
}
if($tmpsqlstring!="")$tmpsqlstring .=","; if($tmpsqlstring!="")$tmpsqlstring .=",";
} }
if (!is_null($tmp_or)) {
if(count($tmp_or)>0) if(count($tmp_or)>0)
{ {
$tmp = "AND (".implode(' or ',$tmp_or).")"; $tmp = "AND (".implode(' or ',$tmp_or).")";
} }
}
//auftrag //auftrag
if($fauftrag && $this->app->erp->RechteVorhanden('auftrag','list')){ if($fauftrag && $this->app->erp->RechteVorhanden('auftrag','list')){

View File

@ -18022,10 +18022,12 @@ function SendPaypalFromAuftrag($auftrag, $test = false)
} }
// wenn ziel formular // wenn ziel formular
//return $abkuerzung; if ($value != "") {
if($value == round($value, 2)) { //return $abkuerzung;
return number_format((float)$value,2,',',''); if($value == round($value, 2)) {
} return number_format((float)$value,2,',','');
}
}
return rtrim(str_replace('.',',',$value),'0'); return rtrim(str_replace('.',',',$value),'0');
} }

File diff suppressed because it is too large Load Diff