if (defined('COST_ON_REPORTS') && isTrue(COST_ON_REPORTS))
$form->addInput(array('type'=>'checkbox','name'=>'chcost','data'=>1));
// If we have a custom field - add a checkbox for it.
if (defined('COST_ON_REPORTS') && isTrue(COST_ON_REPORTS))
$form->addInput(array('type'=>'checkbox','name'=>'chcost','data'=>1));
// If we have a custom field - add a checkbox for it.