|
@@ 977-981 (lines=5) @@
|
| 974 |
|
$progress = apply_filters( 'give_goal_amount_funded_percentage_output', $progress, $form->ID, $form ); |
| 975 |
|
|
| 976 |
|
// Define Actual Goal based on the goal format. |
| 977 |
|
if ( 'percentage' === $goal_format ) { |
| 978 |
|
$actual = "{$actual}%"; |
| 979 |
|
} else if ( 'amount' === $goal_format ) { |
| 980 |
|
$actual = give_currency_filter( give_format_amount( $actual ) ); |
| 981 |
|
} |
| 982 |
|
|
| 983 |
|
// Define Total Goal based on the goal format. |
| 984 |
|
if ( 'percentage' === $goal_format ) { |
|
@@ 984-988 (lines=5) @@
|
| 981 |
|
} |
| 982 |
|
|
| 983 |
|
// Define Total Goal based on the goal format. |
| 984 |
|
if ( 'percentage' === $goal_format ) { |
| 985 |
|
$total_goal = ''; |
| 986 |
|
} else if ( 'amount' === $goal_format ) { |
| 987 |
|
$total_goal = give_currency_filter( give_format_amount( $total_goal ) ); |
| 988 |
|
} |
| 989 |
|
|
| 990 |
|
$stats_array = array_merge( |
| 991 |
|
array( |