Finish version/v.0.0.51
This commit is contained in:
commit
05be3f353d
@ -1,3 +1,5 @@
|
||||
-0.0.51
|
||||
- fix storno @transfers -> delete from carts on storno
|
||||
-0.0.50
|
||||
- Delete contract on admin
|
||||
-0.0.49
|
||||
|
||||
@ -4,7 +4,7 @@ return [
|
||||
'supportEmail' => 'rocho02@gmail.com',
|
||||
'infoEmail' => 'info@rocho-net.hu',
|
||||
'user.passwordResetTokenExpire' => 3600,
|
||||
'version' => 'v0.0.50',
|
||||
'version' => 'v0.0.51',
|
||||
'company' => 'movar',//gyor
|
||||
'company_name' => "Freimann Kft.",
|
||||
'product_visiblity' => 'account',// on reception which products to display. account or global
|
||||
|
||||
@ -941,6 +941,9 @@ class Transfer extends \common\models\BaseFitnessActiveRecord {
|
||||
$mm->status = MoneyMovement::STATUS_STORNO;
|
||||
$mm->save ( false );
|
||||
}
|
||||
|
||||
ShoppingCart::deleteAll(['id_transfer' => $this->id_transfer]);
|
||||
UserSoldItem::deleteAll(['id_transfer' => $this->id_transfer]);
|
||||
}
|
||||
public function payout() {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user