mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
Bugfix bestellung
This commit is contained in:
parent
0862515799
commit
d2862cb130
@ -1555,6 +1555,7 @@ function processData( xmlHttp, intID )
|
||||
render=1;
|
||||
document.getElementById("artikel").value=trim(mySplitResult[0]);
|
||||
document.getElementById("nummer").value=mySplitResult[1];
|
||||
|
||||
if(mySplitResult[1]=="") {
|
||||
alert('In der Schnelleingabe können nur Artikel aus den Stammdaten eingefügt werden. Klicken Sie auf Artikel manuell suchen / neu anlegen.');
|
||||
} else {
|
||||
|
@ -3489,7 +3489,7 @@ class Artikel extends GenArtikel {
|
||||
}
|
||||
} else {
|
||||
$commandline = $id;
|
||||
$tmp_id = explode(' ',$commandline);
|
||||
$tmp_id = explode(',',$commandline);
|
||||
$tmp_id = $tmp_id[0];
|
||||
// $id = substr($id,0,6);
|
||||
if($tmp_id!='')
|
||||
@ -3511,8 +3511,10 @@ class Artikel extends GenArtikel {
|
||||
} else {
|
||||
$this->app->ExitXentral();
|
||||
}
|
||||
|
||||
$id = $this->app->DB->Select("SELECT id FROM artikel WHERE nummer='$id' AND geloescht!=1 AND intern_gesperrt!=1 LIMIT 1");
|
||||
}
|
||||
|
||||
if(!is_numeric($id))
|
||||
{
|
||||
echo '#*##*##*##*##*##*##*#';
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -271,7 +271,11 @@ function fillArtikelBestellung(id,menge)
|
||||
id = tmp[0];
|
||||
|
||||
strSource = "./index.php";
|
||||
id = $.base64Encode( id);
|
||||
|
||||
// Force string type
|
||||
id = ""+id;
|
||||
id = $.base64Encode(id);
|
||||
|
||||
strData = "module=artikel&action=ajaxwerte&id="+id+"&smodule=[MODULE]&sid=[KID]&menge="+menge+"&vpe="+vpe;
|
||||
intType= 0; //GET
|
||||
intID = 0;
|
||||
@ -302,7 +306,10 @@ function fillArtikelProduktion(id,menge)
|
||||
|
||||
strSource = "./index.php";
|
||||
|
||||
id = $.base64Encode( id);
|
||||
// Force string type
|
||||
id = ""+id;
|
||||
id = $.base64Encode(id);
|
||||
|
||||
strData = "module=artikel&action=ajaxwerte&id="+id+"&smodule=[MODULE]&sid=[KID]&menge="+menge;
|
||||
intType= 0; //GET
|
||||
intID = 0;
|
||||
@ -343,7 +350,11 @@ function fillArtikelInventur(id,menge)
|
||||
id = tmp[0];
|
||||
|
||||
strSource = "./index.php";
|
||||
id = $.base64Encode( id);
|
||||
|
||||
// Force string type
|
||||
id = ""+id;
|
||||
id = $.base64Encode(id);
|
||||
|
||||
strData = "module=artikel&action=ajaxwerte&id="+id+"&smodule=[MODULE]&sid=[KID]&menge="+menge;
|
||||
intType= 0; //GET
|
||||
intID = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user