716 |
* return: |
* return: |
717 |
* - array |
* - array |
718 |
* |
* |
719 |
|
* |
720 |
|
* NOTE: problem: the formulas don't take date range parameters into account....TODO. |
721 |
|
* --> I would like to get the sum of operations between two specified dates. |
722 |
*/ |
*/ |
723 |
function ParseFormula($p_cn,$p_label,$p_formula,$p_cond) { |
function ParseFormula($p_cn,$p_label,$p_formula,$p_cond) { |
724 |
while (ereg("(\[[0-9]*%*\])",$p_formula,$e) == true) { |
while (ereg("(\[[0-9]*%*\])",$p_formula,$e) == true) { |
752 |
* - none |
* - none |
753 |
* return: |
* return: |
754 |
* - array |
* - array |
755 |
|
* |
756 |
* |
* |
757 |
*/ |
*/ |
758 |
function GetFormulaValue($p_cn,$p_label,$p_formula,$p_cond) |
function GetFormulaValue($p_cn,$p_label,$p_formula,$p_cond) |