|
@@ 2104-2108 (lines=5) @@
|
| 2101 |
|
$progress = apply_filters( 'give_goal_amount_funded_percentage_output', $progress, $form->ID, $form ); |
| 2102 |
|
|
| 2103 |
|
// Define Actual Goal based on the goal format. |
| 2104 |
|
if ( 'percentage' === $goal_format ) { |
| 2105 |
|
$actual = "{$actual}%"; |
| 2106 |
|
} elseif ( 'amount' === $goal_format ) { |
| 2107 |
|
$actual = give_currency_filter( give_format_amount( $actual ) ); |
| 2108 |
|
} |
| 2109 |
|
|
| 2110 |
|
// Define Total Goal based on the goal format. |
| 2111 |
|
if ( 'percentage' === $goal_format ) { |
|
@@ 2111-2115 (lines=5) @@
|
| 2108 |
|
} |
| 2109 |
|
|
| 2110 |
|
// Define Total Goal based on the goal format. |
| 2111 |
|
if ( 'percentage' === $goal_format ) { |
| 2112 |
|
$total_goal = ''; |
| 2113 |
|
} elseif ( 'amount' === $goal_format ) { |
| 2114 |
|
$total_goal = give_currency_filter( give_format_amount( $total_goal ) ); |
| 2115 |
|
} |
| 2116 |
|
|
| 2117 |
|
$stats_array = array_merge( |
| 2118 |
|
array( |