Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QuickFix/Recurring/Issue/145 #2015

Merged
merged 1 commit into from
Aug 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion templates/history-donations.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,23 @@
<td class="give-donation-id">#<?php echo give_get_payment_number( $post->ID ); ?></td>
<td class="give-donation-date"><?php echo date_i18n( give_date_format(), strtotime( get_post_field( 'post_date', $post->ID ) ) ); ?></td>
<td class="give-donation-amount">
<span class="give-donation-amount"><?php echo give_currency_filter( give_format_amount( give_get_payment_amount( $post->ID ), array( 'sanitize' => false ) ) ); ?></span>
<span class="give-donation-amount">
<?php
$donation_amount = give_currency_filter( give_format_amount( give_get_payment_amount( $post->ID ), array( 'sanitize' => false ) ) );

/**
* Filters the donation amount on Donation History Page.
*
* @param int $donation_amount Donation Amount.
* @param int $post->ID Donation ID.
*
* @since 1.8.13
*
* @return int
*/
echo apply_filters( 'give_donation_history_row_amount', $donation_amount, $post->ID );
?>
</span>
</td>
<td class="give-donation-details">
<?php
Expand Down