Feature/warehouse improve 2

This commit is contained in:
Luca Haid
2024-12-10 14:41:20 +00:00
parent 8bd8ed8619
commit 9fb8758ac4

View File

@@ -393,7 +393,12 @@ class WarehouseEShopOrderController extends TTCrud {
die(json_encode($json));
}
protected function beforeCreate(): bool {
unset($this->postData['shippingNoteStatus']);
return true;
}
protected function beforeUpdate($postData): bool {
unset($this->postData['shippingNoteStatus']);
(new WarehouseHistoryController)->create($postData, $this->mod);
return true;
}