$this->assign('billingPanes', $billingPanes);
$this->assign('allPanes', $allPanes);
+ $this->addFormRule(array('CRM_Contribute_Form_Contribution', 'formRule'), $this);
+
if ($this->_formType) {
$this->assign('formType', $this->_formType);
return;
$financialType->freeze();
}
- $this->addFormRule(array('CRM_Contribute_Form_Contribution', 'formRule'), $this);
-
// if contribution is related to membership or participant freeze Financial Type, Amount
if ($this->_id && isset($this->_values['tax_amount'])) {
$componentDetails = CRM_Contribute_BAO_Contribution::getComponentDetails($this->_id);