mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 08:52:21 +00:00
Wenn nur bezeichnung ausgefüllt ist wird nun keine Fehlermeldung mehr ausgegeben.
This commit is contained in:
@@ -188,12 +188,12 @@ class wawi_bestelldetail extends basis_db
|
||||
$this->errormsg ="Artikelnummer fehlerhaft.";
|
||||
return false;
|
||||
}
|
||||
if(!is_numeric($this->preisprove))
|
||||
if(!is_numeric($this->preisprove) && $this->preisprove != '')
|
||||
{
|
||||
$this->errormsg="Ungültiger Preis eingegeben.";
|
||||
return false;
|
||||
}
|
||||
if(!is_numeric($this->mwst) || $this->mwst == '')
|
||||
if(!is_numeric($this->mwst))
|
||||
{
|
||||
$this->errormsg="Ungültige MWSt. eingegeben.";
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user