Commit 3a2c2c06 authored by Edselopez's avatar Edselopez Committed by Edsel Lopez
Browse files

Bug fixes

parent 6778bdc7
......@@ -122,13 +122,13 @@ class CRM_Lineitemedit_Form_Edit extends CRM_Core_Form {
$chapterCodes = CRM_EFT_BAO_EFT::getCodes('chapter_codes');
$this->add('select', 'chapter_code',
ts('Chapter Code'),
$chapterCodes
[ts(' - select - ')] + $chapterCodes
);
// Add fund codes.
$fundCodes = CRM_EFT_BAO_EFT::getCodes('fund_codes');
$this->add('select', 'fund_code',
ts('Fund Code'),
$fundCodes
[ts(' - select - ')] + $fundCodes
);
$this->assign('fieldNames', $fieldNames);
......
......@@ -881,11 +881,11 @@ ORDER BY ps.id, pf.weight ;
}
$form->add('select', "item_chapter_code[$rowNumber]",
ts('Chapter Code'),
$chapterCodes
[ts('- select -')] + $chapterCodes
);
$form->add('select', "item_fund_code[$rowNumber]",
ts('Fund Code'),
$fundCodes
[ts('- select -')] + $fundCodes
);
foreach ($fields as $fieldName) {
if ($fieldName != 'price_field_value_id') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment