Changeset 2590939
- Timestamp:
- 08/30/2021 02:48:23 PM (5 years ago)
- Location:
- wc-yabi/trunk
- Files:
-
- 5 edited
-
content/product.php (modified) (1 diff)
-
includes/ajax.php (modified) (1 diff)
-
includes/transaction.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wc-yabi.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wc-yabi/trunk/content/product.php
r2587125 r2590939 135 135 <small><?php echo __('Tax obligations registered in the RUT: O-05, O-48 (Separate by comma)','yabi-wc'); ?></small> 136 136 </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> 148 138 149 139 <tr> -
wc-yabi/trunk/includes/ajax.php
r2519234 r2590939 119 119 120 120 $taxscheme = 0; 121 if( isset( $_REQUEST['taxscheme'] ) )122 {123 $taxscheme = 1;124 }125 121 126 122 $person = array( -
wc-yabi/trunk/includes/transaction.php
r2586168 r2590939 18 18 if( $person['accountid'] == 'LEGAL' ) 19 19 { 20 $taxscheme = '';21 if( $person['taxscheme'] )22 {23 $taxscheme = 'taxScheme:"01"';24 }25 26 20 $commercial = 'commercialName:"'. $person['commercialname'] .'" 27 partyTaxScheme:{ 28 taxLevelCode:['. $taxlevelcode .'] 29 '. $taxscheme .' 30 }'; 21 partyTaxScheme:{ 22 taxLevelCode:['. $taxlevelcode .'] 23 }'; 31 24 } 32 25 else -
wc-yabi/trunk/readme.txt
r2587125 r2590939 88 88 * A selection box was created to be able to select the city code 89 89 * 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 9 9 * Plugin URI: https://mireunion.com/yabi 10 10 * Description: Create your electronic invoices of purchases made in woocommerce with Yabi 11 * Version: 1.3 11 * Version: 1.3.1 12 12 * Author: Mex Avila 13 13 * Author URI: https://datakun.com/
Note: See TracChangeset
for help on using the changeset viewer.