<tr><td>Test</td><td><input type="checkbox" name="test" value="1">ja</td></tr>
<tr><td>Textupdate</td><td><input type="checkbox" name="TextUpd" value="1">ja</td></tr>
<tr><td>Warengruppen<br>verbinder</td><td><input type="text" name="wgtrenner" value="!" size="3"></td></tr>
-<tr><td>Shopartikel</td><td><input type="radio" name="shop" value="t">ja <input type="radio" name="shop" value="f" checked>nein</td></tr>
+<tr><td>Shopartikel,<br>falls Feld leer</td><td><input type="radio" name="shop" value="t">ja <input type="radio" name="shop" value="f" checked>nein</td></tr>
<tr><td>Art</td><td><input type="Radio" name="ware" value="W" checked>Ware
<input type="Radio" name="ware" value="D">Dienstleistung
<input type="Radio" name="ware" value="G">gemischt (Spalte 'art' vorhanden)</td></tr>
show($data["buchungsgruppen_id"]);show($data["income_accno"]); show($data["expense_accno"]);
show($data["inventory_accno"]); show($data["microfiche"]); show($data["drawing"]);
show($data["rop"]); show($data["assembly"]); show($data["makemodel"]);
+ show($data["shop"]);
}
/*foreach ($data as $key=>$val) {
echo $key.":".gettype($val).":".gettype($data[$key]).":".$val."<br>";
show("weight"); show("image"); show("partsgroup_id");
show("bg"); show("income_accno"); show("expense_accno");
show("inventory_accno"); show("microfiche");show("drawing");show("rop");
- show("assembly");show("makemodel"); show("");
+ show("assembly");show("makemodel");show("shop"); show("");
show("</tr>\n",false);
}
if ($zeile[$fldpos["rop"]]) $rop = 1 * str_replace(",", ".",$zeile[$fldpos["rop"]]);
if ($zeile[$fldpos["weight"]]) $weight = 1 * str_replace(",", ".", $zeile[$fldpos["weight"]]);
+ // Shop-Artikel
+ if ($zeile[$fldpos["shop"]]) {
+ $shop = ($zeile[$fldpos["shop"]] > 0)?'t':'f';
+ } else {
+ $shop = $maske["shop"];
+ }
+
+ // Artikel updaten
if (getPartsid($db,trim($zeile[$fldpos["partnumber"]]))) {
/* es gibt die Artikelnummer */
if ($Update) {