Changeset 1189770
- Timestamp:
- 06/29/2015 05:53:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-sales-by-location-report/trunk/classes/class-wc-report-sales-by-location.php
r1189769 r1189770 125 125 $export_data[$location_values->countries_data][] = $location_values; 126 126 } 127 128 $placeholder = __( 'This is the count of orders during this period.', 'woocommerce-location-report' ); 129 127 130 } elseif ( 'order-total' == $this->totals_by ) { 128 131 foreach ( $data->orders as $location_values ) { … … 136 139 $export_data[$location_values->countries_data][] = $location_values; 137 140 } 141 142 $placeholder = __( 'This is the sum of the order totals after any refunds and including shipping and taxes.', 'woocommerce-location-report' ); 143 138 144 } 139 145 … … 162 168 $legend[] = array( 163 169 'title' => sprintf( __( '%s orders in this period', 'woocommerce-location-report' ), '<strong>' . $total . '</strong>' ), 170 'placeholder' => $placeholder, 164 171 'color' => $this->chart_colours['order_total'], 165 172 'highlight_series' => 1 … … 168 175 $legend[] = array( 169 176 'title' => sprintf( __( '%s countries in this period', 'woocommerce-location-report' ), '<strong>' . ( isset( $country_data['UNDEFINED'] ) ? count( $country_data ) - 1 :count( $country_data ) ) . '</strong>' ), 177 'placeholder' => __( 'This is the total number of countries represented in this report.', 'woocommerce-location-report' ), 170 178 'color' => $this->chart_colours['individual_total'], 171 179 'highlight_series' => 2
Note: See TracChangeset
for help on using the changeset viewer.