Skip to content
Snippets Groups Projects
Commit 494f6a3b authored by eileen's avatar eileen
Browse files

Fix missaving of net_amount

#552 it seems net_amount was removed incompletely
from the additional info form - causing it to block updating of the value when it should have been updated
parent efe8a825
No related branches found
No related tags found
No related merge requests found
......@@ -115,13 +115,6 @@ class CRM_Contribute_Form_AdditionalInfo {
$feeAmount->freeze();
}
$netAmount = &$form->add('text', 'net_amount', ts('Net Amount'),
$attributes['net_amount']
);
$form->addRule('net_amount', ts('Please enter a valid monetary value for Net Amount.'), 'money');
if ($form->_online) {
$netAmount->freeze();
}
$element = &$form->add('text', 'invoice_id', ts('Invoice ID'),
$attributes['invoice_id']
);
......@@ -285,7 +278,6 @@ class CRM_Contribute_Form_AdditionalInfo {
'non_deductible_amount',
'total_amount',
'fee_amount',
'net_amount',
'trxn_id',
'invoice_id',
'creditnote_id',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment