| @@ -85,9 +85,9 @@ | ||
| 85 | 85 | $charitable_total_count_donations = count( $charitable_donations ); |
| 86 | 86 | $charitable_total_amount_donations = $charitable_reports->get_donations_total(); |
| 87 | 87 | $charitable_donation_breakdown = $charitable_reports->get_donations_by_day(); |
| 88 | 88 | $charitable_payment_breakdown = $charitable_reports->get_donations_by_payment(); |
| 89 | -$charitable_donation_average = ( $charitable_total_amount_donations > 0 && $charitable_total_amount_donations > 0 ) ? ( charitable_format_money( $charitable_total_amount_donations / $charitable_total_count_donations, 2, true ) ) : charitable_format_money( 0 ); | |
| 89 | +$charitable_donation_average = ( $charitable_total_amount_donations > 0 && $charitable_total_amount_donations > 0 ) ? ( charitable_format_money( $charitable_total_amount_donations / $charitable_total_count_donations, false, true ) ) : charitable_format_money( 0 ); | |
| 90 | 90 | $charitable_donation_total = charitable_format_money( $charitable_total_amount_donations ); |
| 91 | 91 | |
| 92 | 92 | // donors. |
| 93 | 93 | $charitable_top_donors = $charitable_reports->get_top_donors_overview(); |