Changeset 1809120
- Timestamp:
- 01/25/2018 08:11:36 AM (8 years ago)
- Location:
- hq60-fidelity-card/trunk
- Files:
-
- 4 edited
-
hq60fidelitycard.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
views/admin/shortcode-list.php (modified) (6 diffs)
-
views/frontend/user-balance.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hq60-fidelity-card/trunk/hq60fidelitycard.php
r1808688 r1809120 7 7 Author: TRe Technology And Research S.r.l 8 8 Author URI: http://www.tresrl.it 9 Version: 1. 49 Version: 1.5 10 10 License: GPL-2.0+ 11 11 */ -
hq60-fidelity-card/trunk/readme.txt
r1808688 r1809120 4 4 Requires at least: 4.8.2 5 5 Tested up to: 4.9.2 6 Stable tag: 1. 46 Stable tag: 1.5 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 27 27 == Changelog == 28 28 29 = 1.5 = 30 * Aggiunto elenco transazioni per tessera abbonamenti 31 * Aggiunta indicazione obbligatorietà o meno delle pagine da inserire nel menù 32 29 33 = 1.4 = 30 34 * Aggiunta tessera abbonamenti -
hq60-fidelity-card/trunk/views/admin/shortcode-list.php
r1801667 r1809120 8 8 <th><strong><?php _e ( 'URL' , $this->get_language_domain() ) ;?></strong></th> 9 9 <th><strong><?php _e ( 'Shorcode da utilizzare' , $this->get_language_domain() ) ;?></strong></th> 10 <th><strong><?php _e ( 'Obbligatoria nel menù?' , $this->get_language_domain() ) ;?></strong></th> 10 11 </tr> 11 12 … … 18 19 <td>fidelity-card-login</td> 19 20 <td>[<?php echo $this->get_shortcode_user_login();?>]</td> 21 <td><?php _e( 'SI' , $this->get_language_domain() ); ?></td> 20 22 </tr> 21 23 … … 24 26 <td>fidelity-card-logout</td> 25 27 <td>-</td> 28 <td><?php _e( 'NO' , $this->get_language_domain() ); ?></td> 26 29 </tr> 27 30 … … 30 33 <td>fidelity-card-registration</td> 31 34 <td>[<?php echo $this->get_shortcode_user_registration();?>]</td> 35 <td><?php _e( 'SI' , $this->get_language_domain() ); ?></td> 32 36 </tr> 33 37 … … 36 40 <td>fidelity-card-dashboard</td> 37 41 <td>[<?php echo $this->get_shortcode_user_dashboard();?>]</td> 42 <td><?php _e( 'SI' , $this->get_language_domain() ); ?></td> 38 43 </tr> 39 44 … … 42 47 <td>fidelity-card-recovery</td> 43 48 <td>[<?php echo $this->get_shortcode_user_recovery_password();?>]</td> 49 <td><?php _e( 'SI' , $this->get_language_domain() ); ?></td> 44 50 </tr> 45 51 -
hq60-fidelity-card/trunk/views/frontend/user-balance.php
r1808686 r1809120 160 160 161 161 162 /***************** ELENCO TRANSAZIONI ***********************************/ 162 /***************** ELENCO TRANSAZIONI ***********************************/ 163 164 /*** GIFT CARD // TESSERA SCONTO */ 165 166 if ( $campaign_type == 'subscription' ) { 167 168 if ( isset ( $transaction->transaction ) ) { 169 170 $decimals = 0; 171 ?> 172 173 <table class="table table-transaction"> 174 175 <thead> 176 <tr> 177 <th><?php _e( 'Transazione' , $this->get_language_domain() )?></th> 178 <th><?php _e( 'Data' , $this->get_language_domain() )?></th> 179 </tr> 180 </thead> 181 <tbody> 182 183 <?php 184 foreach ( $transaction->transaction as $t ) { 185 186 $class = 'positive-number'; 187 188 if ( $t->amount_final < 0 ) { 189 190 $class = 'negative-number'; 191 192 } 193 194 $amount = number_format_i18n( $t->amount_final, $decimals ); 195 $date = date_i18n( 'd/m/Y', strtotime( $t->date ) ); 196 197 echo '<tr>'; 198 echo '<td class="'.$class.'">'; 199 echo $amount.' '.$t->reward_name; 200 echo '</td>'; 201 echo '<td>'; 202 echo $date; 203 echo '</td>'; 204 echo '</tr>'; 205 206 } 207 ?> 208 209 </tbody> 210 211 </table> 212 <?php 213 214 } 215 216 } // subscription 217 218 163 219 164 220 if ( $campaign_type == 'points' ) { … … 276 332 } // gift card 277 333 278 /** subscription */279 280 334 281 335
Note: See TracChangeset
for help on using the changeset viewer.