mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-12 06:41:14 +01:00
lieferschein umlagern repeat
This commit is contained in:
parent
a6f742ccc0
commit
8b9969176c
@ -19,6 +19,7 @@
|
|||||||
<tr><td><b>{|Ziellager|}:</b></td><td><input type="text" id="ziellager" name="ziellager" value="[ZIELLAGER]" size="27" style="width:200px"></td></tr>
|
<tr><td><b>{|Ziellager|}:</b></td><td><input type="text" id="ziellager" name="ziellager" value="[ZIELLAGER]" size="27" style="width:200px"></td></tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
<p [ERNEUT_UMLAGERN_HIDDEN]><input type="checkbox" name="erneut" id="erneut" value="1" size="20" [ERNEUT_CHECKED]>{|Erneut umlagern|}</input></p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button name="submit" value="umlagern" class="ui-button-icon" style="width:200px;">
|
<button name="submit" value="umlagern" class="ui-button-icon" style="width:200px;">
|
||||||
|
@ -478,9 +478,13 @@ class Lieferschein extends GenLieferschein
|
|||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($umgelagert) {
|
$submit = $this->app->Secure->GetPOST('submit');
|
||||||
$this->app->Tpl->AddMessage('error',"Lieferschein wurde bereits umgelagert.");
|
$erneut = $this->app->Secure->GetPOST('erneut');
|
||||||
|
|
||||||
|
if ($umgelagert && !$erneut) {
|
||||||
|
$this->app->Tpl->AddMessage('warning',"Lieferschein wurde bereits umgelagert.");
|
||||||
} else {
|
} else {
|
||||||
|
$this->app->Tpl->Set('ERNEUT_UMLAGERN_HIDDEN','hidden');
|
||||||
$submit = $this->app->Secure->GetPOST('submit');
|
$submit = $this->app->Secure->GetPOST('submit');
|
||||||
if ($submit == 'umlagern') {
|
if ($submit == 'umlagern') {
|
||||||
|
|
||||||
@ -545,6 +549,8 @@ class Lieferschein extends GenLieferschein
|
|||||||
|
|
||||||
$this->app->Tpl->Set('ZIELLAGER',$this->app->erp->ReplaceLagerPlatz(false, $ziellager_id, false));
|
$this->app->Tpl->Set('ZIELLAGER',$this->app->erp->ReplaceLagerPlatz(false, $ziellager_id, false));
|
||||||
|
|
||||||
|
$this->app->Tpl->Set('ERNEUT_CHECKED',$erneut?'checked':'');
|
||||||
|
|
||||||
$this->app->Tpl->Parse('PAGE',"lieferschein_umlagern.tpl");
|
$this->app->Tpl->Parse('PAGE',"lieferschein_umlagern.tpl");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user