protected function setVariableValues() {
 	parent::setVariableValues();    	
 	$this->setVariable('invoice', $this->payout->getInvoice());
 	$this->setVariable('affiliatenote', $this->payout->getAffiliateNote());
 	$this->setVariable('amount', $this->payout->getAmountAsText());
 	$this->setVariable('invoicenumber', $this->payout->getInvoiceNumber());
 }
Пример #2
0
 protected function setVariableValues() {
 	parent::setVariableValues();
 	
 	$this->setVariable('payment', $this->payout->getAmountAsText());
 	$this->setVariable('payoutcurrency', $this->payout->getCurrency()->getSymbol());
 	$this->setVariable('invoicenumber', $this->payout->getInvoiceNumber());
 	if ($this->payout->getPayoutOption() != null) {
         $this->setVariable('payoutmethod', Gpf_Lang::_localizeRuntime($this->payout->getPayoutOption()->getName(), $this->getRecipientLanguage()));
 	}
 }