Feature/add e shop
This commit is contained in:
@@ -51,6 +51,15 @@ class WarehouseArticlePriceTypeController extends TTCrud {
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function afterUpdate($postData) {
|
||||
WarehouseArticleController::updateCheapestPurchasePrice($postData['articleId']);
|
||||
}
|
||||
|
||||
protected function afterCreate($postData) {
|
||||
//TODO: fix this
|
||||
WarehouseArticleController::updateCheapestPurchasePrice($postData['articleId']);
|
||||
}
|
||||
|
||||
protected function getHistoryAction() {
|
||||
$history = WarehouseHistoryModel::getByRowId($this->request->id, $this->mod);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user