|
@@ 2068-2072 (lines=5) @@
|
| 2065 |
|
$progress = apply_filters( 'give_goal_amount_funded_percentage_output', $progress, $form->ID, $form ); |
| 2066 |
|
|
| 2067 |
|
// Define Actual Goal based on the goal format. |
| 2068 |
|
if ( 'percentage' === $goal_format ) { |
| 2069 |
|
$actual = "{$actual}%"; |
| 2070 |
|
} else if ( 'amount' === $goal_format ) { |
| 2071 |
|
$actual = give_currency_filter( give_format_amount( $actual ) ); |
| 2072 |
|
} |
| 2073 |
|
|
| 2074 |
|
// Define Total Goal based on the goal format. |
| 2075 |
|
if ( 'percentage' === $goal_format ) { |
|
@@ 2075-2079 (lines=5) @@
|
| 2072 |
|
} |
| 2073 |
|
|
| 2074 |
|
// Define Total Goal based on the goal format. |
| 2075 |
|
if ( 'percentage' === $goal_format ) { |
| 2076 |
|
$total_goal = ''; |
| 2077 |
|
} else if ( 'amount' === $goal_format ) { |
| 2078 |
|
$total_goal = give_currency_filter( give_format_amount( $total_goal ) ); |
| 2079 |
|
} |
| 2080 |
|
|
| 2081 |
|
$stats_array = array_merge( |
| 2082 |
|
array( |