Changeset 7434 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-reports/views/html/sponsor-invoices.php
- Timestamp:
- 07/12/2018 12:22:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-reports/views/html/sponsor-invoices.php
r6662 r7434 9 9 /** @var \DateTime $start_date */ 10 10 /** @var \DateTime $end_date */ 11 /** @var string $wordcamp_name */ 12 /** @var array $invoices */ 13 /** @var array $payments */ 11 /** @var \DateTime $xrt_date */ 12 /** @var string $wordcamp_name */ 13 /** @var array $invoices */ 14 /** @var array $payments */ 14 15 15 16 $asterisk2 = false; … … 29 30 </h3> 30 31 31 <ul> 32 <li>Invoices sent: <?php echo number_format_i18n( $invoices['total_count'] ); ?></li> 33 </ul> 32 <table class="striped widefat but-not-too-wide"> 33 <tbody> 34 <tr> 35 <td>Invoices sent:</td> 36 <td class="number"><?php echo number_format_i18n( $invoices['total_count'] ); ?></td> 37 </tr> 38 </tbody> 39 </table> 34 40 35 41 <table class="striped widefat but-not-too-wide"> … … 76 82 </h3> 77 83 78 <ul> 79 <li>Payments received: <?php echo number_format_i18n( $payments['total_count'] ); ?></li> 80 </ul> 84 <table class="striped widefat but-not-too-wide"> 85 <tbody> 86 <tr> 87 <td>Payments received:</td> 88 <td class="number"><?php echo number_format_i18n( $payments['total_count'] ); ?></td> 89 </tr> 90 </tbody> 91 </table> 81 92 82 93 <table class="striped widefat but-not-too-wide"> … … 111 122 112 123 <?php if ( $invoices['total_count'] > 0 || $payments['total_count'] > 0 ) : ?> 113 <p class="description">* Estimate based on exchange rates for <?php echo esc_html( $end_date->format( 'M jS, Y' ) ); ?></p> 114 <?php if ( $asterisk2 ) : ?> 115 <p class="description">** Currency exchange rate not available.</p> 116 <?php endif; ?> 124 <p class="description"> 125 * Estimate based on exchange rates for <?php echo esc_html( $xrt_date->format( 'M jS, Y' ) ); ?>. 126 <?php if ( $asterisk2 ) : ?> 127 <br />** Currency exchange rate not available. 128 <?php endif; ?> 129 </p> 117 130 <?php else : ?> 118 131 <p>
Note: See TracChangeset
for help on using the changeset viewer.