Feature/warehouse improve 2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user