echo CMDonationHelper::showCountryName($donor->country_code); ?> <?php } elseif ($countryDisplay == 'flag') { ?> <td class="pure-text-center"><?php echo CMDonationHelper::showCountryFlag($donor->country_code); ?> <?php } elseif ($countryDisplay == 'both') { ?> <td class="pure-text-center"><?php echo CMDonationHelper::showCountryName($donor->country_code); ?> <td class="pure-text-center"><?php echo CMDonationHelper::showCountryFlag($donor->country_code); ?> <?php } ?> <td class="pure-text-center"><?php echo $donor->donation_quantity; ?> </td> <td class="pure-text-center"> <?php echo CMDonationHelper::showDonationAmount($donor->amount, $currencySign, $currencySignPosition, $decimals, $decimalPoint, $thousandSeparator); ?> </td> </tr> <?php
} elseif ($countryDisplay == 'name' || $countryDisplay == 'both') { ?> <td class="nowrap pure-text-center pure-hidden-phone"> <?php echo CMDonationHelper::showCountryName($item->country_code); ?> </td> <?php } ?> <?php if ($countryDisplay == 'both') { ?> <td class="nowrap pure-text-center pure-hidden-phone"> <?php echo CMDonationHelper::showCountryFlag($item->country_code); ?> </td> <?php } ?> <td class="nowrap pure-text-center pure-hidden-phone"> <?php if ($item->anonymous) { echo '<i class="fa fa-check"></i>'; } ?> </td> <td class="nowrap pure-text-center pure-hidden-phone"> <?php echo CMDonationHelper::displayPaymentMethodName($item->payment_method_id, $paymentMethods);