Finish version/v.0.0.51

This commit is contained in:
Roland Schneider 2016-03-07 22:33:01 +01:00
commit 05be3f353d
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,5 @@
-0.0.51
- fix storno @transfers -> delete from carts on storno
-0.0.50 -0.0.50
- Delete contract on admin - Delete contract on admin
-0.0.49 -0.0.49

View File

@ -4,7 +4,7 @@ return [
'supportEmail' => 'rocho02@gmail.com', 'supportEmail' => 'rocho02@gmail.com',
'infoEmail' => 'info@rocho-net.hu', 'infoEmail' => 'info@rocho-net.hu',
'user.passwordResetTokenExpire' => 3600, 'user.passwordResetTokenExpire' => 3600,
'version' => 'v0.0.50', 'version' => 'v0.0.51',
'company' => 'movar',//gyor 'company' => 'movar',//gyor
'company_name' => "Freimann Kft.", 'company_name' => "Freimann Kft.",
'product_visiblity' => 'account',// on reception which products to display. account or global 'product_visiblity' => 'account',// on reception which products to display. account or global

View File

@ -941,6 +941,9 @@ class Transfer extends \common\models\BaseFitnessActiveRecord {
$mm->status = MoneyMovement::STATUS_STORNO; $mm->status = MoneyMovement::STATUS_STORNO;
$mm->save ( false ); $mm->save ( false );
} }
ShoppingCart::deleteAll(['id_transfer' => $this->id_transfer]);
UserSoldItem::deleteAll(['id_transfer' => $this->id_transfer]);
} }
public function payout() { public function payout() {