From a858cedbba3c40d3a171d10856052217395d712e Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Thu, 7 Apr 2016 18:35:33 +0200 Subject: [PATCH] add inventory fix --- backend/models/InventoryItemForm.php | 2 +- changelog.txt | 2 ++ common/components/DetStatProcessor.php | 2 +- common/config/params.php | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/models/InventoryItemForm.php b/backend/models/InventoryItemForm.php index 48a1a68..00816d2 100644 --- a/backend/models/InventoryItemForm.php +++ b/backend/models/InventoryItemForm.php @@ -129,7 +129,7 @@ class InventoryItemForm extends Model{ $item->id_inventory = $this->inventory->id_inventory; - $model->recalculateTotalPriceBrutto(); + $item->recalculateTotalPriceBrutto(); if ( !$item->save(false) ){ diff --git a/changelog.txt b/changelog.txt index e328103..c7f3141 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,5 @@ +-0.0.59 + - add inventory fix -0.0.58 - add inventory purchase and total purchase price - rename procurement purchase diff --git a/common/components/DetStatProcessor.php b/common/components/DetStatProcessor.php index 3c0bc5b..47a2f70 100644 --- a/common/components/DetStatProcessor.php +++ b/common/components/DetStatProcessor.php @@ -97,9 +97,9 @@ class DetStatProcessor extends Object{ // $tetel->visszajelzesInformacio = "02"; // $this->detstatUzenet->tetelek[] = $tetel; - */ $lab = new GiroDETSTALab(); $this->detstatUzenet->lab = $lab; + */ } diff --git a/common/config/params.php b/common/config/params.php index acf31c4..00eb1b8 100644 --- a/common/config/params.php +++ b/common/config/params.php @@ -4,7 +4,7 @@ return [ 'supportEmail' => 'rocho02@gmail.com', 'infoEmail' => 'info@rocho-net.hu', 'user.passwordResetTokenExpire' => 3600, - 'version' => 'v0.0.58', + 'version' => 'v0.0.59', 'company' => 'movar',//gyor 'company_name' => "Freimann Kft.", 'product_visiblity' => 'account',// on reception which products to display. account or global