mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
lieferschein added multi action to set versand_status
This commit is contained in:
parent
f55f801cee
commit
a03d28ac69
@ -29,6 +29,7 @@
|
|||||||
<option value="offen">{|als offen markieren|}</option>
|
<option value="offen">{|als offen markieren|}</option>
|
||||||
<option value="versendet">{|als versendet markieren|}</option>
|
<option value="versendet">{|als versendet markieren|}</option>
|
||||||
<option value="storniert">{|als storniert markieren|}</option>
|
<option value="storniert">{|als storniert markieren|}</option>
|
||||||
|
<option value="versanduebergabe">{|in Versand geben|}</option>
|
||||||
<option value="pdf">{|Sammel-PDF|}</option>
|
<option value="pdf">{|Sammel-PDF|}</option>
|
||||||
<option value="drucken">{|drucken|}</option>
|
<option value="drucken">{|drucken|}</option>
|
||||||
</select> {|Drucker|}: <select name="seldrucker">[SELDRUCKER]</select> <input type="submit" class="btnBlue" name="ausfuehren" value="{|ausführen|}" />
|
</select> {|Drucker|}: <select name="seldrucker">[SELDRUCKER]</select> <input type="submit" class="btnBlue" name="ausfuehren" value="{|ausführen|}" />
|
||||||
|
@ -2285,6 +2285,18 @@ class Lieferschein extends GenLieferschein
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'versanduebergabe':
|
||||||
|
if(!empty($selectedIds)) {
|
||||||
|
$this->app->DB->Update(
|
||||||
|
sprintf(
|
||||||
|
"UPDATE `lieferschein`
|
||||||
|
SET `versand_status` = 1
|
||||||
|
WHERE `id` IN (%s) AND `versand_status` = 0",
|
||||||
|
implode(',' , $selectedIds)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user