'subject' =>
$this,
'discount' =>
$params,
] );
if ($notifyUntilBeforeAdd) { return;
} if ($this->proportionalTaxCalculation && !
$this->session->
get('taxFree'
)) { $this->basketHelper->
addProportionalDiscount( new DiscountContext( $this->session->
get('sessionId'
),
BasketHelperInterface::DISCOUNT_PERCENT,
-
$basketDiscount,
$discountName,
$name,
3,
$this->sSYSTEM->sCurrency
['factor'
],
!
$this->sSYSTEM->sUSERGROUPDATA
['tax'
] &&
$this->sSYSTEM->sUSERGROUPDATA
['id'
] ) );
}