Merge branch 'feature/warehouse-improve-2' into 'master'
Feature/warehouse improve 2 See merge request fronk/thetool!803
This commit is contained in:
@@ -393,7 +393,12 @@ class WarehouseEShopOrderController extends TTCrud {
|
|||||||
die(json_encode($json));
|
die(json_encode($json));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function beforeCreate(): bool {
|
||||||
|
unset($this->postData['shippingNoteStatus']);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
protected function beforeUpdate($postData): bool {
|
protected function beforeUpdate($postData): bool {
|
||||||
|
unset($this->postData['shippingNoteStatus']);
|
||||||
(new WarehouseHistoryController)->create($postData, $this->mod);
|
(new WarehouseHistoryController)->create($postData, $this->mod);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user