Changeset 2587125
- Timestamp:
- 08/23/2021 01:11:55 PM (5 years ago)
- Location:
- wc-yabi/trunk
- Files:
-
- 1 added
- 3 edited
-
content/product.php (modified) (1 diff)
-
includes/dian.php (added)
-
readme.txt (modified) (1 diff)
-
wc-yabi.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-yabi/trunk/content/product.php
r2586168 r2587125 208 208 <th><?php echo __('City Code','yabi-wc'); ?>:</th> 209 209 <td> 210 <input class="regular-text" type="text" id="citycode" name="citycode" value="<?php echo esc_attr( $person['citycode'] ); ?>" /> 210 <select name="citycode" id="citycode"> 211 212 <?php foreach( $diancodes as $id => $name ): ?> 213 214 <option <?php if( $person['citycode'] == $id ): ?>selected="selected"<?php endif; ?> value="<?php echo esc_attr( $id ); ?>"><?php echo esc_html( $name ); ?></option> 215 216 <?php endforeach; ?> 217 218 </select> 211 219 </td> 212 220 </tr> -
wc-yabi/trunk/readme.txt
r2586168 r2587125 85 85 * Update to 1.8 Version of Yabi 86 86 * Change numeric variables to strings 87 = 1.3 = 88 * A selection box was created to be able to select the city code 89 * Change default tax level code for natural person -
wc-yabi/trunk/wc-yabi.php
r2586168 r2587125 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. 211 * Version: 1.3 12 12 * Author: Mex Avila 13 13 * Author URI: https://datakun.com/ … … 46 46 47 47 require_once( YABI_PLUGIN_PATH . 'includes/ajax.php' ); 48 require_once( YABI_PLUGIN_PATH . 'includes/dian.php' ); 48 49 require_once( YABI_PLUGIN_PATH . 'includes/transaction.php' ); 49 50 … … 102 103 'NATURAL' => 'Persona Natural' 103 104 ); 105 $diancodes = yabi_generate_Codes(); 104 106 $person = get_post_meta( $post->ID, 'yabi_person', true ); 105 107 … … 125 127 $accountid = 'NATURAL'; 126 128 $commercialname = ''; 127 $taxlevelcode = 'O-4 8';129 $taxlevelcode = 'O-49'; 128 130 $taxscheme = 0; 129 131
Note: See TracChangeset
for help on using the changeset viewer.