Plugin Directory

Changeset 2590939


Ignore:
Timestamp:
08/30/2021 02:48:23 PM (5 years ago)
Author:
kakaroto84
Message:

1.3.1

  • The taxscheme field was deleted, the field is no longer required
Location:
wc-yabi/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wc-yabi/trunk/content/product.php

    r2587125 r2590939  
    135135             <small><?php echo __('Tax obligations registered in the RUT: O-05, O-48 (Separate by comma)','yabi-wc'); ?></small>
    136136        </td>
    137     </tr>
    138    
    139     <tr class="data-commercialname">
    140         <th><?php echo __('Tax Scheme','yabi-wc'); ?>:</th>
    141         <td>
    142             <label for="taxscheme">
    143                 <input name="taxscheme" type="checkbox" id="taxscheme" value="1" <?php if( $person['taxscheme'] ): ?>checked="checked"<?php endif; ?> />
    144                 <span><?php echo __('Is the purchaser responsible for IVA?','yabi-wc'); ?></span>
    145             </label>
    146         </td>
    147     </tr>   
     137    </tr>   
    148138
    149139    <tr>
  • wc-yabi/trunk/includes/ajax.php

    r2519234 r2590939  
    119119       
    120120        $taxscheme = 0;
    121         if( isset( $_REQUEST['taxscheme'] ) )
    122         {
    123             $taxscheme = 1;
    124         }
    125121       
    126122        $person = array(
  • wc-yabi/trunk/includes/transaction.php

    r2586168 r2590939  
    1818    if( $person['accountid'] == 'LEGAL' )
    1919    {       
    20         $taxscheme = '';
    21         if( $person['taxscheme'] )
    22         {
    23             $taxscheme = 'taxScheme:"01"';
    24         }
    25        
    2620        $commercial = 'commercialName:"'. $person['commercialname'] .'"
    27         partyTaxScheme:{
    28         taxLevelCode:['. $taxlevelcode .']
    29         '. $taxscheme .'
    30       }';
     21            partyTaxScheme:{
     22                taxLevelCode:['. $taxlevelcode .']
     23        }';
    3124    }
    3225    else
  • wc-yabi/trunk/readme.txt

    r2587125 r2590939  
    8888* A selection box was created to be able to select the city code
    8989* Change default tax level code for natural person
     90= 1.3.1 =
     91* The taxscheme field was deleted, the field is no longer required
  • wc-yabi/trunk/wc-yabi.php

    r2587125 r2590939  
    99 * Plugin URI:        https://mireunion.com/yabi
    1010 * Description:       Create your electronic invoices of purchases made in woocommerce with Yabi
    11  * Version:           1.3
     11 * Version:           1.3.1
    1212 * Author:            Mex Avila
    1313 * Author URI:        https://datakun.com/
Note: See TracChangeset for help on using the changeset viewer.