Plugin Directory

Changeset 1632549


Ignore:
Timestamp:
04/08/2017 02:50:26 AM (9 years ago)
Author:
hemnathmouli
Message:

Bug fix 2.0

Location:
wc-wallet
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wc-wallet/tags/2.0.0/includes/functions.php

    r1632512 r1632549  
    11401140                echo  "<td>".get_post_meta( $pid, 'oid', true )."</td>";
    11411141                echo  "<td>".get_post_meta( $pid, 'date', true )."</rd>";
    1142                 switch( get_post_meta( $pid, 'amount', true ) ){
     1142                switch( get_post_meta( $pid, 'wcw_type', true ) ){
    11431143                    case 0: $method = __( "Credits/money used from wallet", WC_WALLET_TEXT ); break;
    11441144                    case 1: $method = __( "Credits/money added to wallet", WC_WALLET_TEXT ); break;
  • wc-wallet/trunk/includes/functions.php

    r1632512 r1632549  
    11401140                echo  "<td>".get_post_meta( $pid, 'oid', true )."</td>";
    11411141                echo  "<td>".get_post_meta( $pid, 'date', true )."</rd>";
    1142                 switch( get_post_meta( $pid, 'amount', true ) ){
     1142                switch( get_post_meta( $pid, 'wcw_type', true ) ){
    11431143                    case 0: $method = __( "Credits/money used from wallet", WC_WALLET_TEXT ); break;
    11441144                    case 1: $method = __( "Credits/money added to wallet", WC_WALLET_TEXT ); break;
Note: See TracChangeset for help on using the changeset viewer.