Merge branch 'master' into feature/Anrechnungen_NEU

This commit is contained in:
Andreas Österreicher
2021-09-03 11:08:29 +02:00
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -373,7 +373,7 @@ class coodle extends basis_db
WHERE
(uid =".$this->db_add_param($uid, FHC_STRING, false)."
OR ersteller_uid =".$this->db_add_param($uid, FHC_STRING, false).")
AND endedatum >= CURRENT_DATE - interval '20 days';";
AND endedatum >= CURRENT_DATE - interval '90 days';";
if(!$this->db_query($qry))
{
+1 -1
View File
@@ -164,7 +164,7 @@ class konto extends basis_db
return false;
}
if(!is_numeric($this->mahnspanne))
if($this->mahnspanne!='' && !is_numeric($this->mahnspanne))
{
$this->errormsg = "Die Mahnspanne muss eine gueltige Zahl sein";
return false;
+1 -1
View File
@@ -276,7 +276,7 @@ class person extends basis_db
$erg += $gewichtung[$i] * $this->svnr{$i};
}
if ($this->svnr{3} != ($erg % 11)) //Vergleichen der Pruefziffer mit Quersumme Modulo 11
if ($this->svnr[3] != ($erg % 11)) //Vergleichen der Pruefziffer mit Quersumme Modulo 11
{
$this->errormsg = 'SVNR ist ungueltig';
return false;