Changeset 3422044
- Timestamp:
- 12/17/2025 03:20:12 PM (3 months ago)
- Location:
- wc-yabi
- Files:
-
- 8 added
- 1 deleted
- 18 edited
-
assets/screenshot-2.jpg (modified) (previous)
-
assets/screenshot-3.jpg (modified) (previous)
-
assets/screenshot-5.jpg (added)
-
trunk/.gitignore (deleted)
-
trunk/content/admin.php (modified) (1 diff)
-
trunk/content/cancel-invoice.php (added)
-
trunk/content/dian.php (modified) (1 diff)
-
trunk/content/information.php (modified) (1 diff)
-
trunk/content/product-invoice.php (modified) (5 diffs)
-
trunk/content/settings.php (modified) (1 diff)
-
trunk/includes/ajax.php (modified) (4 diffs)
-
trunk/includes/transaction.php (modified) (8 diffs)
-
trunk/languages/yabi-wc-es_CO.l10n.php (modified) (1 diff)
-
trunk/languages/yabi-wc-es_CO.mo (modified) (previous)
-
trunk/languages/yabi-wc-es_CO.po (modified) (35 diffs)
-
trunk/languages/yabi-wc-es_ES.l10n.php (modified) (1 diff)
-
trunk/languages/yabi-wc-es_ES.mo (modified) (previous)
-
trunk/languages/yabi-wc-es_ES.po (modified) (35 diffs)
-
trunk/languages/yabi-wc.pot (modified) (31 diffs)
-
trunk/readme-es_CO.txt (added)
-
trunk/readme-es_ES.txt (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/scripts/admin.css (added)
-
trunk/scripts/admin.js (added)
-
trunk/scripts/checkout.css (added)
-
trunk/scripts/checkout.js (added)
-
trunk/wc-yabi.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-yabi/trunk/content/admin.php
r3218446 r3422044 1 <?php if( $ok ): ?> 1 <?php 2 /** 3 * Yabi Admin Page Template 4 * Plantilla moderna con tabs AJAX 5 * 6 * @package yabi_wc 7 * @version 4.0.0 8 */ 2 9 3 <div class="notice notice-success is-dismissible inline"> 4 <p><?php echo __('Setting saved!','yabi-wc'); ?></p> 10 if ( ! defined( 'ABSPATH' ) ) { 11 exit; 12 } 13 14 $has_settings = false !== get_option( 'yabi_settings' ); 15 $current_tab = isset( $tab ) ? $tab : 'information'; 16 ?> 17 18 <div class="yabi-admin-wrap"> 19 20 <!-- Header --> 21 <div class="yabi-header"> 22 <div class="yabi-header-icon"> 23 <span class="dashicons dashicons-media-spreadsheet"></span> 24 </div> 25 <div class="yabi-header-content"> 26 <h1><?php echo esc_html__('Yabi for WooCommerce','yabi-wc'); ?></h1> 27 <p><?php echo esc_html__('Electronic invoicing integration for Colombia','yabi-wc'); ?></p> 28 </div> 29 </div> 30 31 <!-- Container Principal --> 32 <div class="yabi-container"> 33 34 <!-- Navegación de Tabs --> 35 <nav class="yabi-tabs-nav"> 36 <div class="yabi-tab-item"> 37 <a href="#information" 38 class="yabi-tab-link <?php echo $current_tab === 'information' || empty($current_tab) ? 'active' : ''; ?>" 39 data-tab="information"> 40 <span class="dashicons dashicons-info"></span> 41 <?php echo esc_html__('Information','yabi-wc'); ?> 42 </a> 43 </div> 44 45 <div class="yabi-tab-item"> 46 <a href="#settings" 47 class="yabi-tab-link <?php echo $current_tab === 'settings' ? 'active' : ''; ?>" 48 data-tab="settings"> 49 <span class="dashicons dashicons-admin-settings"></span> 50 <?php echo esc_html__('Settings','yabi-wc'); ?> 51 </a> 52 </div> 53 54 <?php if( $has_settings ): ?> 55 <div class="yabi-tab-item"> 56 <a href="#dian" 57 class="yabi-tab-link <?php echo $current_tab === 'dian' ? 'active' : ''; ?>" 58 data-tab="dian"> 59 <span class="dashicons dashicons-database"></span> 60 <?php echo esc_html__('DIAN','yabi-wc'); ?> 61 </a> 62 </div> 63 64 <div class="yabi-tab-item"> 65 <a href="#cancel_invoice" 66 class="yabi-tab-link <?php echo $current_tab === 'cancel_invoice' ? 'active' : ''; ?>" 67 data-tab="cancel_invoice"> 68 <span class="dashicons dashicons-dismiss"></span> 69 <?php echo esc_html__('Cancel Invoice','yabi-wc'); ?> 70 </a> 71 </div> 72 <?php endif; ?> 73 </nav> 74 75 <!-- Contenido de Tabs --> 76 <div class="yabi-tab-content" id="yabi-tab-content"> 77 <div class="yabi-loader"> 78 <div class="yabi-spinner"></div> 79 <span class="yabi-loader-text"><?php echo esc_html__('Loading...','yabi-wc'); ?></span> 80 </div> 81 </div> 82 83 </div> 84 85 <!-- Notificaciones --> 86 <div id="yabi-notifications"> 87 <?php if( $ok ): ?> 88 <div class="yabi-notice yabi-notice-success auto-dismiss"> 89 <span class="yabi-notice-icon">✓</span> 90 <span class="yabi-notice-content"><?php echo esc_html__('Settings saved successfully!','yabi-wc'); ?></span> 91 <button type="button" class="yabi-notice-dismiss">×</button> 92 </div> 93 <?php endif; ?> 94 </div> 95 5 96 </div> 6 7 <?php endif; ?>8 9 <div class="wrap">10 11 <div class="postbox">12 13 <div class="inside">14 15 <h1><?php echo __('Yabi for WooCommerce','yabi-wc'); ?></h1>16 17 <nav class="nav-tab-wrapper">18 <a href="admin.php?page=yabi" class="nav-tab <?php if( empty( $tab ) ):?>nav-tab-active<?php endif; ?>"><?php echo __('Information','yabi-wc'); ?></a>19 <a href="admin.php?page=yabi&tab=settings" class="nav-tab <?php if( $tab == 'settings'):?>nav-tab-active<?php endif; ?>"><?php echo __('Settings','yabi-wc'); ?></a>20 21 <?php if( false !== get_option( 'yabi_settings' ) ): ?>22 23 <a href="admin.php?page=yabi&tab=dian" class="nav-tab <?php if( $tab == 'dian'):?>nav-tab-active<?php endif; ?>"><?php echo __('DIAN','yabi-wc'); ?></a>24 25 <?php endif; ?>26 27 </nav>28 29 <div class="tab-content">30 <?php switch( $tab ) :31 32 case 'settings':33 require_once( YABI_PLUGIN_PATH . 'content/settings.php' );34 break;35 36 case 'dian':37 require_once( YABI_PLUGIN_PATH . 'content/dian.php' );38 break;39 40 default:41 require_once( YABI_PLUGIN_PATH . 'content/information.php' );42 break;43 44 endswitch; ?>45 </div>46 47 </div>48 49 </div>50 51 </div> -
wc-yabi/trunk/content/dian.php
r3218446 r3422044 1 <style> 2 table { 3 width: 100%; 4 border-collapse: collapse; 1 <?php 2 /** 3 * Yabi DIAN Tab Content 4 * 5 * @package yabi_wc 6 * @version 4.0.0 7 */ 8 9 if ( ! defined( 'ABSPATH' ) ) { 10 exit; 5 11 } 6 th, td { 7 border: 1px solid #ddd; 8 padding: 8px; 9 text-align: left; 10 } 11 th { 12 background-color: #f4f4f4; 13 } 12 ?> 14 13 15 .card 16 { 17 max-width: 100%; 18 } 14 <!-- Actualizar resolución --> 15 <div class="yabi-card"> 16 <div class="yabi-card-header"> 17 <div class="yabi-card-icon"> 18 <span class="dashicons dashicons-update"></span> 19 </div> 20 <h2 class="yabi-card-title"><?php echo esc_html__('Update resolution in yabi.co','yabi-wc'); ?></h2> 21 </div> 22 <div class="yabi-card-body"> 23 <p><?php echo esc_html__('Create the resolution in the DIAN Muisca system and assign it in the DIAN "Electronic Billing" portal to Neia / Yabi.co.','yabi-wc'); ?></p> 24 25 <div class="yabi-info-box"> 26 <div class="yabi-info-box-icon">📋</div> 27 <div class="yabi-info-box-content"> 28 <h3><?php echo esc_html__('Note','yabi-wc'); ?></h3> 29 <p><?php echo esc_html__('After the DIAN has created the resolutions, please click on the "Update" button','yabi-wc'); ?></p> 30 </div> 31 </div> 32 33 <div class="yabi-btn-group" style="align-items: center;"> 34 <button type="button" id="update-dian" class="yabi-btn yabi-btn-primary"> 35 <span class="dashicons dashicons-update"></span> 36 <?php echo esc_html__('Update','yabi-wc'); ?> 37 </button> 38 <div id="thespiner" class="spinner" style="float:none;margin:0;"></div> 39 </div> 40 41 <div id="response1" style="margin-top: 15px;"></div> 42 </div> 43 </div> 19 44 20 #check-prefix{ 21 display: none; 22 } 45 <!-- Verificar prefijos --> 46 <div class="yabi-card"> 47 <div class="yabi-card-header"> 48 <div class="yabi-card-icon" style="background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);"> 49 <span class="dashicons dashicons-search"></span> 50 </div> 51 <h2 class="yabi-card-title"><?php echo esc_html__('Checking resolution prefixes in the Yabi system','yabi-wc'); ?></h2> 52 </div> 53 <div class="yabi-card-body"> 54 <p><?php echo esc_html__('Click the "Check" button to generate a table with the latest resolutions available in Yabi','yabi-wc'); ?></p> 55 56 <div class="yabi-btn-group" style="align-items: center;"> 57 <button type="button" id="show-dian" class="yabi-btn yabi-btn-success"> 58 <span class="dashicons dashicons-visibility"></span> 59 <?php echo esc_html__('Check','yabi-wc'); ?> 60 </button> 61 <div id="thespiner2" class="spinner" style="float:none;margin:0;"></div> 62 </div> 63 64 <div id="response2" style="margin-top: 15px;"></div> 65 66 <div id="check-prefix" style="display: none; margin-top: 20px;"> 67 <div class="yabi-table-wrapper"> 68 <table id="data-table" class="yabi-table"> 69 <thead> 70 <tr> 71 <th><?php echo esc_html__('Start Date','yabi-wc'); ?></th> 72 <th><?php echo esc_html__('Resolution Number','yabi-wc'); ?></th> 73 <th><?php echo esc_html__('Prefix ID','yabi-wc'); ?></th> 74 <th><?php echo esc_html__('Prefix','yabi-wc'); ?></th> 75 <th><?php echo esc_html__('Environment','yabi-wc'); ?></th> 76 <th><?php echo esc_html__('End Date','yabi-wc'); ?></th> 77 <th><?php echo esc_html__('Document Type','yabi-wc'); ?></th> 78 <th><?php echo esc_html__('Business Unit Uuid','yabi-wc'); ?></th> 79 </tr> 80 </thead> 81 <tbody> 82 <!-- Filas generadas dinámicamente --> 83 </tbody> 84 </table> 85 </div> 86 </div> 87 </div> 88 </div> 23 89 24 </style> 25 26 <script type="text/javascript"> 27 28 jQuery( document ).ready(function(){ 29 30 jQuery( '#show-dian' ).on( 'click', function(e){ 90 <!-- Asociar prefijo --> 91 <div class="yabi-card"> 92 <div class="yabi-card-header"> 93 <div class="yabi-card-icon" style="background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);"> 94 <span class="dashicons dashicons-admin-links"></span> 95 </div> 96 <h2 class="yabi-card-title"><?php echo esc_html__('Associates a prefix with an organizational unit on Yabi','yabi-wc'); ?></h2> 97 </div> 98 <div class="yabi-card-body"> 99 <p><?php echo esc_html__('Select the prefix you want to associate and click the "Save" button. First, click "Check" to load available prefixes.','yabi-wc'); ?></p> 31 100 32 e.preventDefault(); 101 <div class="yabi-form-row"> 102 <div class="yabi-form-group"> 103 <label class="yabi-label" for="prefix-select"><?php echo esc_html__('Prefix','yabi-wc'); ?></label> 104 <select id="prefix-select" name="prefix" class="yabi-select"> 105 <option value=""><?php echo esc_html__('Select a prefix','yabi-wc'); ?></option> 106 </select> 107 </div> 108 </div> 33 109 34 showResolution(); 110 <div class="yabi-btn-group" style="align-items: center;"> 111 <button type="button" id="update-prefix" class="yabi-btn yabi-btn-primary"> 112 <span class="dashicons dashicons-saved"></span> 113 <?php echo esc_html__('Save','yabi-wc'); ?> 114 </button> 115 <div id="thespiner3" class="spinner" style="float:none;margin:0;"></div> 116 </div> 35 117 36 }); 37 38 jQuery( '#update-dian' ).on( 'click', function(e){ 39 40 e.preventDefault(); 41 42 updateResolution(); 43 44 }); 45 46 jQuery( '#update-prefix' ).on( 'click', function(e){ 47 48 e.preventDefault(); 49 50 savePrefix(); 51 52 }); 53 54 }); 55 56 function savePrefix() 57 { 58 jQuery( '#thespiner3' ).addClass( 'is-active' ); 59 jQuery( '#response1, #response2, #response3' ).empty(); 60 jQuery( '#update-prefix' ).attr( 'disabled', true ); 61 const prefix = jQuery( '#prefix' ).val(); 62 63 jQuery.post( '<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>', { 'action': 'yabi_save_prefix', 'code': 'OYT4+H7@az1', 'prefix': prefix } ) 64 .done(function( data ) { 65 66 if( 'FAIL' == data ) 67 { 68 yabiMessage3( 'error', '<?php echo __( 'Unexpected error, try again later.!', 'yabi-wc' ); ?>', true ); 69 } 70 else 71 { 72 var obj = JSON.parse( data ); 73 74 if( parseInt( obj.error ) == 1 ) 75 { 76 yabiMessage3( 'error', obj.message, true ); 77 } 78 else 79 { 80 yabiMessage3( 'success', '<?php echo __( 'Success', 'yabi-wc' ); ?>', false ); 81 } 82 } 83 }); 84 } 85 86 function showResolution() 87 { 88 jQuery( '#thespiner2' ).addClass( 'is-active' ); 89 jQuery( '#response1, #response2, #response3' ).empty(); 90 jQuery( '#show-dian' ).attr( 'disabled', true ); 91 jQuery( '#check-prefix' ).hide(); 92 93 jQuery.post( '<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>', { 'action': 'yabi_show_resolution', 'code': 'kE0W+H7@az1' } ) 94 .done(function( data ) { 95 96 if( 'FAIL' == data ) 97 { 98 yabiMessage2( 'error', '<?php echo __( 'Unexpected error, try again later.!', 'yabi-wc' ); ?>', true ); 99 } 100 else 101 { 102 var obj = JSON.parse( data ); 103 104 if( parseInt( obj.error ) == 1 ) 105 { 106 yabiMessage2( 'error', obj.message, true ); 107 } 108 else 109 { 110 yabiMessage2( 'success', '<?php echo __( 'Success', 'yabi-wc' ); ?>', false ); 111 112 const tableBody = document.querySelector("#data-table tbody"); 113 114 obj.message.forEach(item => { 115 const node = item.node; 116 const row = document.createElement("tr"); 117 118 const columns = [ 119 node.startDate || "N/A", 120 node.resolutionNumber || "N/A", 121 node.prefixId || "N/A", 122 node.prefix || "N/A", 123 node.environment || "N/A", 124 node.endDate || "N/A", 125 node.documentType || "N/A" 126 ]; 127 128 columns.forEach(col => { 129 const cell = document.createElement("td"); 130 cell.textContent = col; 131 row.appendChild(cell); 132 }); 133 134 tableBody.appendChild(row); 135 }); 136 137 jQuery( '#check-prefix' ).show(); 138 } 139 } 140 }); 141 } 142 143 function updateResolution() 144 { 145 jQuery( '#thespiner' ).addClass( 'is-active' ); 146 jQuery( '#response1, #response2, #response3' ).empty(); 147 jQuery( '#update-dian' ).attr( 'disabled', true ); 148 149 jQuery.post( '<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>', { 'action': 'yabi_update_resolution', 'code': 'kE0W+H7@qb4' } ) 150 .done(function( data ) { 151 152 if( 'FAIL' == data ) 153 { 154 yabiMessage( 'error', '<?php echo __( 'Unexpected error, try again later.!', 'yabi-wc' ); ?>', true ); 155 } 156 else 157 { 158 var obj = JSON.parse( data ); 159 160 if( parseInt( obj.error ) == 1 ) 161 { 162 yabiMessage( 'error', obj.message, true ); 163 } 164 else 165 { 166 yabiMessage( 'success', obj.message, false ); 167 } 168 } 169 }); 170 } 171 172 function yabiMessage( type, message, show ) 173 { 174 jQuery( '#thespiner' ).removeClass( 'is-active' ); 175 jQuery( '#response1' ).html( '<div class="notice notice-'+ type +' inline"><p>'+ message +'</p></div>' ); 176 177 if( show ) 178 { 179 jQuery( '#update-dian' ).attr( 'disabled', false ); 180 } 181 } 182 183 function yabiMessage2( type, message, show ) 184 { 185 jQuery( '#thespiner2' ).removeClass( 'is-active' ); 186 jQuery( '#response2' ).html( '<div class="notice notice-'+ type +' inline"><p>'+ message +'</p></div>' ); 187 188 if( show ) 189 { 190 jQuery( '#show-dian' ).attr( 'disabled', false ); 191 } 192 } 193 194 function yabiMessage3( type, message, show ) 195 { 196 jQuery( '#thespiner3' ).removeClass( 'is-active' ); 197 jQuery( '#response3' ).html( '<div class="notice notice-'+ type +' inline"><p>'+ message +'</p></div>' ); 198 199 if( show ) 200 { 201 jQuery( '#update-prefix' ).attr( 'disabled', false ); 202 } 203 } 204 205 </script> 206 207 <div class="wrap"> 208 209 <h1><?php echo __( 'DIAN','yabi-wc' ); ?></h1> 210 211 <div class="card"> 212 213 <h2><?php echo __( 'Update resolution in yabi.co','yabi-wc' ); ?></h2> 214 215 <p><?php echo __( 'Create the resolution in the DIAN Muisca system and assign it in the DIAN “Electronic Billing” portal to Neia / Yabi.co.','yabi-wc' ); ?></p> 216 217 <p><?php echo __( 'After the DIAN has created the resolutions, please click on the "Update" button','yabi-wc' ); ?></p> 218 219 <input class="button-primary" id="update-dian" type="button" name="Update" value="<?php echo __( 'Update','yabi-wc' ); ?>" /> 220 221 <div id="thespiner" class="spinner" style="float:none;width:auto;height:auto;padding:10px 0 10px 30px;background-position:0;"></div> 222 223 </div> 224 225 <div id="response1"></div> 226 227 <div class="card"> 228 229 <h2><?php echo __( 'Checking resolution prefixes in the Yabi system','yabi-wc' ); ?></h2> 230 231 <p><?php echo __( 'Click the "Check" button to generate a table with the latest resolutions available in Yabi','yabi-wc' ); ?></p> 232 233 <input class="button-primary" id="show-dian" type="button" name="Update" value="<?php echo __( 'Check','yabi-wc' ); ?>" /> 234 235 <div id="thespiner2" class="spinner" style="float:none;width:auto;height:auto;padding:10px 0 10px 30px;background-position:0;"></div> 236 237 <div id="check-prefix"> 238 239 <table id="data-table"> 240 <thead> 241 <tr> 242 <th><?php echo __( 'Start Date', 'yabi-wc' ); ?></th> 243 <th><?php echo __( 'Resolution Number', 'yabi-wc' ); ?></th> 244 <th><?php echo __( 'Prefix ID', 'yabi-wc' ); ?></th> 245 <th><?php echo __( 'Prefix', 'yabi-wc' ); ?></th> 246 <th><?php echo __( 'Environment', 'yabi-wc' ); ?></th> 247 <th><?php echo __( 'End Date', 'yabi-wc' ); ?></th> 248 <th><?php echo __( 'Document Type', 'yabi-wc' ); ?></th> 249 </tr> 250 </thead> 251 <tbody> 252 <!-- Filas generadas dinámicamente --> 253 </tbody> 254 </table> 255 256 </div> 257 258 </div> 259 260 <div id="response2"></div> 261 262 <div class="card"> 263 264 <h2><?php echo __( 'Associates a prefix with an organizational unit on Yabi','yabi-wc' ); ?></h2> 265 266 <p><?php echo __( 'Enter the prefix you want to add in the "prefix" field and click the "Save" button.' ); ?></p> 267 268 <label for="prefix"> 269 270 <?php echo __( 'Prefix','yabi-wc' ); ?>: 271 272 <input class="regular-text" type="text" name="prefix" id="prefix" value="" placeholder="xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" /> 273 274 </label> 275 276 <input class="button-primary" id="update-prefix" type="button" name="Save" value="<?php echo __( 'Save','yabi-wc' ); ?>" /> 277 278 <div id="thespiner3" class="spinner" style="float:none;width:auto;height:auto;padding:10px 0 10px 30px;background-position:0;"></div> 279 280 </div> 281 282 <div id="response3"></div> 283 118 <div id="response3" style="margin-top: 15px;"></div> 119 </div> 284 120 </div> -
wc-yabi/trunk/content/information.php
r3121708 r3422044 1 <div class="wrap"> 1 <?php 2 /** 3 * Yabi Information Tab Content 4 * 5 * @package yabi_wc 6 * @version 4.0.0 7 */ 2 8 3 <div id="icon-options-general" class="icon32"></div> 4 <h1><?php echo __('Information','yabi-wc'); ?></h1> 9 if ( ! defined( 'ABSPATH' ) ) { 10 exit; 11 } 12 ?> 5 13 6 <div id="poststuff"> 7 8 <div id="post-body" class="metabox-holder columns-2"> 9 10 <!-- main content --> 11 <div id="post-body-content"> 12 13 <div class="meta-box-sortables ui-sortable"> 14 15 <div class="postbox"> 16 17 <h2><span><?php echo __('Instructions for settings','yabi-wc'); ?></span></h2> 18 19 <div class="inside"> 20 21 <p><?php echo __('Invoices can be defined in Cash or In Credit','yabi-wc'); ?></p> 22 23 <ul> 24 <li><?php echo __('Cash: The payment is made immediately.','yabi-wc'); ?></li> 25 <li><?php echo __('In Credit: The payment is credited and you can select the number of days of the credit, generally it is 30 days','yabi-wc'); ?></li> 26 </ul> 27 28 <p><?php echo __('I agree to modify the checkout','yabi-wc'); ?></p> 29 30 <ul> 31 <li><?php echo __('This option allows you to modify the default Woocommerce form to allow the custom fields that Yabi uses, such as IDs or NIT. It also displays the departments and municipalities of Colombia with their respective DIAN codes. It also generates a link so that people can generate the address as necessary for the DIAN.','yabi-wc'); ?></li> 32 </ul> 33 34 <p><?php echo __('Invoice type','yabi-wc'); ?></p> 35 36 <ul> 37 <li><?php echo __('Automatic: Generates automatic invoices, this depends on whether the data has been filled out correctly.','yabi-wc'); ?></li> 38 <li><?php echo __('Manual: Generate invoices manually in order administration','yabi-wc'); ?></li> 39 </ul> 40 41 </div> 42 43 <p> </p> 44 <hr/> 45 <p> </p> 46 47 <h2><span><?php echo __('Instructions for invoice','yabi-wc'); ?></span></h2> 48 49 <div class="inside"> 50 51 <p><?php echo __('The fields of the invoice are the name and the consecutive number of the invoice, before the DIAN the requirement for the numbering had to be passed. Please fill in the corresponding data. Example: SETT-26.','yabi-wc'); ?></p> 52 53 <ol> 54 <li><?php echo __('Go to','yabi-wc'); ?> <a href="<?php echo admin_url('/admin.php?page=yabi&tab=settings'); ?>"><?php echo __('settings page','yabi-wc'); ?></a>.</li> 55 <li><?php echo __('Fill the text field "Invoice Name" with the invoice name. Example: "SETT-", "SE"','yabi-wc'); ?></li> 56 <li><?php echo __('Fill the text field with the consecutive invoice. Example: if the consecutive number is 25, please fill the text field with 26.','yabi-wc'); ?></li> 57 <li><?php echo __('Click in button "Save".','yabi-wc'); ?></li> 58 59 </ol> 60 61 </div> 62 63 <p> </p> 64 <hr/> 65 <p> </p> 66 67 <h2><span><?php echo __('Instructions for client','yabi-wc'); ?></span></h2> 68 69 <div class="inside"> 70 71 <ol> 72 <li><?php echo __('To get started, contact Yabi to send you the personalized Token of your account by email.','yabi-wc'); ?></li> 73 <li><?php echo __('Enter the Yabi system','yabi-wc'); ?> <a href="https://einvoices.yabi.co/public/login" target="_blank">https://einvoices.yabi.co/public/login</a> <?php echo __('with your username and password.','yabi-wc'); ?></li> 74 <li><?php echo __('Click on "Business Units".','yabi-wc'); ?></li> 75 <li><?php echo __('Click on a business unit, this displays the information of the business unit.','yabi-wc'); ?></li> 76 <li><?php echo __('Copy the code of the business unit.','yabi-wc'); ?></li> 77 <li><?php echo __('Go to','yabi-wc'); ?> <a href="<?php echo admin_url('/admin.php?page=yabi&tab=settings'); ?>"><?php echo __('settings page','yabi-wc'); ?></a>.</li> 78 <li><?php echo __('Paste the previously copied code in the text field "Business Unit Uuid".','yabi-wc'); ?></li> 79 <li><?php echo __('Copy and paste the personalized Token in the text field "Token".','yabi-wc'); ?></li> 80 <li><?php echo __('Copy the example URL client in the text field "URL client".','yabi-wc'); ?></li> 81 <li><?php echo __('Click in button "Save".','yabi-wc'); ?></li> 82 83 </ol> 84 85 </div> 86 <!-- .inside --> 87 88 <p> </p> 89 <hr/> 90 <p> </p> 91 92 <h2><span><?php echo __('How to generate an invoice?','yabi-wc'); ?></span></h2> 93 94 <div class="inside"> 95 96 <p><?php echo __('The process to generate an invoice.','yabi-wc'); ?></p> 97 98 <p><?php echo __('The WooCommerce purchase must be in a completed state, in order to generate the electronic invoice. (Automatic or Manual)','yabi-wc'); ?></p> 99 100 <ol> 101 <li><?php echo __('Click on WooCommerce orders','yabi-wc'); ?></li> 102 <li><?php echo __('Find the order in the completed state for which you want to generate an invoice','yabi-wc'); ?></li> 103 <li><?php echo __('Click on the order to open the details','yabi-wc'); ?></li> 104 <li><?php echo __('When displaying the order information, the Yabi module will be displayed at the bottom','yabi-wc'); ?></li> 105 <li><?php echo __('You must select the type of person','yabi-wc'); ?></li> 106 <li><?php echo __('Depending on the type of person, you must complete the additional information','yabi-wc'); ?></li> 107 <li><?php echo __('Click on the "Save" button to save the information of the fields','yabi-wc'); ?></li> 108 <li><?php echo __('Click on the button "Save and generate" for when you are sure to generate the invoice, after the invoice is generated you will not be able to edit the fields again.','yabi-wc'); ?></li> 109 <li><?php echo __('To download the invoice you have to enter the Yabi platform','yabi-wc'); ?></li> 110 </ol> 111 112 </div> 113 14 <div class="yabi-grid yabi-grid-2" style="grid-template-columns: 1fr 300px;"> 15 16 <!-- Contenido Principal --> 17 <div class="yabi-main-content"> 18 19 <!-- Instrucciones de configuración --> 20 <div class="yabi-card"> 21 <div class="yabi-card-header"> 22 <div class="yabi-card-icon"> 23 <span class="dashicons dashicons-admin-settings"></span> 24 </div> 25 <h2 class="yabi-card-title"><?php echo esc_html__('Instructions for settings','yabi-wc'); ?></h2> 26 </div> 27 <div class="yabi-card-body"> 28 <p><?php echo esc_html__('Invoices can be defined in Cash or In Credit','yabi-wc'); ?></p> 29 30 <ul class="yabi-list"> 31 <li class="yabi-list-item"> 32 <span class="yabi-list-number">1</span> 33 <span class="yabi-list-content"><strong><?php echo esc_html__('Cash','yabi-wc'); ?>:</strong> <?php echo esc_html__('The payment is made immediately.','yabi-wc'); ?></span> 34 </li> 35 <li class="yabi-list-item"> 36 <span class="yabi-list-number">2</span> 37 <span class="yabi-list-content"><strong><?php echo esc_html__('In Credit','yabi-wc'); ?>:</strong> <?php echo esc_html__('The payment is credited and you can select the number of days of the credit, generally it is 30 days','yabi-wc'); ?></span> 38 </li> 39 </ul> 40 41 <div class="yabi-divider"></div> 42 43 <h3><?php echo esc_html__('I agree to modify the checkout','yabi-wc'); ?></h3> 44 <p><?php echo esc_html__('This option allows you to modify the default Woocommerce form to allow the custom fields that Yabi uses, such as IDs or NIT. It also displays the departments and municipalities of Colombia with their respective DIAN codes. It also generates a link so that people can generate the address as necessary for the DIAN.','yabi-wc'); ?></p> 45 46 <div class="yabi-divider"></div> 47 48 <h3><?php echo esc_html__('Invoice type','yabi-wc'); ?></h3> 49 <ul class="yabi-list"> 50 <li class="yabi-list-item"> 51 <span class="yabi-list-number">A</span> 52 <span class="yabi-list-content"><strong><?php echo esc_html__('Automatic','yabi-wc'); ?>:</strong> <?php echo esc_html__('Generates automatic invoices, this depends on whether the data has been filled out correctly.','yabi-wc'); ?></span> 53 </li> 54 <li class="yabi-list-item"> 55 <span class="yabi-list-number">M</span> 56 <span class="yabi-list-content"><strong><?php echo esc_html__('Manual','yabi-wc'); ?>:</strong> <?php echo esc_html__('Generate invoices manually in order administration','yabi-wc'); ?></span> 57 </li> 58 </ul> 59 </div> 60 </div> 61 62 <!-- Instrucciones para factura --> 63 <div class="yabi-card"> 64 <div class="yabi-card-header"> 65 <div class="yabi-card-icon"> 66 <span class="dashicons dashicons-media-text"></span> 67 </div> 68 <h2 class="yabi-card-title"><?php echo esc_html__('Instructions for invoice','yabi-wc'); ?></h2> 69 </div> 70 <div class="yabi-card-body"> 71 <p><?php echo esc_html__('The fields of the invoice are the name and the consecutive number of the invoice, before the DIAN the requirement for the numbering had to be passed. Please fill in the corresponding data. Example: SETT-26.','yabi-wc'); ?></p> 72 73 <ol class="yabi-list"> 74 <li class="yabi-list-item"> 75 <span class="yabi-list-number">1</span> 76 <span class="yabi-list-content"><?php echo esc_html__('Go to','yabi-wc'); ?> <a href="#settings" data-tab="settings"><?php echo esc_html__('settings page','yabi-wc'); ?></a></span> 77 </li> 78 <li class="yabi-list-item"> 79 <span class="yabi-list-number">2</span> 80 <span class="yabi-list-content"><?php echo esc_html__('Select "Invoice Name" with the invoice name. Example: "SETT-", "SE"','yabi-wc'); ?></span> 81 </li> 82 <li class="yabi-list-item"> 83 <span class="yabi-list-number">3</span> 84 <span class="yabi-list-content"><?php echo esc_html__('Fill the text field with the consecutive invoice. Example: if the consecutive number is 25, please fill the text field with 26.','yabi-wc'); ?></span> 85 </li> 86 <li class="yabi-list-item"> 87 <span class="yabi-list-number">4</span> 88 <span class="yabi-list-content"><?php echo esc_html__('You can check the numbering by clicking the "View Last Invoice" button','yabi-wc'); ?></span> 89 </li> 90 <li class="yabi-list-item"> 91 <span class="yabi-list-number">5</span> 92 <span class="yabi-list-content"><?php echo esc_html__('Click in button "Save".','yabi-wc'); ?></span> 93 </li> 94 </ol> 95 </div> 96 </div> 97 98 <!-- Instrucciones para nota crédito --> 99 <div class="yabi-card"> 100 <div class="yabi-card-header"> 101 <div class="yabi-card-icon"> 102 <span class="dashicons dashicons-money-alt"></span> 103 </div> 104 <h2 class="yabi-card-title"><?php echo esc_html__('Instructions for credit note','yabi-wc'); ?></h2> 105 </div> 106 <div class="yabi-card-body"> 107 <p><?php echo esc_html__('The fields of the invoice are the name and the consecutive number of the invoice, before the DIAN the requirement for the numbering had to be passed. Please fill in the corresponding data. Example: SETT-26.','yabi-wc'); ?></p> 108 109 <ol class="yabi-list"> 110 <li class="yabi-list-item"> 111 <span class="yabi-list-number">1</span> 112 <span class="yabi-list-content"><?php echo esc_html__('Go to','yabi-wc'); ?> <a href="#settings" data-tab="settings"><?php echo esc_html__('settings page','yabi-wc'); ?></a></span> 113 </li> 114 <li class="yabi-list-item"> 115 <span class="yabi-list-number">2</span> 116 <span class="yabi-list-content"><?php echo esc_html__('Select "Credit Note Prefix" with the credit note name. Example: "CNS-", "CN"','yabi-wc'); ?></span> 117 </li> 118 <li class="yabi-list-item"> 119 <span class="yabi-list-number">3</span> 120 <span class="yabi-list-content"><?php echo esc_html__('Fill the text field with the consecutive invoice. Example: if the consecutive number is 25, please fill the text field with 26.','yabi-wc'); ?></span> 121 </li> 122 <li class="yabi-list-item"> 123 <span class="yabi-list-number">4</span> 124 <span class="yabi-list-content"><?php echo esc_html__('You can check the numbering by clicking the "View Last Credit Note" button','yabi-wc'); ?></span> 125 </li> 126 <li class="yabi-list-item"> 127 <span class="yabi-list-number">5</span> 128 <span class="yabi-list-content"><?php echo esc_html__('Click in button "Save".','yabi-wc'); ?></span> 129 </li> 130 </ol> 131 </div> 132 </div> 133 134 <!-- Instrucciones para cliente --> 135 <div class="yabi-card"> 136 <div class="yabi-card-header"> 137 <div class="yabi-card-icon"> 138 <span class="dashicons dashicons-businesswoman"></span> 139 </div> 140 <h2 class="yabi-card-title"><?php echo esc_html__('Instructions for client','yabi-wc'); ?></h2> 141 </div> 142 <div class="yabi-card-body"> 143 <ol class="yabi-list"> 144 <li class="yabi-list-item"> 145 <span class="yabi-list-number">1</span> 146 <span class="yabi-list-content"><?php echo esc_html__('To get started, contact Yabi to send you the personalized Token of your account by email.','yabi-wc'); ?></span> 147 </li> 148 <li class="yabi-list-item"> 149 <span class="yabi-list-number">2</span> 150 <span class="yabi-list-content"><?php echo esc_html__('Enter the Yabi system','yabi-wc'); ?> <a href="https://einvoices.yabi.co/public/login" target="_blank" rel="noopener noreferrer">https://einvoices.yabi.co/public/login</a> <?php echo esc_html__('with your username and password.','yabi-wc'); ?></span> 151 </li> 152 <li class="yabi-list-item"> 153 <span class="yabi-list-number">3</span> 154 <span class="yabi-list-content"><?php echo esc_html__('Click on "Business Units".','yabi-wc'); ?></span> 155 </li> 156 <li class="yabi-list-item"> 157 <span class="yabi-list-number">4</span> 158 <span class="yabi-list-content"><?php echo esc_html__('Click on a business unit, this displays the information of the business unit.','yabi-wc'); ?></span> 159 </li> 160 <li class="yabi-list-item"> 161 <span class="yabi-list-number">5</span> 162 <span class="yabi-list-content"><?php echo esc_html__('Copy the code of the business unit.','yabi-wc'); ?></span> 163 </li> 164 <li class="yabi-list-item"> 165 <span class="yabi-list-number">6</span> 166 <span class="yabi-list-content"><?php echo esc_html__('Go to','yabi-wc'); ?> <a href="#settings" data-tab="settings"><?php echo esc_html__('settings page','yabi-wc'); ?></a></span> 167 </li> 168 <li class="yabi-list-item"> 169 <span class="yabi-list-number">7</span> 170 <span class="yabi-list-content"><?php echo esc_html__('Paste the previously copied code in the text field "Business Unit Uuid".','yabi-wc'); ?></span> 171 </li> 172 <li class="yabi-list-item"> 173 <span class="yabi-list-number">8</span> 174 <span class="yabi-list-content"><?php echo esc_html__('Copy and paste the personalized Token in the text field "Token".','yabi-wc'); ?></span> 175 </li> 176 <li class="yabi-list-item"> 177 <span class="yabi-list-number">9</span> 178 <span class="yabi-list-content"><?php echo esc_html__('Copy the example URL client in the text field "URL client".','yabi-wc'); ?></span> 179 </li> 180 <li class="yabi-list-item"> 181 <span class="yabi-list-number">10</span> 182 <span class="yabi-list-content"><?php echo esc_html__('Click in button "Save".','yabi-wc'); ?></span> 183 </li> 184 </ol> 185 </div> 186 </div> 187 188 <!-- Cómo generar factura --> 189 <div class="yabi-card"> 190 <div class="yabi-card-header"> 191 <div class="yabi-card-icon"> 192 <span class="dashicons dashicons-printer"></span> 193 </div> 194 <h2 class="yabi-card-title"><?php echo esc_html__('How to generate an invoice?','yabi-wc'); ?></h2> 195 </div> 196 <div class="yabi-card-body"> 197 <p><?php echo esc_html__('The process to generate an invoice.','yabi-wc'); ?></p> 198 199 <div class="yabi-info-box"> 200 <div class="yabi-info-box-icon">💡</div> 201 <div class="yabi-info-box-content"> 202 <h3><?php echo esc_html__('Important','yabi-wc'); ?></h3> 203 <p><?php echo esc_html__('The WooCommerce purchase must be in a completed state, in order to generate the electronic invoice. (Automatic or Manual)','yabi-wc'); ?></p> 114 204 </div> 115 <!-- .postbox --> 116 117 </div> 118 <!-- .meta-box-sortables .ui-sortable --> 119 120 </div> 121 <!-- post-body-content --> 122 123 <!-- sidebar --> 124 <div id="postbox-container-1" class="postbox-container"> 125 126 <div class="meta-box-sortables"> 127 128 <div class="postbox"> 129 130 <h2><span><?php echo __('About the plugin','yabi-wc'); ?></span></h2> 131 132 <div class="inside"> 133 134 <p> 135 <?php echo __('Support this plugin','yabi-wc'); ?> 136 137 <form action="https://www.paypal.com/donate" method="post" target="_top"> 138 <input type="hidden" name="hosted_button_id" value="NY5NTM46C5PS4" /> 139 <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" /> 140 <img alt="" border="0" src="https://www.paypal.com/en_CO/i/scr/pixel.gif" width="1" height="1" /> 141 </form> 142 143 </p> 144 <hr/> 145 <p> 146 <?php echo __('Code QR','yabi-wc'); ?><br/><br/> 147 <img src="<?php echo YABI_PLUGIN_URL; ?>/images/CodigoQR.png" width="128" height="128" /> 148 </p> 149 150 </div> 151 <!-- .inside --> 152 153 </div> 154 <!-- .postbox --> 155 156 </div> 157 <!-- .meta-box-sortables --> 158 159 </div> 160 <!-- #postbox-container-1 .postbox-container --> 161 162 </div> 163 <!-- #post-body .metabox-holder .columns-2 --> 164 165 <br class="clear"> 205 </div> 206 207 <ol class="yabi-list"> 208 <li class="yabi-list-item"> 209 <span class="yabi-list-number">1</span> 210 <span class="yabi-list-content"><?php echo esc_html__('Click on WooCommerce orders','yabi-wc'); ?></span> 211 </li> 212 <li class="yabi-list-item"> 213 <span class="yabi-list-number">2</span> 214 <span class="yabi-list-content"><?php echo esc_html__('Find the order in the completed state for which you want to generate an invoice','yabi-wc'); ?></span> 215 </li> 216 <li class="yabi-list-item"> 217 <span class="yabi-list-number">3</span> 218 <span class="yabi-list-content"><?php echo esc_html__('Click on the order to open the details','yabi-wc'); ?></span> 219 </li> 220 <li class="yabi-list-item"> 221 <span class="yabi-list-number">4</span> 222 <span class="yabi-list-content"><?php echo esc_html__('When displaying the order information, the Yabi module will be displayed at the bottom','yabi-wc'); ?></span> 223 </li> 224 <li class="yabi-list-item"> 225 <span class="yabi-list-number">5</span> 226 <span class="yabi-list-content"><?php echo esc_html__('You must select the type of person','yabi-wc'); ?></span> 227 </li> 228 <li class="yabi-list-item"> 229 <span class="yabi-list-number">6</span> 230 <span class="yabi-list-content"><?php echo esc_html__('Depending on the type of person, you must complete the additional information','yabi-wc'); ?></span> 231 </li> 232 <li class="yabi-list-item"> 233 <span class="yabi-list-number">7</span> 234 <span class="yabi-list-content"><?php echo esc_html__('Click on the "Save" button to save the information of the fields','yabi-wc'); ?></span> 235 </li> 236 <li class="yabi-list-item"> 237 <span class="yabi-list-number">8</span> 238 <span class="yabi-list-content"><?php echo esc_html__('Click on the button "Save and generate" for when you are sure to generate the invoice, after the invoice is generated you will not be able to edit the fields again.','yabi-wc'); ?></span> 239 </li> 240 <li class="yabi-list-item"> 241 <span class="yabi-list-number">9</span> 242 <span class="yabi-list-content"><?php echo esc_html__('To download the invoice you have to enter the Yabi platform','yabi-wc'); ?></span> 243 </li> 244 </ol> 245 </div> 246 </div> 247 248 <!-- Actualizar resolución --> 249 <div class="yabi-card"> 250 <div class="yabi-card-header"> 251 <div class="yabi-card-icon"> 252 <span class="dashicons dashicons-database"></span> 253 </div> 254 <h2 class="yabi-card-title"><?php echo esc_html__('Update resolution in yabi.co','yabi-wc'); ?></h2> 255 </div> 256 <div class="yabi-card-body"> 257 <ol class="yabi-list"> 258 <li class="yabi-list-item"> 259 <span class="yabi-list-number">1</span> 260 <span class="yabi-list-content"><?php echo esc_html__('Go to','yabi-wc'); ?> <a href="#dian" data-tab="dian"><?php echo esc_html__('DIAN','yabi-wc'); ?></a></span> 261 </li> 262 <li class="yabi-list-item"> 263 <span class="yabi-list-number">2</span> 264 <span class="yabi-list-content"><?php echo esc_html__('Create the resolution in the DIAN Muisca system and assign it in the DIAN "Electronic Billing" portal to Neia / Yabi.co.','yabi-wc'); ?></span> 265 </li> 266 <li class="yabi-list-item"> 267 <span class="yabi-list-number">3</span> 268 <span class="yabi-list-content"><?php echo esc_html__('After the DIAN has created the resolutions, please click on the "Update" button','yabi-wc'); ?></span> 269 </li> 270 <li class="yabi-list-item"> 271 <span class="yabi-list-number">4</span> 272 <span class="yabi-list-content"><?php echo esc_html__('Click the "Check" button to generate a table with the latest resolutions available in Yabi','yabi-wc'); ?></span> 273 </li> 274 <li class="yabi-list-item"> 275 <span class="yabi-list-number">5</span> 276 <span class="yabi-list-content"><?php echo esc_html__('Select the prefix you want to associate and click the "Save" button.','yabi-wc'); ?></span> 277 </li> 278 </ol> 279 </div> 280 </div> 281 282 <!-- Cancelar factura --> 283 <div class="yabi-card"> 284 <div class="yabi-card-header"> 285 <div class="yabi-card-icon"> 286 <span class="dashicons dashicons-dismiss"></span> 287 </div> 288 <h2 class="yabi-card-title"><?php echo esc_html__('Cancel Invoice','yabi-wc'); ?></h2> 289 </div> 290 <div class="yabi-card-body"> 291 <ol class="yabi-list"> 292 <li class="yabi-list-item"> 293 <span class="yabi-list-number">1</span> 294 <span class="yabi-list-content"><?php echo esc_html__('Go to','yabi-wc'); ?> <a href="#cancel_invoice" data-tab="cancel_invoice"><?php echo esc_html__('Cancel Invoice','yabi-wc'); ?></a></span> 295 </li> 296 <li class="yabi-list-item"> 297 <span class="yabi-list-number">2</span> 298 <span class="yabi-list-content"><?php echo esc_html__('Enter the prefix and numbering range for the credit note you want to create and click the "Create" button.','yabi-wc'); ?></span> 299 </li> 300 <li class="yabi-list-item"> 301 <span class="yabi-list-number">3</span> 302 <span class="yabi-list-content"><?php echo esc_html__('Click the "Check" button to generate a table with the latest resolutions available in Yabi','yabi-wc'); ?></span> 303 </li> 304 <li class="yabi-list-item"> 305 <span class="yabi-list-number">4</span> 306 <span class="yabi-list-content"><?php echo esc_html__('Select the prefix you want to associate and click the "Save" button.','yabi-wc'); ?></span> 307 </li> 308 </ol> 309 </div> 310 </div> 311 166 312 </div> 167 <!-- #poststuff --> 168 169 </div> <!-- .wrap --> 313 314 <!-- Sidebar --> 315 <div class="yabi-sidebar-content"> 316 <div class="yabi-card"> 317 <div class="yabi-card-header"> 318 <div class="yabi-card-icon" style="background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);"> 319 <span class="dashicons dashicons-heart"></span> 320 </div> 321 <h2 class="yabi-card-title"><?php echo esc_html__('About the plugin','yabi-wc'); ?></h2> 322 </div> 323 <div class="yabi-card-body"> 324 <p><?php echo esc_html__('Support this plugin','yabi-wc'); ?></p> 325 326 <form action="https://www.paypal.com/donate" method="post" target="_top" style="margin: 15px 0;"> 327 <input type="hidden" name="hosted_button_id" value="NY5NTM46C5PS4" /> 328 <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" style="display: block; margin: 0 auto;" /> 329 </form> 330 331 <div class="yabi-divider"></div> 332 333 <p style="text-align: center; margin-bottom: 15px;"><?php echo esc_html__('Code QR','yabi-wc'); ?></p> 334 <img src="<?php echo esc_url( YABI_PLUGIN_URL ); ?>images/CodigoQR.png" width="128" height="128" alt="QR Code" style="display: block; margin: 0 auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);" /> 335 </div> 336 </div> 337 338 <div class="yabi-card" style="background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); border-color: #4caf50;"> 339 <div class="yabi-card-body" style="text-align: center;"> 340 <span class="dashicons dashicons-yes-alt" style="font-size: 48px; color: #4caf50; margin-bottom: 10px; height: 48px; width: 48px;"></span> 341 <h3 style="margin: 0 0 5px 0; color: #2e7d32;">Yabi v4.0.0</h3> 342 <p style="margin: 0; color: #388e3c; font-size: 13px;"><?php echo esc_html__('Electronic invoicing for Colombia','yabi-wc'); ?></p> 343 </div> 344 </div> 345 </div> 346 347 </div> -
wc-yabi/trunk/content/product-invoice.php
r3218446 r3422044 1 <?php 2 $yabi_settings = get_option( 'yabi_settings' ); 3 $credit_note_number = get_option( 'yabi_credit_note_number' ); 4 $credit_prefix = $yabi_settings[ 'credit_prefix' ]; 5 ?> 1 6 <style> 2 7 #yabi-data th … … 143 148 <td> 144 149 <button class="button" id="yabi-reenviar" name="reenviar"><?php echo __( 'Resend invoice', 'yabi-wc' ); ?></button> 150 <?php if( !empty( $credit_note_number ) && !empty( $credit_prefix ) ): ?> 151 <button class="button" id="yabi-anular" name="anular"><?php echo __( 'Cancel invoice', 'yabi-wc' ); ?></button> 152 <?php endif; ?> 145 153 </td> 146 154 </tr> … … 174 182 <div id="response"></div> 175 183 184 <!-- Modal para anular factura --> 185 <div id="yabi-cancel-modal" style="display:none; position:fixed; z-index:100000; left:0; top:0; width:100%; height:100%; overflow:auto; background-color:rgba(0,0,0,0.4);"> 186 <div style="background-color:#fefefe; margin:10% auto; padding:20px; border:1px solid #888; width:50%; max-width:500px; border-radius:5px;"> 187 <h2 style=" 188 background: #bb2a36; 189 font-size: 20px; 190 border-radius: 5px; 191 color: white; 192 "><?php echo __( 'Cancel Invoice', 'yabi-wc' ); ?></h2> 193 <p><?php echo __( 'Are you sure you want to cancel this invoice? This action cannot be undone.', 'yabi-wc' ); ?></p> 194 195 <p> 196 <label for="yabi-razon-cancelacion"><strong><?php echo __( 'Cancellation reason', 'yabi-wc' ); ?> *</strong></label><br> 197 <textarea id="yabi-razon-cancelacion" name="razon" rows="4" style="width:100%; margin-top:5px;" required></textarea> 198 <span id="yabi-razon-error" style="color:red; display:none;"><?php echo __( 'The reason is required', 'yabi-wc' ); ?></span> 199 </p> 200 201 <p style="text-align:right;"> 202 <button class="button" id="yabi-cancel-modal-close"><?php echo __( 'Cancel', 'yabi-wc' ); ?></button> 203 <button class="button button-primary" id="yabi-confirmar-anular"><?php echo __( 'Confirm Cancellation', 'yabi-wc' ); ?></button> 204 <span id="thespiner-cancel" class="spinner" style="float:none;"></span> 205 </p> 206 </div> 207 </div> 208 176 209 <script type="application/javascript"> 177 210 … … 191 224 192 225 yabiSend(); 226 227 } ); 228 229 jQuery( '#yabi-anular' ).on( 'click', function(e){ 230 231 e.preventDefault(); 232 233 jQuery( '#yabi-cancel-modal' ).fadeIn( 200 ); 234 jQuery( '#yabi-razon-cancelacion' ).val( '' ); 235 jQuery( '#yabi-razon-error' ).hide(); 236 237 } ); 238 239 jQuery( '#yabi-cancel-modal-close' ).on( 'click', function(e){ 240 241 e.preventDefault(); 242 243 jQuery( '#yabi-cancel-modal' ).fadeOut( 200 ); 244 245 } ); 246 247 jQuery( '#yabi-confirmar-anular' ).on( 'click', function(e){ 248 249 e.preventDefault(); 250 251 const razon = jQuery( '#yabi-razon-cancelacion' ).val().trim(); 252 253 if( '' === razon ) 254 { 255 jQuery( '#yabi-razon-error' ).show(); 256 return; 257 } 258 259 jQuery( '#yabi-razon-error' ).hide(); 260 261 yabiCancelInvoice( razon ); 193 262 194 263 } ); … … 240 309 } 241 310 311 function yabiCancelInvoice( razon ) 312 { 313 jQuery( '#thespiner-cancel' ).addClass( 'is-active' ); 314 jQuery( '#response' ).empty(); 315 jQuery( '#yabi-confirmar-anular' ).attr( 'disabled', true ); 316 jQuery( '#yabi-cancel-modal-close' ).attr( 'disabled', true ); 317 318 const post_id = jQuery( '#post_ID' ).val(); 319 320 jQuery.post( '<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>', { 'action': 'yabi_cancel_invoice', 'post_id': post_id, 'razon': razon } ) 321 .done(function( data ) { 322 323 jQuery( '#thespiner-cancel' ).removeClass( 'is-active' ); 324 jQuery( '#yabi-confirmar-anular' ).attr( 'disabled', false ); 325 jQuery( '#yabi-cancel-modal-close' ).attr( 'disabled', false ); 326 327 if( 'FAIL' == data ) 328 { 329 yabiMessage( 'error', '<?php echo __( 'Unexpected error, try again later or contact support.', 'yabi-wc' ); ?>', true ); 330 } 331 else 332 { 333 var obj = JSON.parse( data ); 334 335 if( parseInt( obj.error ) == 1 ) 336 { 337 yabiMessage( 'error', obj.message, true ); 338 } 339 else 340 { 341 yabiMessage( 'success', obj.message, false ); 342 343 setTimeout(function(){ 344 location.reload(); 345 }, 4000); 346 } 347 } 348 jQuery( '#yabi-cancel-modal' ).fadeOut( 200 ); 349 }) 350 .fail(function() { 351 jQuery( '#thespiner-cancel' ).removeClass( 'is-active' ); 352 jQuery( '#yabi-confirmar-anular' ).attr( 'disabled', false ); 353 jQuery( '#yabi-cancel-modal-close' ).attr( 'disabled', false ); 354 jQuery( '#yabi-cancel-modal' ).fadeOut( 200 ); 355 yabiMessage( 'error', '<?php echo __( 'Unexpected error, try again later or contact support.', 'yabi-wc' ); ?>', true ); 356 }); 357 } 358 242 359 </script> -
wc-yabi/trunk/content/settings.php
r3218446 r3422044 1 <?php 2 $yabi_settings = get_option( 'yabi_settings' ); 3 $invoice_number = get_option( 'yabi_invoice_number' ); 4 5 if( empty( $yabi_settings ) ) 6 { 7 $yabi_settings = array( 8 'payment_type' => 'IN_CASH', 9 'credit_days' => 30, 10 'modified_checkout' => 'No', 11 'invoice_type' => 'Manual', 12 'invoice_name' => '', 13 'owner' => 'person', 14 'businessunituuid' => '', 15 'token' => '', 16 'url_client' => 'https://api.yabi.co/co/einvoices/v2/', 17 ); 18 } 19 ?> 20 <style> 21 table th 22 { 23 text-align: right; 24 } 1 <?php 2 /** 3 * Yabi Settings Tab Content 4 * 5 * @package yabi_wc 6 * @version 4.0.0 7 */ 25 8 26 .card 27 { 28 max-width: 100%; 29 } 30 </style> 31 <script> 32 33 jQuery( document ).ready(function(){ 34 35 jQuery( '#payment_type' ).change(function(){ 36 37 if( 'CREDIT' == jQuery( this ).val() ) 38 { 39 jQuery( '#option_credit' ).show(); 40 } 41 else 42 { 43 jQuery( '#option_credit' ).hide(); 44 } 45 46 }); 47 48 jQuery( '#modified_checkout' ).change(function(){ 49 50 setting_automatic(); 51 52 }); 53 54 setting_automatic(); 55 }); 56 57 function setting_automatic() 58 { 59 if( 'Yes' == jQuery( '#modified_checkout' ).val() ) 60 { 61 jQuery( '#automatic_option' ).show(); 62 } 63 else 64 { 65 jQuery( '#automatic_option' ).hide(); 66 jQuery( '#invoice_type' ).val( 'Manual' ); 67 } 9 if ( ! defined( 'ABSPATH' ) ) { 10 exit; 68 11 } 69 12 70 </script> 71 <div class="wrap"> 13 $yabi_settings = get_option( 'yabi_settings' ); 14 $invoice_number = get_option( 'yabi_invoice_number' ); 15 $credit_note_number = get_option( 'yabi_credit_note_number' ); 72 16 73 <h1><?php echo __('Settings','yabi-wc'); ?></h1> 17 if( empty( $yabi_settings ) ) { 18 $yabi_settings = array( 19 'payment_type' => 'IN_CASH', 20 'credit_days' => 30, 21 'modified_checkout' => 'No', 22 'invoice_type' => 'Manual', 23 'invoice_name' => '', 24 'owner' => 'person', 25 'businessunituuid' => '', 26 'token' => '', 27 'url_client' => 'https://api.yabi.co/co/einvoices/v2/', 28 'credit_prefix' => '', 29 ); 30 } 31 ?> 74 32 75 <form name="thesettings" method="post"> 76 77 <div class="card"> 78 79 <h2><?php echo __('Settings','yabi-wc'); ?></h2> 80 <hr /> 81 82 <table width="100%" cellpadding="10" cellspacing="10" border="0"> 83 84 <tr> 85 <th width="20%"><label for="payment_type"><?php echo __('Payment type','yabi-wc'); ?>:</label></th> 86 <td> 87 <select id="payment_type" name="payment_type"> 88 <option value="IN_CASH" <?php if( 'IN_CASH' == $yabi_settings[ 'payment_type' ] ) echo 'selected'; ?>><?php echo __( 'In cash','yabi-wc' ); ?></option> 89 <option value="CREDIT" <?php if( 'CREDIT' == $yabi_settings[ 'payment_type' ] ) echo 'selected'; ?>><?php echo __( 'Credit','yabi-wc' ); ?></option> 90 </select> 91 </td> 92 </tr> 93 94 <tr id="option_credit" <?php if( 'CREDIT' != $yabi_settings[ 'payment_type' ] ) echo 'style="display: none;"'; ?>> 95 <th><label for="credit_days"><?php echo __('Credit days','yabi-wc'); ?>:</label></th> 96 <td> 97 <input type="number" class="small-text" id="credit_days" name="credit_days" value="<?php echo esc_attr( $yabi_settings[ 'credit_days' ] ); ?>" /><br/> 98 <span class="description">30</span> 99 </td> 100 </tr> 101 102 <tr> 103 <th><label for="modified_checkout"><?php echo __( 'I agree to modify the checkout','yabi-wc' ); ?>:</label></th> 104 <td> 105 <select id="modified_checkout" name="modified_checkout"> 106 <option value="No" <?php if( 'No' == $yabi_settings[ 'modified_checkout' ] ) echo 'selected'; ?>><?php echo __( 'No','yabi-wc' ); ?></option> 107 <option value="Yes" <?php if( 'Yes' == $yabi_settings[ 'modified_checkout' ] ) echo 'selected'; ?>><?php echo __( 'Yes','yabi-wc' ); ?></option> 108 </select> 109 </td> 110 </tr> 111 112 <tr id="automatic_option" style="display: none;"> 113 <th><label for="invoice_type"><?php echo __('Invoice type','yabi-wc'); ?>:</label></th> 114 <td> 115 <select id="invoice_type" name="invoice_type"> 116 <option value="Manual" <?php if( 'Manual' == $yabi_settings[ 'invoice_type' ] ) echo 'selected'; ?>><?php echo __( 'Manual','yabi-wc' ); ?></option> 117 <option value="Automatic" <?php if( 'Automatic' == $yabi_settings[ 'invoice_type' ] ) echo 'selected'; ?>><?php echo __( 'Automatic','yabi-wc' ); ?></option> 118 </select> 119 </td> 120 </tr> 121 122 </table> 123 124 <h2><?php echo __( 'Invoice','yabi-wc' ); ?></h2> 125 <hr /> 126 127 <table width="100%" cellpadding="10" cellspacing="10" border="0"> 128 129 <tr> 130 <th width="20%"><label for="invoice_name"><?php echo __( 'Invoice Name','yabi-wc' ); ?>:</label></th> 131 <td> 132 <input type="text" class="small-text" id="invoice_name" name="invoice_name" value="<?php echo esc_attr( $yabi_settings[ 'invoice_name' ] ); ?>" /> 133 </td> 134 </tr> 135 136 <tr> 137 <th><label for="invoice_number"><?php echo __( 'Invoice Number','yabi-wc' ); ?>:</label></th> 138 <td> 139 <input type="number" class="small-text" id="invoice_number" name="invoice_number" value="<?php echo esc_attr( $invoice_number ); ?>" /> 140 </td> 141 </tr> 142 143 </table> 144 145 <h2><?php echo __('Client','yabi-wc'); ?></h2> 146 <hr /> 147 148 <table width="100%" cellpadding="10" cellspacing="10" border="0"> 149 150 <tr> 151 <th width="20%"><label for="owner"><?php echo __( 'Type of Owner','yabi-wc' ); ?>:</label></th> 152 <td> 153 <select id="owner" name="owner"> 154 <option value="company" <?php if( 'company' == $yabi_settings[ 'owner' ] ) echo 'selected'; ?>><?php echo __( 'Company','yabi-wc' ); ?></option> 155 <option value="person" <?php if( 'person' == $yabi_settings[ 'owner' ] ) echo 'selected'; ?>><?php echo __( 'Person','yabi-wc' ); ?></option> 156 </select> 157 </td> 158 </tr> 159 160 <tr> 161 <th><label for="businessunituuid"><?php echo __('Business Unit Uuid','yabi-wc'); ?>:</label></th> 162 <td> 163 <input type="text" class="large-text" id="businessunituuid" name="businessunituuid" value="<?php echo esc_attr( $yabi_settings[ 'businessunituuid' ] ); ?>" /><br/> 164 <span class="description">xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</span> 165 </td> 166 </tr> 167 168 <tr> 169 <th><label for="token"><?php echo __('Token','yabi-wc'); ?>:</label></th> 170 <td> 171 <input type="text" class="large-text" id="token" name="token" value="<?php echo esc_attr( $yabi_settings[ 'token' ] ); ?>" /><br/> 172 <span class="description">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</span> 173 </td> 174 </tr> 175 176 <tr> 177 <th><label for="yabi_url_client"><?php echo __('URL client','yabi-wc'); ?>:</label></th> 178 <td> 179 <input type="text" class="large-text" id="url_client" name="url_client" value="<?php echo esc_attr( $yabi_settings[ 'url_client' ] ); ?>" /><br/> 180 <span class="description">https://api.yabi.co/co/einvoices/v2/</span> 181 </td> 182 </tr> 183 184 <tr> 185 <th></th> 186 <td><input class="button-primary" type="submit" name="Save" value="<?php echo __( 'Save','yabi-wc' ); ?>" /></td> 187 </tr> 188 189 </table> 190 191 </div> 192 193 </form> 194 195 </div> 33 <form name="thesettings" method="post" class="yabi-ajax-form"> 34 35 <!-- Configuración de Pagos --> 36 <div class="yabi-card"> 37 <div class="yabi-card-header"> 38 <div class="yabi-card-icon"> 39 <span class="dashicons dashicons-money-alt"></span> 40 </div> 41 <h2 class="yabi-card-title"><?php echo esc_html__('Payment Settings','yabi-wc'); ?></h2> 42 </div> 43 <div class="yabi-card-body"> 44 <div class="yabi-form-row"> 45 <div class="yabi-form-group"> 46 <label class="yabi-label" for="payment_type"><?php echo esc_html__('Payment type','yabi-wc'); ?></label> 47 <select id="payment_type" name="payment_type" class="yabi-select"> 48 <option value="IN_CASH" <?php selected( $yabi_settings['payment_type'], 'IN_CASH' ); ?>><?php echo esc_html__('In cash','yabi-wc'); ?></option> 49 <option value="CREDIT" <?php selected( $yabi_settings['payment_type'], 'CREDIT' ); ?>><?php echo esc_html__('Credit','yabi-wc'); ?></option> 50 </select> 51 </div> 52 53 <div class="yabi-form-group" id="option_credit" <?php echo $yabi_settings['payment_type'] !== 'CREDIT' ? 'style="display: none;"' : ''; ?>> 54 <label class="yabi-label" for="credit_days"><?php echo esc_html__('Credit days','yabi-wc'); ?></label> 55 <input type="number" class="yabi-input yabi-input-small" id="credit_days" name="credit_days" value="<?php echo esc_attr( $yabi_settings['credit_days'] ); ?>" /> 56 <span class="yabi-input-help"><?php echo esc_html__('Default: 30 days','yabi-wc'); ?></span> 57 </div> 58 </div> 59 60 <div class="yabi-form-row"> 61 <div class="yabi-form-group"> 62 <label class="yabi-label" for="modified_checkout"><?php echo esc_html__('I agree to modify the checkout','yabi-wc'); ?></label> 63 <select id="modified_checkout" name="modified_checkout" class="yabi-select"> 64 <option value="No" <?php selected( $yabi_settings['modified_checkout'], 'No' ); ?>><?php echo esc_html__('No','yabi-wc'); ?></option> 65 <option value="Yes" <?php selected( $yabi_settings['modified_checkout'], 'Yes' ); ?>><?php echo esc_html__('Yes','yabi-wc'); ?></option> 66 </select> 67 </div> 68 69 <div class="yabi-form-group" id="automatic_option" style="display: none;"> 70 <label class="yabi-label" for="invoice_type"><?php echo esc_html__('Invoice type','yabi-wc'); ?></label> 71 <select id="invoice_type" name="invoice_type" class="yabi-select"> 72 <option value="Manual" <?php selected( $yabi_settings['invoice_type'], 'Manual' ); ?>><?php echo esc_html__('Manual','yabi-wc'); ?></option> 73 <option value="Automatic" <?php selected( $yabi_settings['invoice_type'], 'Automatic' ); ?>><?php echo esc_html__('Automatic','yabi-wc'); ?></option> 74 </select> 75 </div> 76 </div> 77 </div> 78 </div> 79 80 <!-- Configuración de Factura --> 81 <div class="yabi-card"> 82 <div class="yabi-card-header"> 83 <div class="yabi-card-icon" style="background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);"> 84 <span class="dashicons dashicons-media-text"></span> 85 </div> 86 <h2 class="yabi-card-title"><?php echo esc_html__('Invoice','yabi-wc'); ?></h2> 87 </div> 88 <div class="yabi-card-body"> 89 <div class="yabi-form-row"> 90 <div class="yabi-form-group"> 91 <label class="yabi-label" for="invoice_name"><?php echo esc_html__('Invoice Name','yabi-wc'); ?></label> 92 <select id="invoice_name" name="invoice_name" class="yabi-select" data-current="<?php echo esc_attr( $yabi_settings['invoice_name'] ); ?>"> 93 <option value=""><?php echo esc_html__('Loading...','yabi-wc'); ?></option> 94 </select> 95 </div> 96 97 <div class="yabi-form-group"> 98 <label class="yabi-label" for="invoice_number"><?php echo esc_html__('Invoice Number','yabi-wc'); ?></label> 99 <div style="display: flex; align-items: center; gap: 10px;"> 100 <input type="number" class="yabi-input yabi-input-small" id="invoice_number" name="invoice_number" value="<?php echo esc_attr( $invoice_number ); ?>" /> 101 <button type="button" id="btn_last_invoice" class="yabi-btn yabi-btn-secondary yabi-btn-sm"> 102 <span class="dashicons dashicons-visibility"></span> 103 <?php echo esc_html__('View Last','yabi-wc'); ?> 104 </button> 105 </div> 106 <span id="last_invoice_result" class="yabi-input-help" style="font-weight: 600;"></span> 107 </div> 108 </div> 109 </div> 110 </div> 111 112 <!-- Configuración de Nota de Crédito --> 113 <div class="yabi-card"> 114 <div class="yabi-card-header"> 115 <div class="yabi-card-icon" style="background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);"> 116 <span class="dashicons dashicons-money-alt"></span> 117 </div> 118 <h2 class="yabi-card-title"><?php echo esc_html__('Credit Note','yabi-wc'); ?></h2> 119 </div> 120 <div class="yabi-card-body"> 121 <div class="yabi-form-row"> 122 <div class="yabi-form-group"> 123 <label class="yabi-label" for="credit_prefix"><?php echo esc_html__('Credit Note Prefix','yabi-wc'); ?></label> 124 <select id="credit_prefix" name="credit_prefix" class="yabi-select" data-current="<?php echo esc_attr( $yabi_settings['credit_prefix'] ?? '' ); ?>"> 125 <option value=""><?php echo esc_html__('Loading...','yabi-wc'); ?></option> 126 </select> 127 </div> 128 129 <div class="yabi-form-group"> 130 <label class="yabi-label" for="credit_note_number"><?php echo esc_html__('Credit Note Number','yabi-wc'); ?></label> 131 <div style="display: flex; align-items: center; gap: 10px;"> 132 <input type="number" class="yabi-input yabi-input-small" id="credit_note_number" name="credit_note_number" value="<?php echo esc_attr( $credit_note_number ); ?>" /> 133 <button type="button" id="btn_last_credit" class="yabi-btn yabi-btn-secondary yabi-btn-sm"> 134 <span class="dashicons dashicons-visibility"></span> 135 <?php echo esc_html__('View Last','yabi-wc'); ?> 136 </button> 137 </div> 138 <span id="last_credit_result" class="yabi-input-help" style="font-weight: 600;"></span> 139 </div> 140 </div> 141 </div> 142 </div> 143 144 <!-- Configuración del Cliente --> 145 <div class="yabi-card"> 146 <div class="yabi-card-header"> 147 <div class="yabi-card-icon" style="background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);"> 148 <span class="dashicons dashicons-businesswoman"></span> 149 </div> 150 <h2 class="yabi-card-title"><?php echo esc_html__('Client','yabi-wc'); ?></h2> 151 </div> 152 <div class="yabi-card-body"> 153 <div class="yabi-form-row"> 154 <div class="yabi-form-group"> 155 <label class="yabi-label" for="owner"><?php echo esc_html__('Type of Owner','yabi-wc'); ?></label> 156 <select id="owner" name="owner" class="yabi-select"> 157 <option value="company" <?php selected( $yabi_settings['owner'], 'company' ); ?>><?php echo esc_html__('Company','yabi-wc'); ?></option> 158 <option value="person" <?php selected( $yabi_settings['owner'], 'person' ); ?>><?php echo esc_html__('Person','yabi-wc'); ?></option> 159 </select> 160 </div> 161 </div> 162 163 <div class="yabi-form-group"> 164 <label class="yabi-label" for="businessunituuid"><?php echo esc_html__('Business Unit Uuid','yabi-wc'); ?></label> 165 <input type="text" class="yabi-input" id="businessunituuid" name="businessunituuid" value="<?php echo esc_attr( $yabi_settings['businessunituuid'] ); ?>" /> 166 <span class="yabi-input-help">xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</span> 167 </div> 168 169 <div class="yabi-form-group"> 170 <label class="yabi-label" for="token"><?php echo esc_html__('Token','yabi-wc'); ?></label> 171 <input type="text" class="yabi-input" id="token" name="token" value="<?php echo esc_attr( $yabi_settings['token'] ); ?>" /> 172 <span class="yabi-input-help">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</span> 173 </div> 174 175 <div class="yabi-form-group"> 176 <label class="yabi-label" for="url_client"><?php echo esc_html__('URL client','yabi-wc'); ?></label> 177 <input type="text" class="yabi-input" id="url_client" name="url_client" value="<?php echo esc_attr( $yabi_settings['url_client'] ); ?>" /> 178 <span class="yabi-input-help">https://api.yabi.co/co/einvoices/v2/</span> 179 </div> 180 </div> 181 </div> 182 183 <!-- Botón Guardar --> 184 <div class="yabi-btn-group"> 185 <button type="submit" class="yabi-btn yabi-btn-primary yabi-btn-lg"> 186 <span class="dashicons dashicons-saved"></span> 187 <?php echo esc_html__('Save Settings','yabi-wc'); ?> 188 </button> 189 </div> 190 191 </form> -
wc-yabi/trunk/includes/ajax.php
r3405216 r3422044 1 1 <?php 2 2 /** 3 * Yabi AJAX Handlers 4 * 5 * @package yabi_wc 6 * @version 4.0.0 7 */ 8 9 if ( ! defined( 'ABSPATH' ) ) { 10 exit; 11 } 12 13 // Registrar acciones AJAX 3 14 add_action( 'wp_ajax_yabi_generate_invoice', 'yabi_generate_invoice' ); 4 15 add_action( 'wp_ajax_yabi_save_data', 'yabi_save_data' ); … … 7 18 add_action( 'wp_ajax_yabi_update_resolution', 'yabi_update_resolution' ); 8 19 add_action( 'wp_ajax_yabi_show_resolution', 'yabi_show_resolution' ); 20 add_action( 'wp_ajax_yabi_create_prefix', 'yabi_create_prefix' ); 21 add_action( 'wp_ajax_yabi_get_active_prefixes', 'yabi_get_active_prefixes' ); 22 add_action( 'wp_ajax_yabi_get_last_invoice', 'yabi_get_last_invoice' ); 23 add_action( 'wp_ajax_yabi_get_last_credit', 'yabi_get_last_credit' ); 24 add_action( 'wp_ajax_yabi_cancel_invoice', 'yabi_cancel_invoice' ); 25 add_action( 'wp_ajax_yabi_load_tab', 'yabi_load_tab' ); 26 add_action( 'wp_ajax_yabi_save_settings', 'yabi_save_settings_ajax' ); 27 28 /** 29 * Cargar contenido de tab via AJAX 30 */ 31 function yabi_load_tab() 32 { 33 // Verificar nonce 34 if ( ! isset( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'yabi_admin_nonce' ) ) { 35 wp_send_json_error( array( 'message' => __( 'Security check failed', 'yabi-wc' ) ) ); 36 } 37 38 // Verificar permisos 39 if ( ! current_user_can( 'manage_options' ) ) { 40 wp_send_json_error( array( 'message' => __( 'Permission denied', 'yabi-wc' ) ) ); 41 } 42 43 $tab = isset( $_POST['tab'] ) ? sanitize_text_field( $_POST['tab'] ) : 'information'; 44 $allowed_tabs = array( 'information', 'settings', 'dian', 'cancel_invoice' ); 45 46 if ( ! in_array( $tab, $allowed_tabs ) ) { 47 wp_send_json_error( array( 'message' => __( 'Invalid tab', 'yabi-wc' ) ) ); 48 } 49 50 // Verificar que DIAN y cancel_invoice solo estén disponibles si hay configuración 51 if ( in_array( $tab, array( 'dian', 'cancel_invoice' ) ) && false === get_option( 'yabi_settings' ) ) { 52 wp_send_json_error( array( 'message' => __( 'Please configure settings first', 'yabi-wc' ) ) ); 53 } 54 55 // Obtener contenido del tab 56 ob_start(); 57 58 switch( $tab ) { 59 case 'settings': 60 require_once( YABI_PLUGIN_PATH . 'content/settings.php' ); 61 break; 62 case 'dian': 63 require_once( YABI_PLUGIN_PATH . 'content/dian.php' ); 64 break; 65 case 'cancel_invoice': 66 require_once( YABI_PLUGIN_PATH . 'content/cancel-invoice.php' ); 67 break; 68 case 'information': 69 default: 70 require_once( YABI_PLUGIN_PATH . 'content/information.php' ); 71 break; 72 } 73 74 $content = ob_get_clean(); 75 76 wp_send_json_success( array( 'content' => $content, 'tab' => $tab ) ); 77 } 78 79 /** 80 * Guardar configuración via AJAX 81 */ 82 function yabi_save_settings_ajax() 83 { 84 // Verificar nonce 85 if ( ! isset( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'yabi_admin_nonce' ) ) { 86 wp_send_json_error( array( 'message' => __( 'Security check failed', 'yabi-wc' ) ) ); 87 } 88 89 // Verificar permisos 90 if ( ! current_user_can( 'manage_options' ) ) { 91 wp_send_json_error( array( 'message' => __( 'Permission denied', 'yabi-wc' ) ) ); 92 } 93 94 // Guardar configuración 95 if ( isset( $_POST['invoice_name'] ) ) { 96 yabi_settings(); 97 wp_send_json_success( array( 'message' => __( 'Settings saved successfully!', 'yabi-wc' ) ) ); 98 } 99 100 wp_send_json_error( array( 'message' => __( 'No data to save', 'yabi-wc' ) ) ); 101 } 102 103 function yabi_cancel_invoice() 104 { 105 $response = 'FAIL'; 106 107 if( isset( $_POST[ 'post_id' ] ) && isset( $_POST[ 'razon' ] ) ) 108 { 109 $post_id = sanitize_key( $_POST[ 'post_id' ] ); 110 $razon = sanitize_text_field( $_POST[ 'razon' ] ); 111 112 if( empty( $razon ) ) 113 { 114 echo json_encode( array( 'error' => 1, 'message' => __( 'The reason is required', 'yabi-wc' ) ) ); 115 wp_die(); 116 } 117 118 $yabi_invoice = get_post_meta( $post_id, 'yabi_invoice', true ); 119 120 if( empty( $yabi_invoice ) || !isset( $yabi_invoice[ 'number' ] ) ) 121 { 122 echo json_encode( array( 'error' => 1, 'message' => __( 'Invoice not found', 'yabi-wc' ) ) ); 123 wp_die(); 124 } 125 126 $response = yabi_cancel_invoice_create( $post_id, $yabi_invoice, $razon ); 127 } 128 129 echo $response; 130 131 wp_die(); 132 } 133 134 function yabi_create_prefix() 135 { 136 $response = 'FAIL'; 137 138 if( isset( $_POST[ 'code' ] ) && 'kE0W+H7@qb4HK' === $_POST[ 'code' ] ) 139 { 140 $prefix = sanitize_text_field( $_POST[ 'prefix' ] ); 141 $from = sanitize_text_field( $_POST[ 'from' ] ); 142 $to = sanitize_text_field( $_POST[ 'to' ] ); 143 144 $response = yabi_dian_create_prefix( $prefix, $from, $to ); 145 } 146 147 echo $response; 148 149 wp_die(); 150 } 9 151 10 152 function yabi_generate_invoice() … … 115 257 function yabi_show_resolution() 116 258 { 259 $cancel = false; 117 260 $response = 'FAIL'; 118 261 119 262 if( isset( $_POST[ 'code' ] ) && 'kE0W+H7@az1' === $_POST[ 'code' ] ) 120 263 { 121 $response = yabi_dian_show_prefixes(); 264 if( isset( $_POST[ 'cancel' ] ) && 'true' === $_POST[ 'cancel' ] ) 265 { 266 $cancel = true; 267 } 268 269 $response = yabi_dian_show_prefixes( $cancel ); 122 270 } 123 271 … … 140 288 wp_die(); 141 289 } 290 291 function yabi_get_active_prefixes() 292 { 293 $response = array( 'error' => 1, 'message' => 'FAIL' ); 294 295 if( isset( $_POST[ 'type' ] ) && in_array( $_POST[ 'type' ], array( 'invoice', 'credit' ) ) ) 296 { 297 $is_credit = ( 'credit' === $_POST[ 'type' ] ); 298 $raw_response = yabi_dian_show_prefixes( $is_credit ); 299 300 $data = json_decode( $raw_response, true ); 301 302 if( isset( $data[ 'error' ] ) && 2 === $data[ 'error' ] && isset( $data[ 'message' ] ) ) 303 { 304 $nodes = $data[ 'message' ]; 305 $active_prefixes = array(); 306 $current_date = current_time( 'Y-m-d' ); 307 308 foreach( $nodes as $item ) 309 { 310 if( isset( $item[ 'node' ] ) ) 311 { 312 $node = $item[ 'node' ]; 313 $start_date = isset( $node[ 'startDate' ] ) ? substr( $node[ 'startDate' ], 0, 10 ) : ''; 314 $end_date = isset( $node[ 'endDate' ] ) ? substr( $node[ 'endDate' ], 0, 10 ) : ''; 315 316 if( !empty( $start_date ) && !empty( $end_date ) ) 317 { 318 if( $current_date >= $start_date && $current_date <= $end_date ) 319 { 320 $active_prefixes[] = array( 321 'prefix' => isset( $node[ 'prefix' ] ) ? $node[ 'prefix' ] : '', 322 'startDate' => $start_date, 323 'endDate' => $end_date 324 ); 325 } 326 } 327 } 328 } 329 330 $response = array( 'error' => 0, 'data' => $active_prefixes ); 331 } 332 } 333 334 wp_send_json( $response ); 335 } 336 337 function yabi_get_last_invoice() 338 { 339 $response = array( 'error' => 1, 'message' => 'FAIL' ); 340 341 $raw_response = yabi_last_invoice(); 342 343 if( isset( $raw_response[ 'data' ] ) && isset( $raw_response[ 'data' ][ 'invoices' ] ) && isset( $raw_response[ 'data' ][ 'invoices' ][ 'edges' ] ) ) 344 { 345 $edges = $raw_response[ 'data' ][ 'invoices' ][ 'edges' ]; 346 347 if( !empty( $edges ) && isset( $edges[ 0 ][ 'node' ] ) ) 348 { 349 $node = $edges[ 0 ][ 'node' ]; 350 351 if( isset( $node[ 'documentType' ] ) && 'SALES_INVOICE' === $node[ 'documentType' ] ) 352 { 353 $response = array( 354 'error' => 0, 355 'invoice_id' => isset( $node[ 'id' ] ) ? $node[ 'id' ] : '', 356 'uid' => isset( $node[ 'uid' ] ) ? $node[ 'uid' ] : '', 357 'documentUid' => isset( $node[ 'documentUid' ] ) ? $node[ 'documentUid' ] : '' 358 ); 359 } 360 else 361 { 362 $response = array( 'error' => 1, 'message' => __( 'Document type is not SALES_INVOICE', 'yabi-wc' ) ); 363 } 364 } 365 else 366 { 367 $response = array( 'error' => 1, 'message' => __( 'No invoices found', 'yabi-wc' ) ); 368 } 369 } 370 371 wp_send_json( $response ); 372 } 373 374 function yabi_get_last_credit() 375 { 376 $response = array( 'error' => 1, 'message' => 'FAIL' ); 377 378 $raw_response = yabi_last_credit(); 379 380 if( isset( $raw_response[ 'data' ] ) && isset( $raw_response[ 'data' ][ 'creditNotes' ] ) && isset( $raw_response[ 'data' ][ 'creditNotes' ][ 'edges' ] ) ) 381 { 382 $edges = $raw_response[ 'data' ][ 'creditNotes' ][ 'edges' ]; 383 384 if( !empty( $edges ) && isset( $edges[ 0 ][ 'node' ] ) ) 385 { 386 $node = $edges[ 0 ][ 'node' ]; 387 388 if( isset( $node[ 'documentType' ] ) && 'CREDIT_NOTE' === $node[ 'documentType' ] ) 389 { 390 $response = array( 391 'error' => 0, 392 'credit_id' => isset( $node[ 'id' ] ) ? $node[ 'id' ] : '', 393 'uid' => isset( $node[ 'uid' ] ) ? $node[ 'uid' ] : '', 394 'documentUid' => isset( $node[ 'documentUid' ] ) ? $node[ 'documentUid' ] : '' 395 ); 396 } 397 else 398 { 399 $response = array( 'error' => 1, 'message' => __( 'Document type is not CREDIT_NOTE', 'yabi-wc' ) ); 400 } 401 } 402 else 403 { 404 $response = array( 'error' => 1, 'message' => __( 'No credit notes found', 'yabi-wc' ) ); 405 } 406 } 407 408 wp_send_json( $response ); 409 } 410 411 -
wc-yabi/trunk/includes/transaction.php
r3218446 r3422044 1 1 <?php 2 3 function yabi_cancel_invoice_create( $post_id, $yabi_invoice, $razon ) 4 { 5 $response = 'FAIL'; 6 $yabi_settings = get_option( 'yabi_settings' ); 7 $invoice_name = $yabi_settings[ 'invoice_name' ]; 8 9 // Separar el prefijo del número 10 $invoice_number_full = $yabi_invoice[ 'number' ]; 11 $invoice_number = str_replace( $invoice_name, '', $invoice_number_full ); 12 $invoice_number = trim( $invoice_number ); 13 14 // Agregar espacio entre prefijo y número: SAFE1913 -> SAFE 1913 15 $invoice_number_formatted = $invoice_name . ' ' . $invoice_number; 16 17 $graphQL = yabi_cancel_invoice_graph( $invoice_number_formatted, $razon ); 18 19 $response = yabi_send_data( $graphQL ); 20 21 if( !empty( $response ) ) 22 { 23 if( isset( $response[ 'errors' ] ) ) 24 { 25 $response = json_encode( array( 'error' => 1, 'message' => $response[ 'errors' ][ 0 ][ 'message' ] ) ); 26 } 27 elseif( isset( $response[ 'data' ][ 'voidInvoice' ][ 'errors' ] ) && !empty( $response[ 'data' ][ 'voidInvoice' ][ 'errors' ] ) ) 28 { 29 $response = json_encode( array( 'error' => 1, 'message' => $response[ 'data' ][ 'voidInvoice' ][ 'errors' ][ 0 ][ 'message' ] ) ); 30 } 31 elseif( isset( $response[ 'data' ][ 'voidInvoice' ][ 'document' ][ 'files' ] ) && !empty( $response[ 'data' ][ 'voidInvoice' ][ 'document' ][ 'files' ] ) ) 32 { 33 // Éxito: hay archivos adjuntos 34 delete_post_meta( $post_id, 'yabi_response' ); 35 delete_post_meta( $post_id, 'yabi_graphQL' ); 36 delete_post_meta( $post_id, 'yabi_invoice' ); 37 38 update_post_meta( $post_id, 'yabi_cancel', $response ); 39 40 // Incrementar el contador de notas crédito emitidas 41 $credit_notes_issued = intval( get_option( 'yabi_credit_note_number' ) ); 42 $credit_notes_issued++; 43 update_option( 'yabi_credit_note_number', $credit_notes_issued, 'no' ); 44 45 $credit_note_uid = ''; 46 if( isset( $response[ 'data' ][ 'voidInvoice' ][ 'document' ][ 'uid' ] ) ) 47 { 48 $credit_note_uid = $response[ 'data' ][ 'voidInvoice' ][ 'document' ][ 'uid' ]; 49 } 50 51 $response = json_encode( array( 'error' => 0, 'message' => __( 'Invoice cancelled successfully!', 'yabi-wc' ) . ( !empty( $credit_note_uid ) ? ' UID: ' . $credit_note_uid : '' ) ) ); 52 } 53 else 54 { 55 $response = json_encode( array( 'error' => 1, 'message' => __( 'Unexpected error, try again later or contact support.', 'yabi-wc' ) ) ); 56 } 57 } 58 59 return $response; 60 } 61 62 function yabi_cancel_invoice_graph( $invoice_number, $razon ) 63 { 64 $yabi_settings = get_option( 'yabi_settings' ); 65 $credit_note_number = get_option( 'yabi_credit_note_number' ); 66 $credit_prefix = $yabi_settings[ 'credit_prefix' ]; 67 68 $graphQL = 'mutation { 69 voidInvoice( 70 document: { 71 id: { number: '. $credit_note_number .', prefix: "'. $credit_prefix .'" } 72 invoiceToVoid: { 73 uid: "'. $invoice_number .'" 74 } 75 reason: { 76 locale: ES_CO 77 text: "'. $razon .'" 78 } 79 } 80 ) { 81 document { 82 id 83 uid 84 documentUid 85 documentQr 86 documentStatus { 87 code 88 description 89 } 90 files { 91 attachedDocument { 92 data 93 fileType 94 filename 95 } 96 graphicalRepresentationPdf { 97 data 98 fileType 99 filename 100 } 101 } 102 transactions { 103 application 104 applicationResponse 105 documentId 106 insertedAt 107 requestedAt 108 respondedAt 109 transactionChannel 110 transactionFrom 111 transactionId 112 transactionStage 113 transactionStatus { 114 message 115 title 116 warningsAndErrors 117 } 118 transactionTo 119 transactionType 120 updatedAt 121 } 122 } 123 errors { 124 helpText 125 id 126 language 127 message 128 subType 129 title 130 type 131 } 132 warnings { 133 helpText 134 id 135 language 136 message 137 subType 138 title 139 type 140 } 141 notifications { 142 helpText 143 id 144 language 145 message 146 subType 147 title 148 type 149 } 150 } 151 }'; 152 153 return $graphQL; 154 } 2 155 3 156 function yabi_create_invoice( $post_id ) … … 848 1001 } 849 1002 1003 function yabi_dian_create_prefix( $prefix, $from, $to ) 1004 { 1005 $graphQL = yabi_dian_create_prefixes( $prefix, $from, $to ); 1006 1007 $response = yabi_send_data( $graphQL ); 1008 1009 update_option( 'yabi_create_prefix', $response, 'no' ); 1010 1011 if( !empty( $response ) ) 1012 { 1013 if( isset( $response[ 'errors' ] ) ) 1014 { 1015 $response = json_encode( array( 'error' => 1, 'message' => $response[ 'errors' ][ 0 ][ 'message' ] ) ); 1016 } 1017 elseif( isset( $response[ 'data' ] ) && isset( $response[ 'data' ][ 'createPrefix' ][ 'errors' ] ) ) 1018 { 1019 $response = json_encode( array( 'error' => 1, 'message' => $response[ 'data' ][ 'createPrefix' ][ 'errors' ][ 0 ][ 'message' ] ) ); 1020 } 1021 elseif( isset( $response[ 'data' ] ) ) 1022 { 1023 $response = json_encode( array( 'error' => 0, 'message' => __( 'DIAN prefix were created on Yabi.co', 'yabi-wc' ) ) ); 1024 } 1025 else 1026 { 1027 $response = json_encode( array( 'error' => 1, 'message' => __( 'Unexpected error, try again later or contact support.', 'yabi-wc' ) ) ); 1028 } 1029 } 1030 1031 return $response; 1032 } 1033 1034 function yabi_dian_create_prefixes( $prefix, $from, $to ) 1035 { 1036 $graphQL = 'mutation{ 1037 createPrefix(prefixData:{ 1038 prefix: "'. $prefix .'" 1039 range: { 1040 from: '. $from .' 1041 to: '. $to .' 1042 } 1043 documentType: CREDIT_NOTE 1044 environment: PROD 1045 }){ 1046 prefixData{ 1047 prefixId 1048 prefix 1049 range { 1050 from 1051 to 1052 } 1053 documentType 1054 environment 1055 technicalKey 1056 resolutionNumber 1057 resolutionDate 1058 startDate 1059 endDate 1060 } 1061 errors { 1062 helpText 1063 id 1064 language 1065 message 1066 subType 1067 title 1068 type 1069 } 1070 warnings { 1071 helpText 1072 id 1073 language 1074 message 1075 subType 1076 title 1077 type 1078 } 1079 notifications { 1080 helpText 1081 id 1082 language 1083 message 1084 subType 1085 title 1086 type 1087 } 1088 } 1089 }'; 1090 1091 return $graphQL; 1092 } 1093 850 1094 function yabi_dian_create_resolution() 851 1095 { 852 1096 $response = 'FAIL'; 853 1097 $graphQL = yabi_dian_prefixes( $resolutions ); 854 1098 … … 879 1123 } 880 1124 } 881 882 883 1125 884 1126 return $response; … … 937 1179 } 938 1180 939 function yabi_dian_prefix( )1181 function yabi_dian_prefix( $documentType = 'INVOICE' ) 940 1182 { 941 1183 $graphQL = 'query { 942 1184 prefixes( 943 first:50 1185 query:{ 1186 and:{ 1187 documentType: '. $documentType .' 1188 } 1189 } 1190 first:100 944 1191 ){ 945 1192 edges{ … … 952 1199 endDate 953 1200 resolutionNumber 1201 organizationalUnitId 954 1202 } 955 1203 } … … 1015 1263 } 1016 1264 1017 function yabi_dian_show_prefixes() 1018 { 1019 $graphQL = yabi_dian_prefix(); 1265 function yabi_dian_show_prefixes( $cancel = false ) 1266 { 1267 $documentType = 'INVOICE'; 1268 if( $cancel ) 1269 { 1270 $documentType = 'CREDIT_NOTE'; 1271 } 1272 1273 $graphQL = yabi_dian_prefix( $documentType ); 1020 1274 1021 1275 $response = yabi_send_data( $graphQL ); … … 1034 1288 } 1035 1289 elseif( isset( $response[ 'data' ] ) && isset( $response[ 'data' ][ 'prefixes' ][ 'edges' ] ) ) 1036 { 1037 $response = json_encode( array( 'error' => 2, 'message' => $response[ 'data' ][ 'prefixes' ][ 'edges' ] ) ); 1290 { 1291 $newnodes = array(); 1292 $nodes = $response[ 'data' ][ 'prefixes' ][ 'edges' ]; 1293 $businessUnitUuid = get_option( 'yabi_settings' )[ 'businessunituuid' ]; 1294 1295 foreach( $nodes as $value ) 1296 { 1297 $orgUnitId = $value[ 'node' ][ 'organizationalUnitId' ]; 1298 // Include prefixes that are associated with the current business unit OR are not associated (null) 1299 if( $orgUnitId == $businessUnitUuid || $orgUnitId === null ) 1300 { 1301 array_push( $newnodes, $value ); 1302 } 1303 } 1304 1305 $response = json_encode( array( 'error' => 2, 'message' => $newnodes ) ); 1038 1306 } 1039 1307 else … … 1075 1343 1076 1344 return $response; 1345 } 1346 1347 function yabi_last_credit() 1348 { 1349 $yabi_settings = get_option( 'yabi_settings' ); 1350 1351 $graphQL = 'query{ 1352 creditNotes( 1353 query:{ 1354 and:[ 1355 {id:"'. $yabi_settings[ 'credit_prefix' ] .'"} 1356 ] 1357 } 1358 first: 1 1359 ){ 1360 ... on CreditNoteConnection { 1361 edges { 1362 node { 1363 id 1364 documentUid 1365 uid 1366 documentType 1367 } 1368 } 1369 } 1370 } 1371 }'; 1372 1373 $response = yabi_send_data( $graphQL ); 1374 1375 return $response; 1376 } 1377 1378 function yabi_last_invoice() 1379 { 1380 $yabi_settings = get_option( 'yabi_settings' ); 1381 1382 $graphQL = 'query{ 1383 invoices( 1384 query:{ 1385 and:[ 1386 {id:"'. $yabi_settings[ 'invoice_name' ] .'"} 1387 ] 1388 } 1389 first: 1 1390 ){ 1391 ... on InvoiceConnection { 1392 edges { 1393 node { 1394 id 1395 documentUid 1396 uid 1397 documentType 1398 } 1399 } 1400 } 1401 } 1402 }'; 1403 1404 $response = yabi_send_data( $graphQL ); 1405 1406 return $response; 1077 1407 } 1078 1408 -
wc-yabi/trunk/languages/yabi-wc-es_CO.l10n.php
r3218446 r3422044 1 1 <?php 2 return ['project-id-version'=>'Yabi for WooCommerce','report-msgid-bugs-to'=>'','pot-creation-date'=>'2020-12-02 23:02+0000','po-revision-date'=>'2025- 01-07 15:43+0000','last-translator'=>'','language-team'=>'Spanish (Colombia)','language'=>'es_CO','mime-version'=>'1.0','content-type'=>'text/plain; charset=UTF-8','content-transfer-encoding'=>'8bit','plural-forms'=>'nplurals=2; plural=n != 1;','x-generator'=>'Loco https://localise.biz/','x-loco-version'=>'2.6.11; wp-6.6','messages'=>['About the plugin'=>'Acerca del plugin','Address'=>'Dirección','After the DIAN has created the resolutions, please click on the "Update" button'=>'Luego de que la DIAN haya creado las resoluciones, por favor haga clic en el botón “Actualizar”','Associates a prefix with an organizational unit on Yabi'=>'Asocia un prefijo con una unidad organizativa en Yabi','Automatic'=>'Automático','Automatic: Generates automatic invoices, this depends on whether the data has been filled out correctly.'=>'Automático: Genera facturas automáticas, esto depende de si los datos se han completado correctamente.','Business Unit Uuid'=>'Unidad de negocio Uuid','Cash: The payment is made immediately.'=>'Efectivo: El pago se realiza de forma inmediata.','Check'=>'Verificar','Checking resolution prefixes in the Yabi system'=>'Comprobación de prefijos de resolución en el sistema Yabi','City'=>'Ciudad','City Code'=>'Código de ciudad','Click in button "Save".'=>'Clic en el botón "Guardar"','Click on "Business Units".'=>'Clic en "Unidad de negocio"','Click on a business unit, this displays the information of the business unit.'=>'Clic en unidad de negocio, este despliega la información de la unidad de negocio','Click on the "Save" button to save the information of the fields'=>'Clic en el botón "Guardar" para guardar la información de los campos','Click on the button "Save and generate" for when you are sure to generate the invoice, after the invoice is generated you will not be able to edit the fields again.'=>'Clic en el botón "Guardar y generar" para cuando este seguro de generar la facturación, luego de que la factura se genera no podrá volver a editar los campos. ','Click on the order to open the details'=>'Clic en el pedido para abrir los detalles','Click on WooCommerce orders'=>'Clic en pedidos de WooCommerce','Click the "Check" button to generate a table with the latest resolutions available in Yabi'=>'Haga clic en el botón "Verificar" para generar una tabla con las últimas resoluciones disponibles en Yabi','Client'=>'Cliente','Code QR'=>'Código QR','Commercial Name'=>'Nombre comercial','Company'=>'Empresa','Copy and paste the personalized Token in the text field "Token".'=>'Copia y pega el Token personalizado en la caja de texto "Token"','Copy the code of the business unit.'=>'Copia el codigo de la unidad de negocio.','Copy the example URL client in the text field "URL client".'=>'Copia el ejemplo del cliente URL en la caja de texto "Cliente URL"','Create the resolution in the DIAN Muisca system and assign it in the DIAN “Electronic Billing” portal to Neia / Yabi.co.'=>'Crear la resolución en el sistema DIAN Muisca y asignarla en el portal “Facturación Electrónica” de la DIAN a Neia / Yabi.co.','Create your electronic invoices of purchases made in woocommerce with Yabi'=>'Crea facturas electrónicas de tus compras de Woocommerce en Yabi','Credit'=>'Crédito','Credit days'=>'Días de crédito','Depending on the type of person, you must complete the additional information'=>'Según el tipo de persona debe completar la información adicional','DIAN'=>'DIAN','DIAN resolutions were updated on Yabi.co'=>'Resoluciones de la DIAN fueron actualizadas en Yabi.co','Document Type'=>'Tipo de documento','Email'=>'Correo electrónico','End Date'=>'Fecha de finalización','Enter the Yabi system'=>'Ingrese al sistema de Yabi','Environment'=>'Ambiente','Fill the text field "Invoice Name" with the invoice name. Example: "SETT-", "SE"'=>'Llene el campo de texto "Nombre de factura" con las siglas de la factura. Ejemplo: "SETT-", "SE".','Fill the text field with the consecutive invoice. Example: if the consecutive number is 25, please fill the text field with 26.'=>'Llene el campo de texto con el consecutivo de la factura. Ejemplo: Si el consecutivo actual es 25, favor colocar en la caja de texto el número 26.','Find the order in the completed state for which you want to generate an invoice'=>'Buscar el pedido en estado completado al cual se desea generar una factura','Go to'=>'Ir a','How to generate an invoice?'=>'Cómo generar una factura?','https://datakun.com/'=>'https://datakun.com/','https://mireunion.com/yabi'=>'https://mireunion.com/yabi','I agree to modify the checkout'=>'Acepto modificar el checkout','Identifier'=>'Identificación','Identifier digit'=>'Dígito identificación','Identifier field must contain a positive number of at least 5 digits.'=>'El campo identificación debe contener un número positivo de al menos 5 dígitos.','Identifier is a required Field!'=>'¡El identificador es un campo obligatorio!','In cash'=>'En efectivo','In Credit: The payment is credited and you can select the number of days of the credit, generally it is 30 days'=>'En Crédito: Se acredita el pago y puedes seleccionar el número de días del crédito, generalmente son 30 días','Information'=>'Información','Instructions for client'=>'Instrucciones para el cliente','Instructions for invoice'=>'Instrucciones para la facturación','Instructions for settings'=>'Instrucciones para la configuración','Integrate Yabi for WooCommerce'=>'Integración Yabi para WooCommerce','Invoice'=>'Factura','Invoice Name'=>'Nombre de factura','Invoice Number'=>'Número de factura','Invoice resent!'=>'¡Factura reenviada!','Invoice Serial'=>'Serie de la factura','Invoice type'=>'Tipo de factura','Invoices can be defined in Cash or In Credit'=>'Las facturas se pueden definir en efectivo o en crédito.','Last Name'=>'Apellido','Legal Entity'=>'Persona jurídica','Manual'=>'Manual','Manual: Generate invoices manually in order administration'=>'Manual: Genera facturas manualmente en la administración de pedidos.','Mex Avila'=>'Mex Avila','Name'=>'Nombre','Natural Person'=>'Persona natural','No'=>'No','Note Description'=>'Descripción de la nota','Note Name'=>'Nombre de la nota','Observations'=>'Observaciones','Paste the previously copied code in the text field "Business Unit Uuid".'=>'Pegue el código previamente copiado en la caja de texto "Unidad de negocio Uuid".','Payment type'=>'Tipo de pago','Person'=>'Persona natural','Please enter the Yabi plugin configuration, as you need to enter new data for it to work correctly'=>'Ingrese a la configuración del complemento Yabi, ya que necesita ingresar nuevos datos para que funcione correctamente','Postcode'=>'Código postal','Prefix'=>'Prefijo','Prefix ID'=>'Prefijo ID','Resend invoice'=>'Reenviar factura','Resolution Number'=>'Número de resolución','Save'=>'Guardar','Save & Generate'=>'Guardar y generar','Saved data!. Unexpected error on invoice, try again later.!'=>'Datos guardados!. Error inesperado en la factura, ¡inténtalo de nuevo más tarde!','Second Last Name'=>'Segundo apellido','Second Name'=>'Segundo nombre','Select the type of person'=>'Selecciona el tipo de persona','Send'=>'Enviar','Setting saved!'=>'Configuración guardada!','Settings'=>'Configuración','settings page'=>'pagina de configuración','Start Date'=>'Fecha de inicio','Success'=>'Éxito','Success!. Invoice generate: '=>'¡Éxito!. Generación de factura: ','Support this plugin'=>'Colabora con este plugin','Telephone'=>'Teléfono','The fields of the invoice are the name and the consecutive number of the invoice, before the DIAN the requirement for the numbering had to be passed. Please fill in the corresponding data. Example: SETT-26.'=>'Los campos de la factura son el nombre y el número consecutivo de la factura, en la DIAN tuvo que pasar el requisito para la numeración. Por favor complete los datos correspondientes. Ejemplo: SETT-26.','The new DIAN resolutions are synchronized with Yabi.co'=>'Las nuevas resoluciones de la DIAN se sincronizan con Yabi.co','The process to generate an invoice.'=>'El proceso para generar una factura.','The WooCommerce purchase must be in a completed state, in order to generate the electronic invoice. (Automatic or Manual)'=>'La compra de WooCommerce debe estar en estado completado, para poder generar la factura electrónica. (Automático o Manual)','This option allows you to modify the default Woocommerce form to allow the custom fields that Yabi uses, such as IDs or NIT. It also displays the departments and municipalities of Colombia with their respective DIAN codes. It also generates a link so that people can generate the address as necessary for the DIAN.'=>'Esta opción le permite modificar el formulario predeterminado de Woocommerce para permitir los campos personalizados que utiliza Yabi, como cédula o NIT. También muestra los departamentos y municipios de Colombia con sus respectivos códigos DIAN. También genera un enlace para que las personas puedan generar la dirección necesaria para la DIAN.','To download the invoice you have to enter the Yabi platform'=>'Para descargar la factura tiene que ingresar a la plataforma de Yabi','To get started, contact Yabi to send you the personalized Token of your account by email.'=>'Para comenzar, comuníquese con Yabi para que le envíe el Token personalizado de su cuenta por correo electrónico.','Token'=>'Token','Type of document'=>'Tipo de documento','Type of document is a required Field!'=>'¡El tipo de documento es un campo obligatorio!','Type of Owner'=>'Tipo de dueño','Type of person'=>'Tipo de persona','Type of person is a required Field!'=>'¡El tipo de persona es un campo obligatorio!','Unexpected error, try again later or contact support.'=>'Error inesperado, inténtelo de nuevo más tarde o póngase en contacto con el soporte técnico.','Unexpected error, try again later.!'=>'Error inesperado, ¡inténtalo de nuevo más tarde!','Update'=>'Actualizar','Update resolution in yabi.co'=>'Actualizar resolución en yabi.co','URL client'=>'Cliente URL','When displaying the order information, the Yabi module will be displayed at the bottom'=>'Al desplegar la información del pedido, en la parte inferior se desplegara el módulo de Yabi','with your username and password.'=>'con su nombre de usuario y contraseña.','Yabi - Invoice Data'=>'Yabi - Información de facturación','Yabi for WooCommerce'=>'Yabi para WooCommerce','Yes'=>'Si','You must select the type of person'=>'Debe seleccionar el tipo de persona']];2 return ['project-id-version'=>'Yabi for WooCommerce','report-msgid-bugs-to'=>'','pot-creation-date'=>'2020-12-02 23:02+0000','po-revision-date'=>'2025-12-03 20:46+0000','last-translator'=>'admin','language-team'=>'Español de Colombia','language'=>'es_CO','mime-version'=>'1.0','content-type'=>'text/plain; charset=UTF-8','content-transfer-encoding'=>'8bit','plural-forms'=>'nplurals=2; plural=n != 1;','x-generator'=>'Loco https://localise.biz/','x-loco-version'=>'2.8.0; wp-6.9; php-8.1.25','messages'=>['About the plugin'=>'Acerca del plugin','Address'=>'Dirección','After the DIAN has created the resolutions, please click on the "Update" button'=>'Luego de que la DIAN haya creado las resoluciones, por favor haga clic en el botón “Actualizar”','Are you sure you want to cancel this invoice? This action cannot be undone.'=>'¿Está seguro de que desea cancelar esta factura? Esta acción no se puede deshacer.','Associates a prefix with an organizational unit on Yabi'=>'Asocia un prefijo con una unidad organizativa en Yabi','Automatic'=>'Automático','Business Unit Uuid'=>'Unidad de negocio Uuid','Cancel'=>'Cancelar','Cancel Invoice'=>'Cancelar Factura','Cancel invoice'=>'Cancelar factura','Cancellation reason'=>'Motivo de cancelación','Cash'=>'Dinero','Check'=>'Verificar','Checking resolution prefixes in the Yabi system'=>'Comprobación de prefijos de resolución en el sistema Yabi','City'=>'Ciudad','City Code'=>'Código de ciudad','Click in button "Save".'=>'Haga clic en el botón "Guardar".','Click on "Business Units".'=>'Haga clic en “Unidades de Negocio”.','Click on a business unit, this displays the information of the business unit.'=>'Clic en unidad de negocio, este despliega la información de la unidad de negocio','Click on the "Save" button to save the information of the fields'=>'Clic en el botón "Guardar" para guardar la información de los campos','Click on the button "Save and generate" for when you are sure to generate the invoice, after the invoice is generated you will not be able to edit the fields again.'=>'Clic en el botón "Guardar y generar" para cuando este seguro de generar la facturación, luego de que la factura se genera no podrá volver a editar los campos. ','Click on the order to open the details'=>'Clic en el pedido para abrir los detalles','Click on WooCommerce orders'=>'Clic en pedidos de WooCommerce','Click the "Check" button to generate a table with the latest resolutions available in Yabi'=>'Haga clic en el botón "Verificar" para generar una tabla con las últimas resoluciones disponibles en Yabi','Client'=>'Cliente','Code QR'=>'Código QR','Commercial Name'=>'Nombre comercial','Company'=>'Empresa','Confirm Cancellation'=>'Confirmar cancelación','Connection error'=>'Error de conexión','Copy and paste the personalized Token in the text field "Token".'=>'Copie y pegue el Token personalizado en el campo de texto “Token”.','Copy the code of the business unit.'=>'Copia el codigo de la unidad de negocio.','Copy the example URL client in the text field "URL client".'=>'Copie la URL de ejemplo del cliente en el campo de texto "URL del cliente".','Create'=>'Crear','Create a credit note in yabi.co'=>'Crear una nota de crédito en yabi.co','Create the resolution in the DIAN Muisca system and assign it in the DIAN "Electronic Billing" portal to Neia / Yabi.co.'=>'Crear la resolución en el sistema DIAN Muisca y asignarla en el portal “Facturación Electrónica” de la DIAN a Neia / Yabi.co.','Create your electronic invoices of purchases made in woocommerce with Yabi'=>'Crea facturas electrónicas de tus compras de Woocommerce en Yabi','Credit'=>'Crédito','Credit days'=>'Días de crédito','Credit Note'=>'Nota de crédito','Credit Note Number'=>'Número de nota de crédito','Credit Note Prefix'=>'Prefijo de nota de crédito','Default: 30 days'=>'Predeterminado: 30 días','Depending on the type of person, you must complete the additional information'=>'Según el tipo de persona debe completar la información adicional','DIAN'=>'DIAN','DIAN prefix were created on Yabi.co'=>'El prefijo DIAN se creó en Yabi.co','DIAN resolutions were updated on Yabi.co'=>'Resoluciones de la DIAN fueron actualizadas en Yabi.co','Document Type'=>'Tipo de documento','Document type is not CREDIT_NOTE'=>'El tipo de documento no es CREDIT_NOTE','Document type is not SALES_INVOICE'=>'El tipo de documento no es SALES_INVOICE','Electronic invoicing for Colombia'=>'Facturación electrónica para Colombia','Electronic invoicing integration for Colombia'=>'Integración de facturación electrónica para Colombia','Email'=>'Correo electrónico','End Date'=>'Fecha de finalización','Enter the prefix and numbering range for the credit note you want to create and click the "Create" button.'=>'Ingrese el prefijo y el rango de numeración de la nota de crédito que desea crear y haga clic en el botón "Crear".','Enter the Yabi system'=>'Ingrese al sistema de Yabi','Environment'=>'Ambiente','Error loading credit note'=>'Error al cargar la nota de crédito','Error loading invoice'=>'Error al cargar la factura','Error loading prefixes'=>'Error al cargar prefijos','Error saving settings'=>'Error al guardar la configuración','Fill the text field with the consecutive invoice. Example: if the consecutive number is 25, please fill the text field with 26.'=>'Llene el campo de texto con el consecutivo de la factura. Ejemplo: Si el consecutivo actual es 25, favor colocar en la caja de texto el número 26.','Find the order in the completed state for which you want to generate an invoice'=>'Buscar el pedido en estado completado al cual se desea generar una factura','From'=>'De','Generate invoices manually in order administration'=>'Generar facturas manualmente en la administración de pedidos','Generates automatic invoices, this depends on whether the data has been filled out correctly.'=>'Genera facturas automáticas, esto depende de si los datos se han rellenado correctamente.','Go to'=>'Ir a','How to generate an invoice?'=>'Cómo generar una factura?','https://datakun.com/'=>'https://datakun.com/','https://mireunion.com/yabi'=>'https://mireunion.com/yabi','I agree to modify the checkout'=>'Acepto modificar el checkout','Identifier'=>'Identificación','Identifier digit'=>'Dígito identificación','Identifier field must contain a positive number of at least 5 digits.'=>'El campo identificación debe contener un número positivo de al menos 5 dígitos.','Identifier is a required Field!'=>'¡El identificador es un campo obligatorio!','Important'=>'Importante','In cash'=>'En efectivo','In Credit'=>'En crédito','Information'=>'Información','Instructions for client'=>'Instrucciones para el cliente','Instructions for credit note'=>'Instrucciones para la nota de crédito','Instructions for invoice'=>'Instrucciones para la facturación','Instructions for settings'=>'Instrucciones para la configuración','Invalid tab'=>'Pestaña no válida','Invoice'=>'Factura','Invoice cancelled successfully!'=>'¡Factura cancelada exitosamente!','Invoice Name'=>'Nombre de factura','Invoice not found'=>'Factura no encontrada','Invoice Number'=>'Número de factura','Invoice resent!'=>'¡Factura reenviada!','Invoice Serial'=>'Serie de la factura','Invoice type'=>'Tipo de factura','Invoices can be defined in Cash or In Credit'=>'Las facturas se pueden definir en efectivo o en crédito.','Last Name'=>'Apellido','Legal Entity'=>'Persona jurídica','Loading...'=>'Cargando...','Manual'=>'Manual','Mex Avila'=>'Mex Avila','Name'=>'Nombre','Natural Person'=>'Persona natural','No'=>'No','No active prefixes'=>'No hay prefijos activos','No credit note found'=>'No se encontró ninguna nota de crédito','No credit notes found'=>'No se encontraron notas de crédito','No data to save'=>'No hay datos para guardar','No invoice found'=>'No se encontró ninguna factura','No invoices found'=>'No se encontraron facturas','Note'=>'Nota','Note Description'=>'Descripción de la nota','Note Name'=>'Nombre de la nota','Numbering range'=>'Rango de numeración','Observations'=>'Observaciones','Paste the previously copied code in the text field "Business Unit Uuid".'=>'Pegue el código previamente copiado en el campo de texto "Unidad de negocio Uuid".','Payment Settings'=>'Configuración de pago','Payment type'=>'Tipo de pago','Permission denied'=>'Permiso denegado','Person'=>'Persona natural','Please configure settings first'=>'Por favor, configure los ajustes primero','Please enter the Yabi plugin configuration, as you need to enter new data for it to work correctly'=>'Ingrese a la configuración del complemento Yabi, ya que necesita ingresar nuevos datos para que funcione correctamente','Please select a prefix'=>'Por favor seleccione un prefijo','Postcode'=>'Código postal','Prefix'=>'Prefijo','Prefix ID'=>'Prefijo ID','Resend invoice'=>'Reenviar factura','Resolution Number'=>'Número de resolución','Save'=>'Guardar','Save & Generate'=>'Guardar y generar','Save Settings'=>'Guardar configuración','Saved data!. Unexpected error on invoice, try again later.!'=>'Datos guardados!. Error inesperado en la factura, ¡inténtalo de nuevo más tarde!','Second Last Name'=>'Segundo apellido','Second Name'=>'Segundo nombre','Security check failed'=>'Comprobación de seguridad fallida','Select "Credit Note Prefix" with the credit note name. Example: "CNS-", "CN"'=>'Seleccione "Prefijo de nota de crédito" con el nombre de la nota. Ejemplo: "CNS-", "CN"','Select "Invoice Name" with the invoice name. Example: "SETT-", "SE"'=>'Seleccione "Nombre de la factura" con el nombre de la factura. Ejemplo: "SETT-", "SE"','Select a prefix'=>'Seleccione un prefijo','Select prefix'=>'Seleccionar prefijo','Select the prefix you want to associate and click the "Save" button.'=>'Seleccione el prefijo que desea asociar y haga clic en el botón "Guardar".','Select the prefix you want to associate and click the "Save" button. First, click "Check" to load available prefixes.'=>'Seleccione el prefijo que desea asociar y haga clic en el botón "Guardar". Primero, haga clic en "Comprobar" para cargar los prefijos disponibles.','Select the type of person'=>'Selecciona el tipo de persona','Send'=>'Enviar','Settings'=>'Configuración','settings page'=>'pagina de configuración','Settings saved successfully!'=>'¡Configuración guardada exitosamente!','Start Date'=>'Fecha de inicio','Success'=>'Éxito','Success!. Invoice generate: '=>'¡Éxito!. Generación de factura: ','Support this plugin'=>'Colabora con este plugin','Telephone'=>'Teléfono','The fields of the invoice are the name and the consecutive number of the invoice, before the DIAN the requirement for the numbering had to be passed. Please fill in the corresponding data. Example: SETT-26.'=>'Los campos de la factura son el nombre y el número consecutivo de la factura, en la DIAN tuvo que pasar el requisito para la numeración. Por favor complete los datos correspondientes. Ejemplo: SETT-26.','The new DIAN resolutions are synchronized with Yabi.co'=>'Las nuevas resoluciones de la DIAN se sincronizan con Yabi.co','The payment is credited and you can select the number of days of the credit, generally it is 30 days'=>'El pago se acredita y puedes seleccionar el número de días del crédito, generalmente son 30 días','The payment is made immediately.'=>'El pago se realiza de inmediato.','The process to generate an invoice.'=>'El proceso para generar una factura.','The reason is required'=>'Se requiere el motivo','The WooCommerce purchase must be in a completed state, in order to generate the electronic invoice. (Automatic or Manual)'=>'La compra de WooCommerce debe estar en estado completado, para poder generar la factura electrónica. (Automático o Manual)','This option allows you to modify the default Woocommerce form to allow the custom fields that Yabi uses, such as IDs or NIT. It also displays the departments and municipalities of Colombia with their respective DIAN codes. It also generates a link so that people can generate the address as necessary for the DIAN.'=>'Esta opción le permite modificar el formulario predeterminado de Woocommerce para permitir los campos personalizados que utiliza Yabi, como cédula o NIT. También muestra los departamentos y municipios de Colombia con sus respectivos códigos DIAN. También genera un enlace para que las personas puedan generar la dirección necesaria para la DIAN.','To'=>'A','To download the invoice you have to enter the Yabi platform'=>'Para descargar la factura tiene que ingresar a la plataforma de Yabi','To get started, contact Yabi to send you the personalized Token of your account by email.'=>'Para comenzar, comuníquese con Yabi para que le envíe el Token personalizado de su cuenta por correo electrónico.','Token'=>'Token','Type of document'=>'Tipo de documento','Type of document is a required Field!'=>'¡El tipo de documento es un campo obligatorio!','Type of Owner'=>'Tipo de dueño','Type of person'=>'Tipo de persona','Type of person is a required Field!'=>'¡El tipo de persona es un campo obligatorio!','Unexpected error, try again later or contact support.'=>'Error inesperado, inténtelo de nuevo más tarde o póngase en contacto con el soporte técnico.','Unexpected error, try again later!'=>'Error inesperado, ¡inténtalo de nuevo más tarde!','Unexpected error, try again later.!'=>'Error inesperado, ¡inténtalo de nuevo más tarde!','Update'=>'Actualizar','Update resolution in yabi.co'=>'Actualizar resolución en yabi.co','URL client'=>'Cliente URL','View Last'=>'Ver último','When displaying the order information, the Yabi module will be displayed at the bottom'=>'Al desplegar la información del pedido, en la parte inferior se desplegara el módulo de Yabi','with your username and password.'=>'con su nombre de usuario y contraseña.','Yabi - Invoice Data'=>'Yabi - Información de facturación','Yabi einvoice for WooCommerce'=>'Factura electrónica Yabi para WooCommerce','Yabi for WooCommerce'=>'Yabi para WooCommerce','Yes'=>'Si','You can check the numbering by clicking the "View Last Credit Note" button'=>'Puede consultar la numeración haciendo clic en el botón "Ver última nota de crédito"','You can check the numbering by clicking the "View Last Invoice" button'=>'Puede comprobar la numeración haciendo clic en el botón "Ver última factura"','You must select the type of person'=>'Debe seleccionar el tipo de persona']]; -
wc-yabi/trunk/languages/yabi-wc-es_CO.po
r3218446 r3422044 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2020-12-02 23:02+0000\n" 6 "PO-Revision-Date: 2025- 01-07 15:43+0000\n"7 "Last-Translator: \n"8 "Language-Team: Spanish (Colombia)\n"6 "PO-Revision-Date: 2025-12-03 20:46+0000\n" 7 "Last-Translator: admin\n" 8 "Language-Team: Español de Colombia\n" 9 9 "Language: es_CO\n" 10 10 "MIME-Version: 1.0\n" … … 13 13 "Plural-Forms: nplurals=2; plural=n != 1;\n" 14 14 "X-Generator: Loco https://localise.biz/\n" 15 "X-Loco-Version: 2. 6.11; wp-6.6"16 17 #: content/information.php: 13015 "X-Loco-Version: 2.8.0; wp-6.9; php-8.1.25" 16 17 #: content/information.php:321 18 18 msgid "About the plugin" 19 19 msgstr "Acerca del plugin" … … 24 24 msgstr "Dirección" 25 25 26 #: content/dian.php:2 1726 #: content/dian.php:29 content/information.php:268 27 27 msgid "" 28 28 "After the DIAN has created the resolutions, please click on the \"Update\" " … … 32 32 "botón “Actualizar”" 33 33 34 #: content/dian.php:264 34 #: content/product-invoice.php:186 35 msgid "" 36 "Are you sure you want to cancel this invoice? This action cannot be undone." 37 msgstr "" 38 "¿Está seguro de que desea cancelar esta factura? Esta acción no se puede " 39 "deshacer." 40 41 #: content/cancel-invoice.php:111 content/dian.php:96 35 42 msgid "Associates a prefix with an organizational unit on Yabi" 36 43 msgstr "Asocia un prefijo con una unidad organizativa en Yabi" 37 44 38 #: content/ settings.php:11745 #: content/information.php:52 content/settings.php:73 39 46 msgid "Automatic" 40 47 msgstr "Automático" 41 48 42 #: content/information.php:37 43 msgid "" 44 "Automatic: Generates automatic invoices, this depends on whether the data " 45 "has been filled out correctly." 46 msgstr "" 47 "Automático: Genera facturas automáticas, esto depende de si los datos se han " 48 "completado correctamente." 49 50 #: content/settings.php:161 49 #: content/cancel-invoice.php:93 content/dian.php:78 content/settings.php:164 51 50 msgid "Business Unit Uuid" 52 51 msgstr "Unidad de negocio Uuid" 53 52 54 #: content/information.php:24 55 msgid "Cash: The payment is made immediately." 56 msgstr "Efectivo: El pago se realiza de forma inmediata." 57 58 #: content/dian.php:233 53 #: content/product-invoice.php:195 54 msgid "Cancel" 55 msgstr "Cancelar" 56 57 #: content/admin.php:80 content/information.php:288 content/information.php:294 58 #: content/product-invoice.php:185 59 msgid "Cancel Invoice" 60 msgstr "Cancelar Factura" 61 62 #: content/product-invoice.php:145 63 msgid "Cancel invoice" 64 msgstr "Cancelar factura" 65 66 #: content/product-invoice.php:189 67 msgid "Cancellation reason" 68 msgstr "Motivo de cancelación" 69 70 #: content/information.php:33 71 msgid "Cash" 72 msgstr "Dinero" 73 74 #: content/cancel-invoice.php:74 content/dian.php:59 59 75 msgid "Check" 60 76 msgstr "Verificar" 61 77 62 #: content/ dian.php:22978 #: content/cancel-invoice.php:66 content/dian.php:51 63 79 msgid "Checking resolution prefixes in the Yabi system" 64 80 msgstr "Comprobación de prefijos de resolución en el sistema Yabi" … … 72 88 msgstr "Código de ciudad" 73 89 74 #: content/information.php: 57 content/information.php:8175 # , fuzzy76 msgid "Click in button "Save"."77 msgstr " Clic en el botón "Guardar""78 79 #: content/information.php: 7480 msgid "Click on "Business Units"."81 msgstr " Clic en "Unidad de negocio""82 83 #: content/information.php: 7590 #: content/information.php:92 content/information.php:128 91 #: content/information.php:182 92 msgid "Click in button \"Save\"." 93 msgstr "Haga clic en el botón \"Guardar\"." 94 95 #: content/information.php:154 96 msgid "Click on \"Business Units\"." 97 msgstr "Haga clic en “Unidades de Negocio”." 98 99 #: content/information.php:158 84 100 msgid "" 85 101 "Click on a business unit, this displays the information of the business unit." … … 88 104 "negocio" 89 105 90 #: content/information.php: 107106 #: content/information.php:234 91 107 msgid "Click on the \"Save\" button to save the information of the fields" 92 108 msgstr "Clic en el botón \"Guardar\" para guardar la información de los campos" 93 109 94 #: content/information.php: 108110 #: content/information.php:238 95 111 msgid "" 96 112 "Click on the button \"Save and generate\" for when you are sure to generate " … … 102 118 "editar los campos. " 103 119 104 #: content/information.php: 103120 #: content/information.php:218 105 121 msgid "Click on the order to open the details" 106 122 msgstr "Clic en el pedido para abrir los detalles" 107 123 108 #: content/information.php: 101124 #: content/information.php:210 109 125 msgid "Click on WooCommerce orders" 110 126 msgstr "Clic en pedidos de WooCommerce" 111 127 112 #: content/dian.php:231 128 #: content/cancel-invoice.php:69 content/dian.php:54 129 #: content/information.php:272 content/information.php:302 113 130 msgid "" 114 131 "Click the \"Check\" button to generate a table with the latest resolutions " … … 118 135 "resoluciones disponibles en Yabi" 119 136 120 #: content/settings.php:1 45137 #: content/settings.php:150 121 138 msgid "Client" 122 139 msgstr "Cliente" 123 140 124 #: content/information.php: 146141 #: content/information.php:333 125 142 msgid "Code QR" 126 143 msgstr "Código QR" … … 130 147 msgstr "Nombre comercial" 131 148 132 #: content/settings.php:15 4149 #: content/settings.php:157 133 150 msgid "Company" 134 151 msgstr "Empresa" 135 152 136 #: content/information.php:79 137 msgid "" 138 "Copy and paste the personalized Token in the text field "Token"." 139 msgstr "" 140 "Copia y pega el Token personalizado en la caja de texto "Token"" 141 142 #: content/information.php:76 153 #: content/product-invoice.php:196 154 msgid "Confirm Cancellation" 155 msgstr "Confirmar cancelación" 156 157 #: wc-yabi.php:119 158 msgid "Connection error" 159 msgstr "Error de conexión" 160 161 #: content/information.php:174 162 #| msgid "Copy and paste the personalized Token in the text field \"Token\"." 163 msgid "Copy and paste the personalized Token in the text field \"Token\"." 164 msgstr "Copie y pegue el Token personalizado en el campo de texto “Token”." 165 166 #: content/information.php:162 143 167 msgid "Copy the code of the business unit." 144 168 msgstr "Copia el codigo de la unidad de negocio." 145 169 146 #: content/information.php:80 147 msgid "Copy the example URL client in the text field "URL client"." 148 msgstr "" 149 "Copia el ejemplo del cliente URL en la caja de texto "Cliente URL"" 150 151 #: content/dian.php:215 170 #: content/information.php:178 171 #| msgid "" 172 #| "Copy the example URL client in the text field "URL client"." 173 msgid "Copy the example URL client in the text field \"URL client\"." 174 msgstr "" 175 "Copie la URL de ejemplo del cliente en el campo de texto \"URL del cliente\"." 176 177 #: content/cancel-invoice.php:51 178 msgid "Create" 179 msgstr "Crear" 180 181 #: content/cancel-invoice.php:20 182 msgid "Create a credit note in yabi.co" 183 msgstr "Crear una nota de crédito en yabi.co" 184 185 #: content/dian.php:23 content/information.php:264 186 #| msgid "" 187 #| "Create the resolution in the DIAN Muisca system and assign it in the DIAN " 188 #| "“Electronic Billing” portal to Neia / Yabi.co." 152 189 msgid "" 153 190 "Create the resolution in the DIAN Muisca system and assign it in the DIAN " 154 " “Electronic Billing”portal to Neia / Yabi.co."191 "\"Electronic Billing\" portal to Neia / Yabi.co." 155 192 msgstr "" 156 193 "Crear la resolución en el sistema DIAN Muisca y asignarla en el portal " … … 162 199 msgstr "Crea facturas electrónicas de tus compras de Woocommerce en Yabi" 163 200 164 #: content/settings.php: 89201 #: content/settings.php:49 165 202 msgid "Credit" 166 203 msgstr "Crédito" 167 204 168 #: content/settings.php: 95205 #: content/settings.php:54 169 206 msgid "Credit days" 170 207 msgstr "Días de crédito" 171 208 172 #: content/information.php:106 209 #: content/settings.php:118 210 msgid "Credit Note" 211 msgstr "Nota de crédito" 212 213 #: content/settings.php:130 214 msgid "Credit Note Number" 215 msgstr "Número de nota de crédito" 216 217 #: content/settings.php:123 218 msgid "Credit Note Prefix" 219 msgstr "Prefijo de nota de crédito" 220 221 #: content/settings.php:56 222 msgid "Default: 30 days" 223 msgstr "Predeterminado: 30 días" 224 225 #: content/information.php:230 173 226 msgid "" 174 227 "Depending on the type of person, you must complete the additional information" 175 228 msgstr "Según el tipo de persona debe completar la información adicional" 176 229 177 #: content/admin.php: 23 content/dian.php:209230 #: content/admin.php:71 content/information.php:260 178 231 msgid "DIAN" 179 232 msgstr "DIAN" 180 233 181 #: includes/transaction.php:873 234 #: includes/transaction.php:1023 235 msgid "DIAN prefix were created on Yabi.co" 236 msgstr "El prefijo DIAN se creó en Yabi.co" 237 238 #: includes/transaction.php:1117 182 239 msgid "DIAN resolutions were updated on Yabi.co" 183 240 msgstr "Resoluciones de la DIAN fueron actualizadas en Yabi.co" 184 241 185 #: content/ dian.php:248242 #: content/cancel-invoice.php:92 content/dian.php:77 186 243 msgid "Document Type" 187 244 msgstr "Tipo de documento" 188 245 246 #: includes/ajax.php:399 247 msgid "Document type is not CREDIT_NOTE" 248 msgstr "El tipo de documento no es CREDIT_NOTE" 249 250 #: includes/ajax.php:362 251 msgid "Document type is not SALES_INVOICE" 252 msgstr "El tipo de documento no es SALES_INVOICE" 253 254 #: content/information.php:342 255 msgid "Electronic invoicing for Colombia" 256 msgstr "Facturación electrónica para Colombia" 257 258 #: content/admin.php:38 259 msgid "Electronic invoicing integration for Colombia" 260 msgstr "Integración de facturación electrónica para Colombia" 261 189 262 #: content/product-invoice-old.php:39 content/product-invoice.php:74 190 #: content/product-invoice.php:15 6content/product.php:186263 #: content/product-invoice.php:157 content/product.php:186 191 264 msgid "Email" 192 265 msgstr "Correo electrónico" 193 266 194 #: content/ dian.php:247267 #: content/cancel-invoice.php:91 content/dian.php:76 195 268 msgid "End Date" 196 269 msgstr "Fecha de finalización" 197 270 198 #: content/information.php:73 271 #: content/cancel-invoice.php:23 content/information.php:298 272 msgid "" 273 "Enter the prefix and numbering range for the credit note you want to create " 274 "and click the \"Create\" button." 275 msgstr "" 276 "Ingrese el prefijo y el rango de numeración de la nota de crédito que desea " 277 "crear y haga clic en el botón \"Crear\"." 278 279 #: content/information.php:150 199 280 msgid "Enter the Yabi system" 200 281 msgstr "Ingrese al sistema de Yabi" 201 282 202 #: content/ dian.php:246283 #: content/cancel-invoice.php:90 content/dian.php:75 203 284 msgid "Environment" 204 285 msgstr "Ambiente" 205 286 206 #: content/information.php:55 207 msgid "" 208 "Fill the text field \"Invoice Name\" with the invoice name. Example: \"SETT-" 209 "\", \"SE\"" 210 msgstr "" 211 "Llene el campo de texto \"Nombre de factura\" con las siglas de la factura. " 212 "Ejemplo: \"SETT-\", \"SE\"." 213 214 #: content/information.php:56 287 #: wc-yabi.php:115 288 msgid "Error loading credit note" 289 msgstr "Error al cargar la nota de crédito" 290 291 #: wc-yabi.php:113 292 msgid "Error loading invoice" 293 msgstr "Error al cargar la factura" 294 295 #: wc-yabi.php:111 296 msgid "Error loading prefixes" 297 msgstr "Error al cargar prefijos" 298 299 #: wc-yabi.php:117 300 msgid "Error saving settings" 301 msgstr "Error al guardar la configuración" 302 303 #: content/information.php:84 content/information.php:120 215 304 msgid "" 216 305 "Fill the text field with the consecutive invoice. Example: if the " … … 220 309 "consecutivo actual es 25, favor colocar en la caja de texto el número 26." 221 310 222 #: content/information.php: 102311 #: content/information.php:214 223 312 msgid "" 224 313 "Find the order in the completed state for which you want to generate an " … … 227 316 "Buscar el pedido en estado completado al cual se desea generar una factura" 228 317 229 #: content/information.php:54 content/information.php:77 318 #: content/cancel-invoice.php:38 319 msgid "From" 320 msgstr "De" 321 322 #: content/information.php:56 323 #| msgid "Manual: Generate invoices manually in order administration" 324 msgid "Generate invoices manually in order administration" 325 msgstr "Generar facturas manualmente en la administración de pedidos" 326 327 #: content/information.php:52 328 #| msgid "" 329 #| "Automatic: Generates automatic invoices, this depends on whether the data " 330 #| "has been filled out correctly." 331 msgid "" 332 "Generates automatic invoices, this depends on whether the data has been " 333 "filled out correctly." 334 msgstr "" 335 "Genera facturas automáticas, esto depende de si los datos se han rellenado " 336 "correctamente." 337 338 #: content/information.php:76 content/information.php:112 339 #: content/information.php:166 content/information.php:260 340 #: content/information.php:294 230 341 msgid "Go to" 231 342 msgstr "Ir a" 232 343 233 #: content/information.php: 92344 #: content/information.php:194 234 345 msgid "How to generate an invoice?" 235 346 msgstr "Cómo generar una factura?" … … 243 354 msgstr "https://mireunion.com/yabi" 244 355 245 #: content/ settings.php:103 content/information.php:28356 #: content/information.php:43 content/settings.php:62 246 357 msgid "I agree to modify the checkout" 247 358 msgstr "Acepto modificar el checkout" 248 359 249 #: includes/woo.php:72 content/product-invoice-old.php:32250 #: content/product -invoice.php:67 content/product.php:178360 #: content/product-invoice-old.php:32 content/product-invoice.php:67 361 #: content/product.php:178 includes/woo.php:72 251 362 msgid "Identifier" 252 363 msgstr "Identificación" … … 266 377 msgstr "¡El identificador es un campo obligatorio!" 267 378 268 #: content/settings.php:88 379 #: content/information.php:202 380 msgid "Important" 381 msgstr "Importante" 382 383 #: content/settings.php:48 269 384 msgid "In cash" 270 385 msgstr "En efectivo" 271 386 272 #: content/information.php:25 273 msgid "" 274 "In Credit: The payment is credited and you can select the number of days of " 275 "the credit, generally it is 30 days" 276 msgstr "" 277 "En Crédito: Se acredita el pago y puedes seleccionar el número de días del " 278 "crédito, generalmente son 30 días" 279 280 #: content/information.php:4 content/admin.php:18 387 #: content/information.php:37 388 msgid "In Credit" 389 msgstr "En crédito" 390 391 #: content/admin.php:52 281 392 msgid "Information" 282 393 msgstr "Información" 283 394 284 #: content/information.php: 67395 #: content/information.php:140 285 396 msgid "Instructions for client" 286 397 msgstr "Instrucciones para el cliente" 287 398 288 #: content/information.php:47 399 #: content/information.php:104 400 msgid "Instructions for credit note" 401 msgstr "Instrucciones para la nota de crédito" 402 403 #: content/information.php:68 289 404 msgid "Instructions for invoice" 290 405 msgstr "Instrucciones para la facturación" 291 406 292 #: content/information.php: 17407 #: content/information.php:25 293 408 msgid "Instructions for settings" 294 409 msgstr "Instrucciones para la configuración" 295 410 296 # . Name of the plugin297 msgid "In tegrate Yabi for WooCommerce"298 msgstr " Integración Yabi para WooCommerce"299 300 #: content/settings.php: 124411 #: includes/ajax.php:47 412 msgid "Invalid tab" 413 msgstr "Pestaña no válida" 414 415 #: content/settings.php:86 301 416 msgid "Invoice" 302 417 msgstr "Factura" 303 418 304 #: content/settings.php:130 419 #: includes/transaction.php:51 420 msgid "Invoice cancelled successfully!" 421 msgstr "¡Factura cancelada exitosamente!" 422 423 #: content/settings.php:91 305 424 msgid "Invoice Name" 306 425 msgstr "Nombre de factura" 307 426 308 #: content/product-invoice-old.php:88 content/settings.php:137 309 #: content/product-invoice.php:128 427 #: includes/ajax.php:122 428 msgid "Invoice not found" 429 msgstr "Factura no encontrada" 430 431 #: content/product-invoice-old.php:88 content/product-invoice.php:128 432 #: content/settings.php:98 310 433 msgid "Invoice Number" 311 434 msgstr "Número de factura" 312 435 313 #: includes/transaction.php:1 138436 #: includes/transaction.php:1461 314 437 msgid "Invoice resent!" 315 438 msgstr "¡Factura reenviada!" … … 319 442 msgstr "Serie de la factura" 320 443 321 #: content/ settings.php:113 content/information.php:34444 #: content/information.php:48 content/settings.php:70 322 445 msgid "Invoice type" 323 446 msgstr "Tipo de factura" 324 447 325 #: content/information.php:2 1448 #: content/information.php:28 326 449 msgid "Invoices can be defined in Cash or In Credit" 327 450 msgstr "Las facturas se pueden definir en efectivo o en crédito." … … 336 459 msgstr "Persona jurídica" 337 460 338 #: content/settings.php:116 461 #: wc-yabi.php:108 content/admin.php:90 content/settings.php:93 462 #: content/settings.php:125 463 msgid "Loading..." 464 msgstr "Cargando..." 465 466 #: content/information.php:56 content/settings.php:72 339 467 msgid "Manual" 340 468 msgstr "Manual" 341 342 #: content/information.php:38343 msgid "Manual: Generate invoices manually in order administration"344 msgstr "Manual: Genera facturas manualmente en la administración de pedidos."345 469 346 470 #. Author of the plugin … … 349 473 350 474 #: content/product-invoice-old.php:13 content/product-invoice.php:26 351 #: content/product-invoice.php:1 49content/product.php:135475 #: content/product-invoice.php:150 content/product.php:135 352 476 msgid "Name" 353 477 msgstr "Nombre" … … 357 481 msgstr "Persona natural" 358 482 359 #: content/settings.php: 106483 #: content/settings.php:64 360 484 msgid "No" 361 485 msgstr "No" 486 487 #: wc-yabi.php:110 488 msgid "No active prefixes" 489 msgstr "No hay prefijos activos" 490 491 #: wc-yabi.php:114 492 msgid "No credit note found" 493 msgstr "No se encontró ninguna nota de crédito" 494 495 #: includes/ajax.php:404 496 msgid "No credit notes found" 497 msgstr "No se encontraron notas de crédito" 498 499 #: includes/ajax.php:100 500 msgid "No data to save" 501 msgstr "No hay datos para guardar" 502 503 #: wc-yabi.php:112 504 msgid "No invoice found" 505 msgstr "No se encontró ninguna factura" 506 507 #: includes/ajax.php:367 508 msgid "No invoices found" 509 msgstr "No se encontraron facturas" 510 511 #: content/dian.php:28 512 msgid "Note" 513 msgstr "Nota" 362 514 363 515 #: content/product-invoice-old.php:81 content/product-invoice.php:119 … … 371 523 msgstr "Nombre de la nota" 372 524 525 #: content/cancel-invoice.php:34 526 msgid "Numbering range" 527 msgstr "Rango de numeración" 528 373 529 #: content/product-invoice-old.php:67 content/product-invoice.php:97 374 530 #: content/product.php:229 … … 376 532 msgstr "Observaciones" 377 533 378 #: content/information.php:78 379 msgid "" 380 "Paste the previously copied code in the text field "Business Unit " 381 "Uuid"." 382 msgstr "" 383 "Pegue el código previamente copiado en la caja de texto \"Unidad de negocio " 534 #: content/information.php:170 535 #| msgid "" 536 #| "Paste the previously copied code in the text field "Business Unit " 537 #| "Uuid"." 538 msgid "" 539 "Paste the previously copied code in the text field \"Business Unit Uuid\"." 540 msgstr "" 541 "Pegue el código previamente copiado en el campo de texto \"Unidad de negocio " 384 542 "Uuid\"." 385 543 386 #: content/settings.php:85 544 #: content/settings.php:41 545 msgid "Payment Settings" 546 msgstr "Configuración de pago" 547 548 #: content/settings.php:46 387 549 msgid "Payment type" 388 550 msgstr "Tipo de pago" 389 551 390 #: content/settings.php:155 552 #: includes/ajax.php:40 includes/ajax.php:91 553 msgid "Permission denied" 554 msgstr "Permiso denegado" 555 556 #: content/settings.php:158 391 557 msgid "Person" 392 558 msgstr "Persona natural" 393 559 394 #: wc-yabi.php:220 560 #: includes/ajax.php:52 561 msgid "Please configure settings first" 562 msgstr "Por favor, configure los ajustes primero" 563 564 #: wc-yabi.php:278 395 565 msgid "" 396 566 "Please enter the Yabi plugin configuration, as you need to enter new data " … … 399 569 "Ingrese a la configuración del complemento Yabi, ya que necesita ingresar " 400 570 "nuevos datos para que funcione correctamente" 571 572 #: wc-yabi.php:121 573 msgid "Please select a prefix" 574 msgstr "Por favor seleccione un prefijo" 401 575 402 576 #: content/product.php:222 … … 404 578 msgstr "Código postal" 405 579 406 #: content/dian.php:245 content/dian.php:270 580 #: content/cancel-invoice.php:27 content/cancel-invoice.php:89 581 #: content/cancel-invoice.php:118 content/dian.php:74 content/dian.php:103 407 582 msgid "Prefix" 408 583 msgstr "Prefijo" 409 584 410 #: content/ dian.php:244585 #: content/cancel-invoice.php:88 content/dian.php:73 411 586 msgid "Prefix ID" 412 587 msgstr "Prefijo ID" … … 416 591 msgstr "Reenviar factura" 417 592 418 #: content/ dian.php:243593 #: content/cancel-invoice.php:87 content/dian.php:72 419 594 msgid "Resolution Number" 420 595 msgstr "Número de resolución" 421 596 422 #: content/ settings.php:186 content/product.php:252 content/dian.php:276597 #: content/cancel-invoice.php:128 content/dian.php:113 content/product.php:252 423 598 msgid "Save" 424 599 msgstr "Guardar" … … 428 603 msgstr "Guardar y generar" 429 604 430 #: content/product-invoice.php:224 content/product.php:71 605 #: content/settings.php:187 606 msgid "Save Settings" 607 msgstr "Guardar configuración" 608 609 #: content/product-invoice.php:286 content/product.php:71 431 610 msgid "Saved data!. Unexpected error on invoice, try again later.!" 432 611 msgstr "" … … 434 613 "tarde!" 435 614 436 #: includes/woo.php:49 content/product-invoice.php:53 content/product.php:156615 #: content/product-invoice.php:53 content/product.php:156 includes/woo.php:49 437 616 msgid "Second Last Name" 438 617 msgstr "Segundo apellido" 439 618 440 #: includes/woo.php:38 content/product-invoice.php:35 content/product.php:142619 #: content/product-invoice.php:35 content/product.php:142 includes/woo.php:38 441 620 msgid "Second Name" 442 621 msgstr "Segundo nombre" 622 623 #: includes/ajax.php:35 includes/ajax.php:86 624 msgid "Security check failed" 625 msgstr "Comprobación de seguridad fallida" 626 627 #: content/information.php:116 628 msgid "" 629 "Select \"Credit Note Prefix\" with the credit note name. Example: \"CNS-\", " 630 "\"CN\"" 631 msgstr "" 632 "Seleccione \"Prefijo de nota de crédito\" con el nombre de la nota. Ejemplo: " 633 "\"CNS-\", \"CN\"" 634 635 #: content/information.php:80 636 #| msgid "" 637 #| "Fill the text field \"Invoice Name\" with the invoice name. Example: " 638 #| "\"SETT-\", \"SE\"" 639 msgid "" 640 "Select \"Invoice Name\" with the invoice name. Example: \"SETT-\", \"SE\"" 641 msgstr "" 642 "Seleccione \"Nombre de la factura\" con el nombre de la factura. Ejemplo: " 643 "\"SETT-\", \"SE\"" 644 645 #: content/cancel-invoice.php:120 content/dian.php:105 646 msgid "Select a prefix" 647 msgstr "Seleccione un prefijo" 648 649 #: wc-yabi.php:109 650 msgid "Select prefix" 651 msgstr "Seleccionar prefijo" 652 653 #: content/information.php:276 content/information.php:306 654 msgid "Select the prefix you want to associate and click the \"Save\" button." 655 msgstr "" 656 "Seleccione el prefijo que desea asociar y haga clic en el botón \"Guardar\"." 657 658 #: content/cancel-invoice.php:114 content/dian.php:99 659 msgid "" 660 "Select the prefix you want to associate and click the \"Save\" button. First," 661 " click \"Check\" to load available prefixes." 662 msgstr "" 663 "Seleccione el prefijo que desea asociar y haga clic en el botón \"Guardar\". " 664 "Primero, haga clic en \"Comprobar\" para cargar los prefijos disponibles." 443 665 444 666 #: includes/woo.php:23 … … 446 668 msgstr "Selecciona el tipo de persona" 447 669 448 #: content/product-invoice.php:16 5670 #: content/product-invoice.php:166 449 671 msgid "Send" 450 672 msgstr "Enviar" 451 673 452 #: content/admin.php:4 453 msgid "Setting saved!" 454 msgstr "Configuración guardada!" 455 456 #: content/settings.php:73 content/settings.php:79 content/admin.php:19 674 #: content/admin.php:61 457 675 msgid "Settings" 458 676 msgstr "Configuración" 459 677 460 #: content/information.php:54 content/information.php:77 678 #: content/information.php:76 content/information.php:112 679 #: content/information.php:166 461 680 msgid "settings page" 462 681 msgstr "pagina de configuración" 463 682 464 #: content/dian.php:242 683 #: wc-yabi.php:116 content/admin.php:25 includes/ajax.php:97 684 msgid "Settings saved successfully!" 685 msgstr "¡Configuración guardada exitosamente!" 686 687 #: content/cancel-invoice.php:86 content/dian.php:71 465 688 msgid "Start Date" 466 689 msgstr "Fecha de inicio" 467 690 468 #: content/dian.php:80 content/dian.php:110691 #: wc-yabi.php:120 469 692 msgid "Success" 470 693 msgstr "Éxito" 471 694 472 #: includes/transaction.php: 157695 #: includes/transaction.php:310 473 696 msgid "Success!. Invoice generate: " 474 697 msgstr "¡Éxito!. Generación de factura: " 475 698 476 #: content/information.php: 135699 #: content/information.php:324 477 700 msgid "Support this plugin" 478 701 msgstr "Colabora con este plugin" … … 483 706 msgstr "Teléfono" 484 707 485 #: content/information.php: 51708 #: content/information.php:71 content/information.php:107 486 709 msgid "" 487 710 "The fields of the invoice are the name and the consecutive number of the " … … 493 716 "complete los datos correspondientes. Ejemplo: SETT-26." 494 717 495 #: includes/transaction.php:1 072718 #: includes/transaction.php:1333 496 719 msgid "The new DIAN resolutions are synchronized with Yabi.co" 497 720 msgstr "Las nuevas resoluciones de la DIAN se sincronizan con Yabi.co" 498 721 499 #: content/information.php:96 722 #: content/information.php:37 723 #| msgid "" 724 #| "In Credit: The payment is credited and you can select the number of days " 725 #| "of the credit, generally it is 30 days" 726 msgid "" 727 "The payment is credited and you can select the number of days of the credit, " 728 "generally it is 30 days" 729 msgstr "" 730 "El pago se acredita y puedes seleccionar el número de días del crédito, " 731 "generalmente son 30 días" 732 733 #: content/information.php:33 734 #| msgid "Cash: The payment is made immediately." 735 msgid "The payment is made immediately." 736 msgstr "El pago se realiza de inmediato." 737 738 #: content/information.php:197 500 739 msgid "The process to generate an invoice." 501 740 msgstr "El proceso para generar una factura." 502 741 503 #: content/information.php:98 742 #: content/product-invoice.php:191 includes/ajax.php:114 743 msgid "The reason is required" 744 msgstr "Se requiere el motivo" 745 746 #: content/information.php:203 504 747 #| msgid "" 505 748 #| "The WooCommerce purchase must be in a completed state, in order to " … … 512 755 "la factura electrónica. (Automático o Manual)" 513 756 514 #: content/information.php: 31757 #: content/information.php:44 515 758 msgid "" 516 759 "This option allows you to modify the default Woocommerce form to allow the " … … 526 769 "puedan generar la dirección necesaria para la DIAN." 527 770 528 #: content/information.php:109 771 #: content/cancel-invoice.php:43 772 msgid "To" 773 msgstr "A" 774 775 #: content/information.php:242 529 776 msgid "To download the invoice you have to enter the Yabi platform" 530 777 msgstr "Para descargar la factura tiene que ingresar a la plataforma de Yabi" 531 778 532 #: content/information.php: 72779 #: content/information.php:146 533 780 msgid "" 534 781 "To get started, contact Yabi to send you the personalized Token of your " … … 538 785 "de su cuenta por correo electrónico." 539 786 540 #: content/settings.php:1 69787 #: content/settings.php:170 541 788 msgid "Token" 542 789 msgstr "Token" 543 790 544 #: includes/woo.php:60 content/product-invoice-old.php:27545 #: content/product -invoice.php:62 content/product.php:163791 #: content/product-invoice-old.php:27 content/product-invoice.php:62 792 #: content/product.php:163 includes/woo.php:60 546 793 msgid "Type of document" 547 794 msgstr "Tipo de documento" … … 551 798 msgstr "¡El tipo de documento es un campo obligatorio!" 552 799 553 #: content/settings.php:15 1800 #: content/settings.php:155 554 801 msgid "Type of Owner" 555 802 msgstr "Tipo de dueño" … … 563 810 msgstr "¡El tipo de persona es un campo obligatorio!" 564 811 565 #: includes/transaction.php:165 includes/transaction.php:877 566 #: includes/transaction.php:1014 includes/transaction.php:1045 567 #: includes/transaction.php:1076 812 #: content/product-invoice.php:322 content/product-invoice.php:348 813 #: includes/transaction.php:55 includes/transaction.php:318 814 #: includes/transaction.php:1027 includes/transaction.php:1121 815 #: includes/transaction.php:1258 includes/transaction.php:1306 816 #: includes/transaction.php:1337 568 817 msgid "Unexpected error, try again later or contact support." 569 818 msgstr "" … … 571 820 "soporte técnico." 572 821 573 #: content/product.php:93 content/dian.php:68 content/dian.php:98 574 #: content/dian.php:154 822 #: wc-yabi.php:118 823 msgid "Unexpected error, try again later!" 824 msgstr "Error inesperado, ¡inténtalo de nuevo más tarde!" 825 826 #: content/product.php:93 575 827 msgid "Unexpected error, try again later.!" 576 828 msgstr "Error inesperado, ¡inténtalo de nuevo más tarde!" 577 829 578 #: content/dian.php: 219830 #: content/dian.php:36 579 831 msgid "Update" 580 832 msgstr "Actualizar" 581 833 582 #: content/dian.php:2 13834 #: content/dian.php:20 content/information.php:254 583 835 msgid "Update resolution in yabi.co" 584 836 msgstr "Actualizar resolución en yabi.co" 585 837 586 #: content/settings.php:17 7838 #: content/settings.php:176 587 839 msgid "URL client" 588 840 msgstr "Cliente URL" 589 841 590 #: content/information.php:104 842 #: content/settings.php:103 content/settings.php:135 843 msgid "View Last" 844 msgstr "Ver último" 845 846 #: content/information.php:222 591 847 msgid "" 592 848 "When displaying the order information, the Yabi module will be displayed at " … … 596 852 "el módulo de Yabi" 597 853 598 #: content/information.php: 73854 #: content/information.php:150 599 855 msgid "with your username and password." 600 856 msgstr "con su nombre de usuario y contraseña." 601 857 602 #: wc-yabi.php: 94858 #: wc-yabi.php:148 603 859 msgid "Yabi - Invoice Data" 604 860 msgstr "Yabi - Información de facturación" 605 861 606 #: content/admin.php:15 862 #. Name of the plugin 863 msgid "Yabi einvoice for WooCommerce" 864 msgstr "Factura electrónica Yabi para WooCommerce" 865 866 #: content/admin.php:37 607 867 msgid "Yabi for WooCommerce" 608 868 msgstr "Yabi para WooCommerce" 609 869 610 #: content/settings.php: 107870 #: content/settings.php:65 611 871 msgid "Yes" 612 872 msgstr "Si" 613 873 614 #: content/information.php:105 874 #: content/information.php:124 875 msgid "" 876 "You can check the numbering by clicking the \"View Last Credit Note\" button" 877 msgstr "" 878 "Puede consultar la numeración haciendo clic en el botón \"Ver última nota de " 879 "crédito\"" 880 881 #: content/information.php:88 882 msgid "" 883 "You can check the numbering by clicking the \"View Last Invoice\" button" 884 msgstr "" 885 "Puede comprobar la numeración haciendo clic en el botón \"Ver última " 886 "factura\"" 887 888 #: content/information.php:226 615 889 msgid "You must select the type of person" 616 890 msgstr "Debe seleccionar el tipo de persona" -
wc-yabi/trunk/languages/yabi-wc-es_ES.l10n.php
r3218446 r3422044 1 1 <?php 2 return ['project-id-version'=>'Yabi for WooCommerce','report-msgid-bugs-to'=>'','pot-creation-date'=>'2020-12-02 23:02+0000','po-revision-date'=>'2025- 01-07 15:43+0000','last-translator'=>'','language-team'=>'Spanish (Spain)','language'=>'es_ES','mime-version'=>'1.0','content-type'=>'text/plain; charset=UTF-8','content-transfer-encoding'=>'8bit','plural-forms'=>'nplurals=2; plural=n != 1;','x-generator'=>'Loco https://localise.biz/','x-loco-version'=>'2.6.11; wp-6.6','x-loco-fallback'=>'es_CO','x-loco-template'=>'languages/yabi-wc-es_CO.po','x-loco-template-mode'=>'PO,JSON','messages'=>['About the plugin'=>'Acerca del plugin','Address'=>'Dirección','After the DIAN has created the resolutions, please click on the "Update" button'=>'Luego de que la DIAN haya creado las resoluciones, por favor haga clic en el botón “Actualizar”','Associates a prefix with an organizational unit on Yabi'=>'Asocia un prefijo con una unidad organizativa en Yabi','Automatic'=>'Automático','Automatic: Generates automatic invoices, this depends on whether the data has been filled out correctly.'=>'Automático: Genera facturas automáticas, esto depende de si los datos se han completado correctamente.','Business Unit Uuid'=>'Unidad de negocio Uuid','Cash: The payment is made immediately.'=>'Efectivo: El pago se realiza de forma inmediata.','Check'=>'Verificar','Checking resolution prefixes in the Yabi system'=>'Comprobación de prefijos de resolución en el sistema Yabi','City'=>'Ciudad','City Code'=>'Código de ciudad','Click in button "Save".'=>'Clic en el botón "Guardar"','Click on "Business Units".'=>'Clic en "Unidad de negocio"','Click on a business unit, this displays the information of the business unit.'=>'Clic en unidad de negocio, este despliega la información de la unidad de negocio','Click on the "Save" button to save the information of the fields'=>'Clic en el botón "Guardar" para guardar la información de los campos','Click on the button "Save and generate" for when you are sure to generate the invoice, after the invoice is generated you will not be able to edit the fields again.'=>'Clic en el botón "Guardar y generar" para cuando este seguro de generar la facturación, luego de que la factura se genera no podrá volver a editar los campos. ','Click on the order to open the details'=>'Clic en el pedido para abrir los detalles','Click on WooCommerce orders'=>'Clic en pedidos de WooCommerce','Click the "Check" button to generate a table with the latest resolutions available in Yabi'=>'Haga clic en el botón "Verificar" para generar una tabla con las últimas resoluciones disponibles en Yabi','Client'=>'Cliente','Code QR'=>'Código QR','Commercial Name'=>'Nombre comercial','Company'=>'Empresa','Copy and paste the personalized Token in the text field "Token".'=>'Copia y pega el Token personalizado en la caja de texto "Token"','Copy the code of the business unit.'=>'Copia el codigo de la unidad de negocio.','Copy the example URL client in the text field "URL client".'=>'Copia el ejemplo del cliente URL en la caja de texto "Cliente URL"','Create the resolution in the DIAN Muisca system and assign it in the DIAN “Electronic Billing” portal to Neia / Yabi.co.'=>'Crear la resolución en el sistema DIAN Muisca y asignarla en el portal “Facturación Electrónica” de la DIAN a Neia / Yabi.co.','Create your electronic invoices of purchases made in woocommerce with Yabi'=>'Crea facturas electrónicas de tus compras de Woocommerce en Yabi','Credit'=>'Crédito','Credit days'=>'Días de crédito','Depending on the type of person, you must complete the additional information'=>'Según el tipo de persona debe completar la información adicional','DIAN'=>'DIAN','DIAN resolutions were updated on Yabi.co'=>'Resoluciones de la DIAN fueron actualizadas en Yabi.co','Document Type'=>'Tipo de documento','Email'=>'Correo electrónico','End Date'=>'Fecha de finalización','Enter the Yabi system'=>'Ingrese al sistema de Yabi','Environment'=>'Ambiente','Fill the text field "Invoice Name" with the invoice name. Example: "SETT-", "SE"'=>'Llene el campo de texto "Nombre de factura" con las siglas de la factura. Ejemplo: "SETT-", "SE".','Fill the text field with the consecutive invoice. Example: if the consecutive number is 25, please fill the text field with 26.'=>'Llene el campo de texto con el consecutivo de la factura. Ejemplo: Si el consecutivo actual es 25, favor colocar en la caja de texto el número 26.','Find the order in the completed state for which you want to generate an invoice'=>'Buscar el pedido en estado completado al cual se desea generar una factura','Go to'=>'Ir a','How to generate an invoice?'=>'Cómo generar una factura?','https://datakun.com/'=>'https://datakun.com/','https://mireunion.com/yabi'=>'https://mireunion.com/yabi','I agree to modify the checkout'=>'Acepto modificar el checkout','Identifier'=>'Identificación','Identifier digit'=>'Dígito identificación','Identifier field must contain a positive number of at least 5 digits.'=>'El campo identificación debe contener un número positivo de al menos 5 dígitos.','Identifier is a required Field!'=>'¡El identificador es un campo obligatorio!','In cash'=>'En efectivo','In Credit: The payment is credited and you can select the number of days of the credit, generally it is 30 days'=>'En Crédito: Se acredita el pago y puedes seleccionar el número de días del crédito, generalmente son 30 días','Information'=>'Información','Instructions for client'=>'Instrucciones para el cliente','Instructions for invoice'=>'Instrucciones para la facturación','Instructions for settings'=>'Instrucciones para la configuración','Integrate Yabi for WooCommerce'=>'Integración Yabi para WooCommerce','Invoice'=>'Factura','Invoice Name'=>'Nombre de factura','Invoice Number'=>'Número de factura','Invoice resent!'=>'¡Factura reenviada!','Invoice Serial'=>'Serie de la factura','Invoice type'=>'Tipo de factura','Invoices can be defined in Cash or In Credit'=>'Las facturas se pueden definir en efectivo o en crédito.','Last Name'=>'Apellido','Legal Entity'=>'Persona jurídica','Manual'=>'Manual','Manual: Generate invoices manually in order administration'=>'Manual: Genera facturas manualmente en la administración de pedidos.','Mex Avila'=>'Mex Avila','Name'=>'Nombre','Natural Person'=>'Persona natural','No'=>'No','Note Description'=>'Descripción de la nota','Note Name'=>'Nombre de la nota','Observations'=>'Observaciones','Paste the previously copied code in the text field "Business Unit Uuid".'=>'Pegue el código previamente copiado en la caja de texto "Unidad de negocio Uuid".','Payment type'=>'Tipo de pago','Person'=>'Persona natural','Please enter the Yabi plugin configuration, as you need to enter new data for it to work correctly'=>'Ingrese a la configuración del complemento Yabi, ya que necesita ingresar nuevos datos para que funcione correctamente','Postcode'=>'Código postal','Prefix'=>'Prefijo','Prefix ID'=>'Prefijo ID','Resend invoice'=>'Reenviar factura','Resolution Number'=>'Número de resolución','Save'=>'Guardar','Save & Generate'=>'Guardar y generar','Saved data!. Unexpected error on invoice, try again later.!'=>'Datos guardados!. Error inesperado en la factura, ¡inténtalo de nuevo más tarde!','Second Last Name'=>'Segundo apellido','Second Name'=>'Segundo nombre','Select the type of person'=>'Selecciona el tipo de persona','Send'=>'Enviar','Setting saved!'=>'Configuración guardada!','Settings'=>'Configuración','settings page'=>'pagina de configuración','Start Date'=>'Fecha de inicio','Success'=>'Éxito','Success!. Invoice generate: '=>'¡Éxito!. Generación de factura: ','Support this plugin'=>'Colabora con este plugin','Telephone'=>'Teléfono','The fields of the invoice are the name and the consecutive number of the invoice, before the DIAN the requirement for the numbering had to be passed. Please fill in the corresponding data. Example: SETT-26.'=>'Los campos de la factura son el nombre y el número consecutivo de la factura, en la DIAN tuvo que pasar el requisito para la numeración. Por favor complete los datos correspondientes. Ejemplo: SETT-26.','The new DIAN resolutions are synchronized with Yabi.co'=>'Las nuevas resoluciones de la DIAN se sincronizan con Yabi.co','The process to generate an invoice.'=>'El proceso para generar una factura.','The WooCommerce purchase must be in a completed state, in order to generate the electronic invoice. (Automatic or Manual)'=>'La compra de WooCommerce debe estar en estado completado, para poder generar la factura electrónica. (Automático o Manual)','This option allows you to modify the default Woocommerce form to allow the custom fields that Yabi uses, such as IDs or NIT. It also displays the departments and municipalities of Colombia with their respective DIAN codes. It also generates a link so that people can generate the address as necessary for the DIAN.'=>'Esta opción le permite modificar el formulario predeterminado de Woocommerce para permitir los campos personalizados que utiliza Yabi, como cédula o NIT. También muestra los departamentos y municipios de Colombia con sus respectivos códigos DIAN. También genera un enlace para que las personas puedan generar la dirección necesaria para la DIAN.','To download the invoice you have to enter the Yabi platform'=>'Para descargar la factura tiene que ingresar a la plataforma de Yabi','To get started, contact Yabi to send you the personalized Token of your account by email.'=>'Para comenzar, comuníquese con Yabi para que le envíe el Token personalizado de su cuenta por correo electrónico.','Token'=>'Token','Type of document'=>'Tipo de documento','Type of document is a required Field!'=>'¡El tipo de documento es un campo obligatorio!','Type of Owner'=>'Tipo de dueño','Type of person'=>'Tipo de persona','Type of person is a required Field!'=>'¡El tipo de persona es un campo obligatorio!','Unexpected error, try again later or contact support.'=>'Error inesperado, inténtelo de nuevo más tarde o póngase en contacto con el soporte técnico.','Unexpected error, try again later.!'=>'Error inesperado, ¡inténtalo de nuevo más tarde!','Update'=>'Actualizar','Update resolution in yabi.co'=>'Actualizar resolución en yabi.co','URL client'=>'Cliente URL','When displaying the order information, the Yabi module will be displayed at the bottom'=>'Al desplegar la información del pedido, en la parte inferior se desplegara el módulo de Yabi','with your username and password.'=>'con su nombre de usuario y contraseña.','Yabi - Invoice Data'=>'Yabi - Información de facturación','Yabi for WooCommerce'=>'Yabi para WooCommerce','Yes'=>'Si','You must select the type of person'=>'Debe seleccionar el tipo de persona']];2 return ['project-id-version'=>'Yabi for WooCommerce','report-msgid-bugs-to'=>'','pot-creation-date'=>'2020-12-02 23:02+0000','po-revision-date'=>'2025-12-03 20:48+0000','last-translator'=>'','language-team'=>'Español','language'=>'es_ES','mime-version'=>'1.0','content-type'=>'text/plain; charset=UTF-8','content-transfer-encoding'=>'8bit','plural-forms'=>'nplurals=2; plural=n != 1;','x-generator'=>'Loco https://localise.biz/','x-loco-version'=>'2.6.11; wp-6.6','x-loco-fallback'=>'es_CO','x-loco-template'=>'languages/yabi-wc-es_CO.po','x-loco-template-mode'=>'PO,JSON','messages'=>['About the plugin'=>'Acerca del plugin','Address'=>'Dirección','After the DIAN has created the resolutions, please click on the "Update" button'=>'Luego de que la DIAN haya creado las resoluciones, por favor haga clic en el botón “Actualizar”','Are you sure you want to cancel this invoice? This action cannot be undone.'=>'¿Está seguro de que desea cancelar esta factura? Esta acción no se puede deshacer.','Associates a prefix with an organizational unit on Yabi'=>'Asocia un prefijo con una unidad organizativa en Yabi','Automatic'=>'Automático','Business Unit Uuid'=>'Unidad de negocio Uuid','Cancel'=>'Cancelar','Cancel Invoice'=>'Cancelar Factura','Cancel invoice'=>'Cancelar factura','Cancellation reason'=>'Motivo de cancelación','Cash'=>'Dinero','Check'=>'Verificar','Checking resolution prefixes in the Yabi system'=>'Comprobación de prefijos de resolución en el sistema Yabi','City'=>'Ciudad','City Code'=>'Código de ciudad','Click in button "Save".'=>'Haga clic en el botón "Guardar".','Click on "Business Units".'=>'Haga clic en “Unidades de Negocio”.','Click on a business unit, this displays the information of the business unit.'=>'Clic en unidad de negocio, este despliega la información de la unidad de negocio','Click on the "Save" button to save the information of the fields'=>'Clic en el botón "Guardar" para guardar la información de los campos','Click on the button "Save and generate" for when you are sure to generate the invoice, after the invoice is generated you will not be able to edit the fields again.'=>'Clic en el botón "Guardar y generar" para cuando este seguro de generar la facturación, luego de que la factura se genera no podrá volver a editar los campos. ','Click on the order to open the details'=>'Clic en el pedido para abrir los detalles','Click on WooCommerce orders'=>'Clic en pedidos de WooCommerce','Click the "Check" button to generate a table with the latest resolutions available in Yabi'=>'Haga clic en el botón "Verificar" para generar una tabla con las últimas resoluciones disponibles en Yabi','Client'=>'Cliente','Code QR'=>'Código QR','Commercial Name'=>'Nombre comercial','Company'=>'Empresa','Confirm Cancellation'=>'Confirmar cancelación','Connection error'=>'Error de conexión','Copy and paste the personalized Token in the text field "Token".'=>'Copia y pega el Token personalizado en la caja de texto "Token"','Copy the code of the business unit.'=>'Copia el codigo de la unidad de negocio.','Copy the example URL client in the text field "URL client".'=>'Copia el ejemplo del cliente URL en la caja de texto "Cliente URL"','Create'=>'Crear','Create a credit note in yabi.co'=>'Crear una nota de crédito en yabi.co','Create the resolution in the DIAN Muisca system and assign it in the DIAN "Electronic Billing" portal to Neia / Yabi.co.'=>'Crear la resolución en el sistema DIAN Muisca y asignarla en el portal “Facturación Electrónica” de la DIAN a Neia / Yabi.co.','Create your electronic invoices of purchases made in woocommerce with Yabi'=>'Crea facturas electrónicas de tus compras de Woocommerce en Yabi','Credit'=>'Crédito','Credit days'=>'Días de crédito','Credit Note'=>'Nota de crédito','Credit Note Number'=>'Número de nota de crédito','Credit Note Prefix'=>'Prefijo de nota de crédito','Default: 30 days'=>'Predeterminado: 30 días','Depending on the type of person, you must complete the additional information'=>'Según el tipo de persona debe completar la información adicional','DIAN'=>'DIAN','DIAN prefix were created on Yabi.co'=>'El prefijo DIAN se creó en Yabi.co','DIAN resolutions were updated on Yabi.co'=>'Resoluciones de la DIAN fueron actualizadas en Yabi.co','Document Type'=>'Tipo de documento','Document type is not CREDIT_NOTE'=>'El tipo de documento no es CREDIT_NOTE','Document type is not SALES_INVOICE'=>'El tipo de documento no es SALES_INVOICE','Electronic invoicing for Colombia'=>'Facturación electrónica para Colombia','Electronic invoicing integration for Colombia'=>'Integración de facturación electrónica para Colombia','Email'=>'Correo electrónico','End Date'=>'Fecha de finalización','Enter the prefix and numbering range for the credit note you want to create and click the "Create" button.'=>'Ingrese el prefijo y el rango de numeración de la nota de crédito que desea crear y haga clic en el botón "Crear".','Enter the Yabi system'=>'Ingrese al sistema de Yabi','Environment'=>'Ambiente','Error loading credit note'=>'Error al cargar la nota de crédito','Error loading invoice'=>'Error al cargar la factura','Error loading prefixes'=>'Error al cargar prefijos','Error saving settings'=>'Error al guardar la configuración','Fill the text field with the consecutive invoice. Example: if the consecutive number is 25, please fill the text field with 26.'=>'Llene el campo de texto con el consecutivo de la factura. Ejemplo: Si el consecutivo actual es 25, favor colocar en la caja de texto el número 26.','Find the order in the completed state for which you want to generate an invoice'=>'Buscar el pedido en estado completado al cual se desea generar una factura','From'=>'De','Generate invoices manually in order administration'=>'Generar facturas manualmente en la administración de pedidos','Generates automatic invoices, this depends on whether the data has been filled out correctly.'=>'Genera facturas automáticas, esto depende de si los datos se han rellenado correctamente.','Go to'=>'Ir a','How to generate an invoice?'=>'Cómo generar una factura?','https://datakun.com/'=>'https://datakun.com/','https://mireunion.com/yabi'=>'https://mireunion.com/yabi','I agree to modify the checkout'=>'Acepto modificar el checkout','Identifier'=>'Identificación','Identifier digit'=>'Dígito identificación','Identifier field must contain a positive number of at least 5 digits.'=>'El campo identificación debe contener un número positivo de al menos 5 dígitos.','Identifier is a required Field!'=>'¡El identificador es un campo obligatorio!','Important'=>'Importante','In cash'=>'En efectivo','In Credit'=>'En crédito','Information'=>'Información','Instructions for client'=>'Instrucciones para el cliente','Instructions for credit note'=>'Instrucciones para la nota de crédito','Instructions for invoice'=>'Instrucciones para la facturación','Instructions for settings'=>'Instrucciones para la configuración','Invalid tab'=>'Pestaña no válida','Invoice'=>'Factura','Invoice cancelled successfully!'=>'¡Factura cancelada exitosamente!','Invoice Name'=>'Nombre de factura','Invoice not found'=>'Factura no encontrada','Invoice Number'=>'Número de factura','Invoice resent!'=>'¡Factura reenviada!','Invoice Serial'=>'Serie de la factura','Invoice type'=>'Tipo de factura','Invoices can be defined in Cash or In Credit'=>'Las facturas se pueden definir en efectivo o en crédito.','Last Name'=>'Apellido','Legal Entity'=>'Persona jurídica','Loading...'=>'Cargando...','Manual'=>'Manual','Mex Avila'=>'Mex Avila','Name'=>'Nombre','Natural Person'=>'Persona natural','No'=>'No','No active prefixes'=>'No hay prefijos activos','No credit note found'=>'No se encontró ninguna nota de crédito','No credit notes found'=>'No se encontraron notas de crédito','No data to save'=>'No hay datos para guardar','No invoice found'=>'No se encontró ninguna factura','No invoices found'=>'No se encontraron facturas','Note'=>'Nota','Note Description'=>'Descripción de la nota','Note Name'=>'Nombre de la nota','Numbering range'=>'Rango de numeración','Observations'=>'Observaciones','Paste the previously copied code in the text field "Business Unit Uuid".'=>'Pegue el código previamente copiado en la caja de texto "Unidad de negocio Uuid".','Payment Settings'=>'Configuración de pago','Payment type'=>'Tipo de pago','Permission denied'=>'Permiso denegado','Person'=>'Persona natural','Please configure settings first'=>'Por favor, configure los ajustes primero','Please enter the Yabi plugin configuration, as you need to enter new data for it to work correctly'=>'Ingrese a la configuración del complemento Yabi, ya que necesita ingresar nuevos datos para que funcione correctamente','Please select a prefix'=>'Por favor seleccione un prefijo','Postcode'=>'Código postal','Prefix'=>'Prefijo','Prefix ID'=>'Prefijo ID','Resend invoice'=>'Reenviar factura','Resolution Number'=>'Número de resolución','Save'=>'Guardar','Save & Generate'=>'Guardar y generar','Save Settings'=>'Guardar configuración','Saved data!. Unexpected error on invoice, try again later.!'=>'Datos guardados!. Error inesperado en la factura, ¡inténtalo de nuevo más tarde!','Second Last Name'=>'Segundo apellido','Second Name'=>'Segundo nombre','Security check failed'=>'Comprobación de seguridad fallida','Select "Credit Note Prefix" with the credit note name. Example: "CNS-", "CN"'=>'Seleccione "Prefijo de nota de crédito" con el nombre de la nota. Ejemplo: "CNS-", "CN"','Select "Invoice Name" with the invoice name. Example: "SETT-", "SE"'=>'Seleccione "Nombre de la factura" con el nombre de la factura. Ejemplo: "SETT-", "SE"','Select a prefix'=>'Seleccione un prefijo','Select prefix'=>'Seleccionar prefijo','Select the prefix you want to associate and click the "Save" button.'=>'Seleccione el prefijo que desea asociar y haga clic en el botón "Guardar".','Select the prefix you want to associate and click the "Save" button. First, click "Check" to load available prefixes.'=>'Seleccione el prefijo que desea asociar y haga clic en el botón "Guardar". Primero, haga clic en "Comprobar" para cargar los prefijos disponibles.','Select the type of person'=>'Selecciona el tipo de persona','Send'=>'Enviar','Settings'=>'Configuración','settings page'=>'pagina de configuración','Settings saved successfully!'=>'¡Configuración guardada exitosamente!','Start Date'=>'Fecha de inicio','Success'=>'Éxito','Success!. Invoice generate: '=>'¡Éxito!. Generación de factura: ','Support this plugin'=>'Colabora con este plugin','Telephone'=>'Teléfono','The fields of the invoice are the name and the consecutive number of the invoice, before the DIAN the requirement for the numbering had to be passed. Please fill in the corresponding data. Example: SETT-26.'=>'Los campos de la factura son el nombre y el número consecutivo de la factura, en la DIAN tuvo que pasar el requisito para la numeración. Por favor complete los datos correspondientes. Ejemplo: SETT-26.','The new DIAN resolutions are synchronized with Yabi.co'=>'Las nuevas resoluciones de la DIAN se sincronizan con Yabi.co','The payment is credited and you can select the number of days of the credit, generally it is 30 days'=>'El pago se acredita y puedes seleccionar el número de días del crédito, generalmente son 30 días','The payment is made immediately.'=>'El pago se realiza de inmediato.','The process to generate an invoice.'=>'El proceso para generar una factura.','The reason is required'=>'Se requiere el motivo','The WooCommerce purchase must be in a completed state, in order to generate the electronic invoice. (Automatic or Manual)'=>'La compra de WooCommerce debe estar en estado completado, para poder generar la factura electrónica. (Automático o Manual)','This option allows you to modify the default Woocommerce form to allow the custom fields that Yabi uses, such as IDs or NIT. It also displays the departments and municipalities of Colombia with their respective DIAN codes. It also generates a link so that people can generate the address as necessary for the DIAN.'=>'Esta opción le permite modificar el formulario predeterminado de Woocommerce para permitir los campos personalizados que utiliza Yabi, como cédula o NIT. También muestra los departamentos y municipios de Colombia con sus respectivos códigos DIAN. También genera un enlace para que las personas puedan generar la dirección necesaria para la DIAN.','To'=>'A','To download the invoice you have to enter the Yabi platform'=>'Para descargar la factura tiene que ingresar a la plataforma de Yabi','To get started, contact Yabi to send you the personalized Token of your account by email.'=>'Para comenzar, comuníquese con Yabi para que le envíe el Token personalizado de su cuenta por correo electrónico.','Token'=>'Token','Type of document'=>'Tipo de documento','Type of document is a required Field!'=>'¡El tipo de documento es un campo obligatorio!','Type of Owner'=>'Tipo de dueño','Type of person'=>'Tipo de persona','Type of person is a required Field!'=>'¡El tipo de persona es un campo obligatorio!','Unexpected error, try again later or contact support.'=>'Error inesperado, inténtelo de nuevo más tarde o póngase en contacto con el soporte técnico.','Unexpected error, try again later!'=>'Error inesperado, ¡inténtalo de nuevo más tarde!','Unexpected error, try again later.!'=>'Error inesperado, ¡inténtalo de nuevo más tarde!','Update'=>'Actualizar','Update resolution in yabi.co'=>'Actualizar resolución en yabi.co','URL client'=>'Cliente URL','View Last'=>'Ver último','When displaying the order information, the Yabi module will be displayed at the bottom'=>'Al desplegar la información del pedido, en la parte inferior se desplegara el módulo de Yabi','with your username and password.'=>'con su nombre de usuario y contraseña.','Yabi - Invoice Data'=>'Yabi - Información de facturación','Yabi einvoice for WooCommerce'=>'Factura electrónica Yabi para WooCommerce','Yabi for WooCommerce'=>'Yabi para WooCommerce','Yes'=>'Si','You can check the numbering by clicking the "View Last Credit Note" button'=>'Puede consultar la numeración haciendo clic en el botón "Ver última nota de crédito"','You can check the numbering by clicking the "View Last Invoice" button'=>'Puede comprobar la numeración haciendo clic en el botón "Ver última factura"','You must select the type of person'=>'Debe seleccionar el tipo de persona']]; -
wc-yabi/trunk/languages/yabi-wc-es_ES.po
r3218446 r3422044 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2020-12-02 23:02+0000\n" 6 "PO-Revision-Date: 2025- 01-07 15:43+0000\n"6 "PO-Revision-Date: 2025-12-03 20:48+0000\n" 7 7 "Last-Translator: \n" 8 "Language-Team: Spanish (Spain)\n"8 "Language-Team: Español\n" 9 9 "Language: es_ES\n" 10 10 "MIME-Version: 1.0\n" … … 18 18 "X-Loco-Template-Mode: PO,JSON" 19 19 20 #: content/information.php: 13020 #: content/information.php:321 21 21 msgid "About the plugin" 22 22 msgstr "Acerca del plugin" … … 27 27 msgstr "Dirección" 28 28 29 #: content/dian.php:2 1729 #: content/dian.php:29 content/information.php:268 30 30 msgid "" 31 31 "After the DIAN has created the resolutions, please click on the \"Update\" " … … 35 35 "botón “Actualizar”" 36 36 37 #: content/dian.php:264 37 #: content/product-invoice.php:186 38 msgid "" 39 "Are you sure you want to cancel this invoice? This action cannot be undone." 40 msgstr "" 41 "¿Está seguro de que desea cancelar esta factura? Esta acción no se puede " 42 "deshacer." 43 44 #: content/cancel-invoice.php:111 content/dian.php:96 38 45 msgid "Associates a prefix with an organizational unit on Yabi" 39 46 msgstr "Asocia un prefijo con una unidad organizativa en Yabi" 40 47 41 #: content/ settings.php:11748 #: content/information.php:52 content/settings.php:73 42 49 msgid "Automatic" 43 50 msgstr "Automático" 44 51 45 #: content/information.php:37 46 msgid "" 47 "Automatic: Generates automatic invoices, this depends on whether the data " 48 "has been filled out correctly." 49 msgstr "" 50 "Automático: Genera facturas automáticas, esto depende de si los datos se han " 51 "completado correctamente." 52 53 #: content/settings.php:161 52 #: content/cancel-invoice.php:93 content/dian.php:78 content/settings.php:164 54 53 msgid "Business Unit Uuid" 55 54 msgstr "Unidad de negocio Uuid" 56 55 57 #: content/information.php:24 58 msgid "Cash: The payment is made immediately." 59 msgstr "Efectivo: El pago se realiza de forma inmediata." 60 61 #: content/dian.php:233 56 #: content/product-invoice.php:195 57 msgid "Cancel" 58 msgstr "Cancelar" 59 60 #: content/admin.php:80 content/information.php:288 content/information.php:294 61 #: content/product-invoice.php:185 62 msgid "Cancel Invoice" 63 msgstr "Cancelar Factura" 64 65 #: content/product-invoice.php:145 66 msgid "Cancel invoice" 67 msgstr "Cancelar factura" 68 69 #: content/product-invoice.php:189 70 msgid "Cancellation reason" 71 msgstr "Motivo de cancelación" 72 73 #: content/information.php:33 74 msgid "Cash" 75 msgstr "Dinero" 76 77 #: content/cancel-invoice.php:74 content/dian.php:59 62 78 msgid "Check" 63 79 msgstr "Verificar" 64 80 65 #: content/ dian.php:22981 #: content/cancel-invoice.php:66 content/dian.php:51 66 82 msgid "Checking resolution prefixes in the Yabi system" 67 83 msgstr "Comprobación de prefijos de resolución en el sistema Yabi" … … 75 91 msgstr "Código de ciudad" 76 92 77 #: content/information.php: 57 content/information.php:8178 # , fuzzy79 msgid "Click in button "Save"."80 msgstr " Clic en el botón "Guardar""81 82 #: content/information.php: 7483 msgid "Click on "Business Units"."84 msgstr " Clic en "Unidad de negocio""85 86 #: content/information.php: 7593 #: content/information.php:92 content/information.php:128 94 #: content/information.php:182 95 msgid "Click in button \"Save\"." 96 msgstr "Haga clic en el botón \"Guardar\"." 97 98 #: content/information.php:154 99 msgid "Click on \"Business Units\"." 100 msgstr "Haga clic en “Unidades de Negocio”." 101 102 #: content/information.php:158 87 103 msgid "" 88 104 "Click on a business unit, this displays the information of the business unit." … … 91 107 "negocio" 92 108 93 #: content/information.php: 107109 #: content/information.php:234 94 110 msgid "Click on the \"Save\" button to save the information of the fields" 95 111 msgstr "Clic en el botón \"Guardar\" para guardar la información de los campos" 96 112 97 #: content/information.php: 108113 #: content/information.php:238 98 114 msgid "" 99 115 "Click on the button \"Save and generate\" for when you are sure to generate " … … 105 121 "editar los campos. " 106 122 107 #: content/information.php: 103123 #: content/information.php:218 108 124 msgid "Click on the order to open the details" 109 125 msgstr "Clic en el pedido para abrir los detalles" 110 126 111 #: content/information.php: 101127 #: content/information.php:210 112 128 msgid "Click on WooCommerce orders" 113 129 msgstr "Clic en pedidos de WooCommerce" 114 130 115 #: content/dian.php:231 131 #: content/cancel-invoice.php:69 content/dian.php:54 132 #: content/information.php:272 content/information.php:302 116 133 msgid "" 117 134 "Click the \"Check\" button to generate a table with the latest resolutions " … … 121 138 "resoluciones disponibles en Yabi" 122 139 123 #: content/settings.php:1 45140 #: content/settings.php:150 124 141 msgid "Client" 125 142 msgstr "Cliente" 126 143 127 #: content/information.php: 146144 #: content/information.php:333 128 145 msgid "Code QR" 129 146 msgstr "Código QR" … … 133 150 msgstr "Nombre comercial" 134 151 135 #: content/settings.php:15 4152 #: content/settings.php:157 136 153 msgid "Company" 137 154 msgstr "Empresa" 138 155 139 #: content/information.php:79 140 msgid "" 141 "Copy and paste the personalized Token in the text field "Token"." 142 msgstr "" 143 "Copia y pega el Token personalizado en la caja de texto "Token"" 144 145 #: content/information.php:76 156 #: content/product-invoice.php:196 157 msgid "Confirm Cancellation" 158 msgstr "Confirmar cancelación" 159 160 #: wc-yabi.php:119 161 msgid "Connection error" 162 msgstr "Error de conexión" 163 164 #: content/information.php:174 165 #| msgid "Copy and paste the personalized Token in the text field \"Token\"." 166 msgid "Copy and paste the personalized Token in the text field \"Token\"." 167 msgstr "Copia y pega el Token personalizado en la caja de texto \"Token\"" 168 169 #: content/information.php:162 146 170 msgid "Copy the code of the business unit." 147 171 msgstr "Copia el codigo de la unidad de negocio." 148 172 149 #: content/information.php:80 150 msgid "Copy the example URL client in the text field "URL client"." 151 msgstr "" 152 "Copia el ejemplo del cliente URL en la caja de texto "Cliente URL"" 153 154 #: content/dian.php:215 173 #: content/information.php:178 174 #| msgid "" 175 #| "Copy the example URL client in the text field "URL client"." 176 msgid "Copy the example URL client in the text field \"URL client\"." 177 msgstr "Copia el ejemplo del cliente URL en la caja de texto \"Cliente URL\"" 178 179 #: content/cancel-invoice.php:51 180 msgid "Create" 181 msgstr "Crear" 182 183 #: content/cancel-invoice.php:20 184 msgid "Create a credit note in yabi.co" 185 msgstr "Crear una nota de crédito en yabi.co" 186 187 #: content/dian.php:23 content/information.php:264 188 #| msgid "" 189 #| "Create the resolution in the DIAN Muisca system and assign it in the DIAN " 190 #| "“Electronic Billing” portal to Neia / Yabi.co." 155 191 msgid "" 156 192 "Create the resolution in the DIAN Muisca system and assign it in the DIAN " 157 " “Electronic Billing”portal to Neia / Yabi.co."193 "\"Electronic Billing\" portal to Neia / Yabi.co." 158 194 msgstr "" 159 195 "Crear la resolución en el sistema DIAN Muisca y asignarla en el portal " … … 165 201 msgstr "Crea facturas electrónicas de tus compras de Woocommerce en Yabi" 166 202 167 #: content/settings.php: 89203 #: content/settings.php:49 168 204 msgid "Credit" 169 205 msgstr "Crédito" 170 206 171 #: content/settings.php: 95207 #: content/settings.php:54 172 208 msgid "Credit days" 173 209 msgstr "Días de crédito" 174 210 175 #: content/information.php:106 211 #: content/settings.php:118 212 msgid "Credit Note" 213 msgstr "Nota de crédito" 214 215 #: content/settings.php:130 216 msgid "Credit Note Number" 217 msgstr "Número de nota de crédito" 218 219 #: content/settings.php:123 220 msgid "Credit Note Prefix" 221 msgstr "Prefijo de nota de crédito" 222 223 #: content/settings.php:56 224 msgid "Default: 30 days" 225 msgstr "Predeterminado: 30 días" 226 227 #: content/information.php:230 176 228 msgid "" 177 229 "Depending on the type of person, you must complete the additional information" 178 230 msgstr "Según el tipo de persona debe completar la información adicional" 179 231 180 #: content/admin.php: 23 content/dian.php:209232 #: content/admin.php:71 content/information.php:260 181 233 msgid "DIAN" 182 234 msgstr "DIAN" 183 235 184 #: includes/transaction.php:873 236 #: includes/transaction.php:1023 237 msgid "DIAN prefix were created on Yabi.co" 238 msgstr "El prefijo DIAN se creó en Yabi.co" 239 240 #: includes/transaction.php:1117 185 241 msgid "DIAN resolutions were updated on Yabi.co" 186 242 msgstr "Resoluciones de la DIAN fueron actualizadas en Yabi.co" 187 243 188 #: content/ dian.php:248244 #: content/cancel-invoice.php:92 content/dian.php:77 189 245 msgid "Document Type" 190 246 msgstr "Tipo de documento" 191 247 248 #: includes/ajax.php:399 249 msgid "Document type is not CREDIT_NOTE" 250 msgstr "El tipo de documento no es CREDIT_NOTE" 251 252 #: includes/ajax.php:362 253 msgid "Document type is not SALES_INVOICE" 254 msgstr "El tipo de documento no es SALES_INVOICE" 255 256 #: content/information.php:342 257 msgid "Electronic invoicing for Colombia" 258 msgstr "Facturación electrónica para Colombia" 259 260 #: content/admin.php:38 261 msgid "Electronic invoicing integration for Colombia" 262 msgstr "Integración de facturación electrónica para Colombia" 263 192 264 #: content/product-invoice-old.php:39 content/product-invoice.php:74 193 #: content/product-invoice.php:15 6content/product.php:186265 #: content/product-invoice.php:157 content/product.php:186 194 266 msgid "Email" 195 267 msgstr "Correo electrónico" 196 268 197 #: content/ dian.php:247269 #: content/cancel-invoice.php:91 content/dian.php:76 198 270 msgid "End Date" 199 271 msgstr "Fecha de finalización" 200 272 201 #: content/information.php:73 273 #: content/cancel-invoice.php:23 content/information.php:298 274 msgid "" 275 "Enter the prefix and numbering range for the credit note you want to create " 276 "and click the \"Create\" button." 277 msgstr "" 278 "Ingrese el prefijo y el rango de numeración de la nota de crédito que desea " 279 "crear y haga clic en el botón \"Crear\"." 280 281 #: content/information.php:150 202 282 msgid "Enter the Yabi system" 203 283 msgstr "Ingrese al sistema de Yabi" 204 284 205 #: content/ dian.php:246285 #: content/cancel-invoice.php:90 content/dian.php:75 206 286 msgid "Environment" 207 287 msgstr "Ambiente" 208 288 209 #: content/information.php:55 210 msgid "" 211 "Fill the text field \"Invoice Name\" with the invoice name. Example: \"SETT-" 212 "\", \"SE\"" 213 msgstr "" 214 "Llene el campo de texto \"Nombre de factura\" con las siglas de la factura. " 215 "Ejemplo: \"SETT-\", \"SE\"." 216 217 #: content/information.php:56 289 #: wc-yabi.php:115 290 msgid "Error loading credit note" 291 msgstr "Error al cargar la nota de crédito" 292 293 #: wc-yabi.php:113 294 msgid "Error loading invoice" 295 msgstr "Error al cargar la factura" 296 297 #: wc-yabi.php:111 298 msgid "Error loading prefixes" 299 msgstr "Error al cargar prefijos" 300 301 #: wc-yabi.php:117 302 msgid "Error saving settings" 303 msgstr "Error al guardar la configuración" 304 305 #: content/information.php:84 content/information.php:120 218 306 msgid "" 219 307 "Fill the text field with the consecutive invoice. Example: if the " … … 223 311 "consecutivo actual es 25, favor colocar en la caja de texto el número 26." 224 312 225 #: content/information.php: 102313 #: content/information.php:214 226 314 msgid "" 227 315 "Find the order in the completed state for which you want to generate an " … … 230 318 "Buscar el pedido en estado completado al cual se desea generar una factura" 231 319 232 #: content/information.php:54 content/information.php:77 320 #: content/cancel-invoice.php:38 321 msgid "From" 322 msgstr "De" 323 324 #: content/information.php:56 325 #| msgid "Manual: Generate invoices manually in order administration" 326 msgid "Generate invoices manually in order administration" 327 msgstr "Generar facturas manualmente en la administración de pedidos" 328 329 #: content/information.php:52 330 #| msgid "" 331 #| "Automatic: Generates automatic invoices, this depends on whether the data " 332 #| "has been filled out correctly." 333 msgid "" 334 "Generates automatic invoices, this depends on whether the data has been " 335 "filled out correctly." 336 msgstr "" 337 "Genera facturas automáticas, esto depende de si los datos se han rellenado " 338 "correctamente." 339 340 #: content/information.php:76 content/information.php:112 341 #: content/information.php:166 content/information.php:260 342 #: content/information.php:294 233 343 msgid "Go to" 234 344 msgstr "Ir a" 235 345 236 #: content/information.php: 92346 #: content/information.php:194 237 347 msgid "How to generate an invoice?" 238 348 msgstr "Cómo generar una factura?" … … 246 356 msgstr "https://mireunion.com/yabi" 247 357 248 #: content/ settings.php:103 content/information.php:28358 #: content/information.php:43 content/settings.php:62 249 359 msgid "I agree to modify the checkout" 250 360 msgstr "Acepto modificar el checkout" 251 361 252 #: includes/woo.php:72 content/product-invoice-old.php:32253 #: content/product -invoice.php:67 content/product.php:178362 #: content/product-invoice-old.php:32 content/product-invoice.php:67 363 #: content/product.php:178 includes/woo.php:72 254 364 msgid "Identifier" 255 365 msgstr "Identificación" … … 269 379 msgstr "¡El identificador es un campo obligatorio!" 270 380 271 #: content/settings.php:88 381 #: content/information.php:202 382 msgid "Important" 383 msgstr "Importante" 384 385 #: content/settings.php:48 272 386 msgid "In cash" 273 387 msgstr "En efectivo" 274 388 275 #: content/information.php:25 276 msgid "" 277 "In Credit: The payment is credited and you can select the number of days of " 278 "the credit, generally it is 30 days" 279 msgstr "" 280 "En Crédito: Se acredita el pago y puedes seleccionar el número de días del " 281 "crédito, generalmente son 30 días" 282 283 #: content/information.php:4 content/admin.php:18 389 #: content/information.php:37 390 msgid "In Credit" 391 msgstr "En crédito" 392 393 #: content/admin.php:52 284 394 msgid "Information" 285 395 msgstr "Información" 286 396 287 #: content/information.php: 67397 #: content/information.php:140 288 398 msgid "Instructions for client" 289 399 msgstr "Instrucciones para el cliente" 290 400 291 #: content/information.php:47 401 #: content/information.php:104 402 msgid "Instructions for credit note" 403 msgstr "Instrucciones para la nota de crédito" 404 405 #: content/information.php:68 292 406 msgid "Instructions for invoice" 293 407 msgstr "Instrucciones para la facturación" 294 408 295 #: content/information.php: 17409 #: content/information.php:25 296 410 msgid "Instructions for settings" 297 411 msgstr "Instrucciones para la configuración" 298 412 299 # . Name of the plugin300 msgid "In tegrate Yabi for WooCommerce"301 msgstr " Integración Yabi para WooCommerce"302 303 #: content/settings.php: 124413 #: includes/ajax.php:47 414 msgid "Invalid tab" 415 msgstr "Pestaña no válida" 416 417 #: content/settings.php:86 304 418 msgid "Invoice" 305 419 msgstr "Factura" 306 420 307 #: content/settings.php:130 421 #: includes/transaction.php:51 422 msgid "Invoice cancelled successfully!" 423 msgstr "¡Factura cancelada exitosamente!" 424 425 #: content/settings.php:91 308 426 msgid "Invoice Name" 309 427 msgstr "Nombre de factura" 310 428 311 #: content/product-invoice-old.php:88 content/settings.php:137 312 #: content/product-invoice.php:128 429 #: includes/ajax.php:122 430 msgid "Invoice not found" 431 msgstr "Factura no encontrada" 432 433 #: content/product-invoice-old.php:88 content/product-invoice.php:128 434 #: content/settings.php:98 313 435 msgid "Invoice Number" 314 436 msgstr "Número de factura" 315 437 316 #: includes/transaction.php:1 138438 #: includes/transaction.php:1461 317 439 msgid "Invoice resent!" 318 440 msgstr "¡Factura reenviada!" … … 322 444 msgstr "Serie de la factura" 323 445 324 #: content/ settings.php:113 content/information.php:34446 #: content/information.php:48 content/settings.php:70 325 447 msgid "Invoice type" 326 448 msgstr "Tipo de factura" 327 449 328 #: content/information.php:2 1450 #: content/information.php:28 329 451 msgid "Invoices can be defined in Cash or In Credit" 330 452 msgstr "Las facturas se pueden definir en efectivo o en crédito." … … 339 461 msgstr "Persona jurídica" 340 462 341 #: content/settings.php:116 463 #: wc-yabi.php:108 content/admin.php:90 content/settings.php:93 464 #: content/settings.php:125 465 msgid "Loading..." 466 msgstr "Cargando..." 467 468 #: content/information.php:56 content/settings.php:72 342 469 msgid "Manual" 343 470 msgstr "Manual" 344 345 #: content/information.php:38346 msgid "Manual: Generate invoices manually in order administration"347 msgstr "Manual: Genera facturas manualmente en la administración de pedidos."348 471 349 472 #. Author of the plugin … … 352 475 353 476 #: content/product-invoice-old.php:13 content/product-invoice.php:26 354 #: content/product-invoice.php:1 49content/product.php:135477 #: content/product-invoice.php:150 content/product.php:135 355 478 msgid "Name" 356 479 msgstr "Nombre" … … 360 483 msgstr "Persona natural" 361 484 362 #: content/settings.php: 106485 #: content/settings.php:64 363 486 msgid "No" 364 487 msgstr "No" 488 489 #: wc-yabi.php:110 490 msgid "No active prefixes" 491 msgstr "No hay prefijos activos" 492 493 #: wc-yabi.php:114 494 msgid "No credit note found" 495 msgstr "No se encontró ninguna nota de crédito" 496 497 #: includes/ajax.php:404 498 msgid "No credit notes found" 499 msgstr "No se encontraron notas de crédito" 500 501 #: includes/ajax.php:100 502 msgid "No data to save" 503 msgstr "No hay datos para guardar" 504 505 #: wc-yabi.php:112 506 msgid "No invoice found" 507 msgstr "No se encontró ninguna factura" 508 509 #: includes/ajax.php:367 510 msgid "No invoices found" 511 msgstr "No se encontraron facturas" 512 513 #: content/dian.php:28 514 msgid "Note" 515 msgstr "Nota" 365 516 366 517 #: content/product-invoice-old.php:81 content/product-invoice.php:119 … … 374 525 msgstr "Nombre de la nota" 375 526 527 #: content/cancel-invoice.php:34 528 msgid "Numbering range" 529 msgstr "Rango de numeración" 530 376 531 #: content/product-invoice-old.php:67 content/product-invoice.php:97 377 532 #: content/product.php:229 … … 379 534 msgstr "Observaciones" 380 535 381 #: content/information.php:78 382 msgid "" 383 "Paste the previously copied code in the text field "Business Unit " 384 "Uuid"." 536 #: content/information.php:170 537 #| msgid "" 538 #| "Paste the previously copied code in the text field "Business Unit " 539 #| "Uuid"." 540 msgid "" 541 "Paste the previously copied code in the text field \"Business Unit Uuid\"." 385 542 msgstr "" 386 543 "Pegue el código previamente copiado en la caja de texto \"Unidad de negocio " 387 544 "Uuid\"." 388 545 389 #: content/settings.php:85 546 #: content/settings.php:41 547 msgid "Payment Settings" 548 msgstr "Configuración de pago" 549 550 #: content/settings.php:46 390 551 msgid "Payment type" 391 552 msgstr "Tipo de pago" 392 553 393 #: content/settings.php:155 554 #: includes/ajax.php:40 includes/ajax.php:91 555 msgid "Permission denied" 556 msgstr "Permiso denegado" 557 558 #: content/settings.php:158 394 559 msgid "Person" 395 560 msgstr "Persona natural" 396 561 397 #: wc-yabi.php:220 562 #: includes/ajax.php:52 563 msgid "Please configure settings first" 564 msgstr "Por favor, configure los ajustes primero" 565 566 #: wc-yabi.php:278 398 567 msgid "" 399 568 "Please enter the Yabi plugin configuration, as you need to enter new data " … … 402 571 "Ingrese a la configuración del complemento Yabi, ya que necesita ingresar " 403 572 "nuevos datos para que funcione correctamente" 573 574 #: wc-yabi.php:121 575 msgid "Please select a prefix" 576 msgstr "Por favor seleccione un prefijo" 404 577 405 578 #: content/product.php:222 … … 407 580 msgstr "Código postal" 408 581 409 #: content/dian.php:245 content/dian.php:270 582 #: content/cancel-invoice.php:27 content/cancel-invoice.php:89 583 #: content/cancel-invoice.php:118 content/dian.php:74 content/dian.php:103 410 584 msgid "Prefix" 411 585 msgstr "Prefijo" 412 586 413 #: content/ dian.php:244587 #: content/cancel-invoice.php:88 content/dian.php:73 414 588 msgid "Prefix ID" 415 589 msgstr "Prefijo ID" … … 419 593 msgstr "Reenviar factura" 420 594 421 #: content/ dian.php:243595 #: content/cancel-invoice.php:87 content/dian.php:72 422 596 msgid "Resolution Number" 423 597 msgstr "Número de resolución" 424 598 425 #: content/ settings.php:186 content/product.php:252 content/dian.php:276599 #: content/cancel-invoice.php:128 content/dian.php:113 content/product.php:252 426 600 msgid "Save" 427 601 msgstr "Guardar" … … 431 605 msgstr "Guardar y generar" 432 606 433 #: content/product-invoice.php:224 content/product.php:71 607 #: content/settings.php:187 608 msgid "Save Settings" 609 msgstr "Guardar configuración" 610 611 #: content/product-invoice.php:286 content/product.php:71 434 612 msgid "Saved data!. Unexpected error on invoice, try again later.!" 435 613 msgstr "" … … 437 615 "tarde!" 438 616 439 #: includes/woo.php:49 content/product-invoice.php:53 content/product.php:156617 #: content/product-invoice.php:53 content/product.php:156 includes/woo.php:49 440 618 msgid "Second Last Name" 441 619 msgstr "Segundo apellido" 442 620 443 #: includes/woo.php:38 content/product-invoice.php:35 content/product.php:142621 #: content/product-invoice.php:35 content/product.php:142 includes/woo.php:38 444 622 msgid "Second Name" 445 623 msgstr "Segundo nombre" 624 625 #: includes/ajax.php:35 includes/ajax.php:86 626 msgid "Security check failed" 627 msgstr "Comprobación de seguridad fallida" 628 629 #: content/information.php:116 630 msgid "" 631 "Select \"Credit Note Prefix\" with the credit note name. Example: \"CNS-\", " 632 "\"CN\"" 633 msgstr "" 634 "Seleccione \"Prefijo de nota de crédito\" con el nombre de la nota. Ejemplo: " 635 "\"CNS-\", \"CN\"" 636 637 #: content/information.php:80 638 #| msgid "" 639 #| "Fill the text field \"Invoice Name\" with the invoice name. Example: " 640 #| "\"SETT-\", \"SE\"" 641 msgid "" 642 "Select \"Invoice Name\" with the invoice name. Example: \"SETT-\", \"SE\"" 643 msgstr "" 644 "Seleccione \"Nombre de la factura\" con el nombre de la factura. Ejemplo: " 645 "\"SETT-\", \"SE\"" 646 647 #: content/cancel-invoice.php:120 content/dian.php:105 648 msgid "Select a prefix" 649 msgstr "Seleccione un prefijo" 650 651 #: wc-yabi.php:109 652 msgid "Select prefix" 653 msgstr "Seleccionar prefijo" 654 655 #: content/information.php:276 content/information.php:306 656 msgid "Select the prefix you want to associate and click the \"Save\" button." 657 msgstr "" 658 "Seleccione el prefijo que desea asociar y haga clic en el botón \"Guardar\"." 659 660 #: content/cancel-invoice.php:114 content/dian.php:99 661 msgid "" 662 "Select the prefix you want to associate and click the \"Save\" button. First," 663 " click \"Check\" to load available prefixes." 664 msgstr "" 665 "Seleccione el prefijo que desea asociar y haga clic en el botón \"Guardar\". " 666 "Primero, haga clic en \"Comprobar\" para cargar los prefijos disponibles." 446 667 447 668 #: includes/woo.php:23 … … 449 670 msgstr "Selecciona el tipo de persona" 450 671 451 #: content/product-invoice.php:16 5672 #: content/product-invoice.php:166 452 673 msgid "Send" 453 674 msgstr "Enviar" 454 675 455 #: content/admin.php:4 456 msgid "Setting saved!" 457 msgstr "Configuración guardada!" 458 459 #: content/settings.php:73 content/settings.php:79 content/admin.php:19 676 #: content/admin.php:61 460 677 msgid "Settings" 461 678 msgstr "Configuración" 462 679 463 #: content/information.php:54 content/information.php:77 680 #: content/information.php:76 content/information.php:112 681 #: content/information.php:166 464 682 msgid "settings page" 465 683 msgstr "pagina de configuración" 466 684 467 #: content/dian.php:242 685 #: wc-yabi.php:116 content/admin.php:25 includes/ajax.php:97 686 msgid "Settings saved successfully!" 687 msgstr "¡Configuración guardada exitosamente!" 688 689 #: content/cancel-invoice.php:86 content/dian.php:71 468 690 msgid "Start Date" 469 691 msgstr "Fecha de inicio" 470 692 471 #: content/dian.php:80 content/dian.php:110693 #: wc-yabi.php:120 472 694 msgid "Success" 473 695 msgstr "Éxito" 474 696 475 #: includes/transaction.php: 157697 #: includes/transaction.php:310 476 698 msgid "Success!. Invoice generate: " 477 699 msgstr "¡Éxito!. Generación de factura: " 478 700 479 #: content/information.php: 135701 #: content/information.php:324 480 702 msgid "Support this plugin" 481 703 msgstr "Colabora con este plugin" … … 486 708 msgstr "Teléfono" 487 709 488 #: content/information.php: 51710 #: content/information.php:71 content/information.php:107 489 711 msgid "" 490 712 "The fields of the invoice are the name and the consecutive number of the " … … 496 718 "complete los datos correspondientes. Ejemplo: SETT-26." 497 719 498 #: includes/transaction.php:1 072720 #: includes/transaction.php:1333 499 721 msgid "The new DIAN resolutions are synchronized with Yabi.co" 500 722 msgstr "Las nuevas resoluciones de la DIAN se sincronizan con Yabi.co" 501 723 502 #: content/information.php:96 724 #: content/information.php:37 725 #| msgid "" 726 #| "In Credit: The payment is credited and you can select the number of days " 727 #| "of the credit, generally it is 30 days" 728 msgid "" 729 "The payment is credited and you can select the number of days of the credit, " 730 "generally it is 30 days" 731 msgstr "" 732 "El pago se acredita y puedes seleccionar el número de días del crédito, " 733 "generalmente son 30 días" 734 735 #: content/information.php:33 736 #| msgid "Cash: The payment is made immediately." 737 msgid "The payment is made immediately." 738 msgstr "El pago se realiza de inmediato." 739 740 #: content/information.php:197 503 741 msgid "The process to generate an invoice." 504 742 msgstr "El proceso para generar una factura." 505 743 506 #: content/information.php:98 744 #: content/product-invoice.php:191 includes/ajax.php:114 745 msgid "The reason is required" 746 msgstr "Se requiere el motivo" 747 748 #: content/information.php:203 507 749 #| msgid "" 508 750 #| "The WooCommerce purchase must be in a completed state, in order to " … … 515 757 "la factura electrónica. (Automático o Manual)" 516 758 517 #: content/information.php: 31759 #: content/information.php:44 518 760 msgid "" 519 761 "This option allows you to modify the default Woocommerce form to allow the " … … 529 771 "puedan generar la dirección necesaria para la DIAN." 530 772 531 #: content/information.php:109 773 #: content/cancel-invoice.php:43 774 msgid "To" 775 msgstr "A" 776 777 #: content/information.php:242 532 778 msgid "To download the invoice you have to enter the Yabi platform" 533 779 msgstr "Para descargar la factura tiene que ingresar a la plataforma de Yabi" 534 780 535 #: content/information.php: 72781 #: content/information.php:146 536 782 msgid "" 537 783 "To get started, contact Yabi to send you the personalized Token of your " … … 541 787 "de su cuenta por correo electrónico." 542 788 543 #: content/settings.php:1 69789 #: content/settings.php:170 544 790 msgid "Token" 545 791 msgstr "Token" 546 792 547 #: includes/woo.php:60 content/product-invoice-old.php:27548 #: content/product -invoice.php:62 content/product.php:163793 #: content/product-invoice-old.php:27 content/product-invoice.php:62 794 #: content/product.php:163 includes/woo.php:60 549 795 msgid "Type of document" 550 796 msgstr "Tipo de documento" … … 554 800 msgstr "¡El tipo de documento es un campo obligatorio!" 555 801 556 #: content/settings.php:15 1802 #: content/settings.php:155 557 803 msgid "Type of Owner" 558 804 msgstr "Tipo de dueño" … … 566 812 msgstr "¡El tipo de persona es un campo obligatorio!" 567 813 568 #: includes/transaction.php:165 includes/transaction.php:877 569 #: includes/transaction.php:1014 includes/transaction.php:1045 570 #: includes/transaction.php:1076 814 #: content/product-invoice.php:322 content/product-invoice.php:348 815 #: includes/transaction.php:55 includes/transaction.php:318 816 #: includes/transaction.php:1027 includes/transaction.php:1121 817 #: includes/transaction.php:1258 includes/transaction.php:1306 818 #: includes/transaction.php:1337 571 819 msgid "Unexpected error, try again later or contact support." 572 820 msgstr "" … … 574 822 "soporte técnico." 575 823 576 #: content/product.php:93 content/dian.php:68 content/dian.php:98 577 #: content/dian.php:154 824 #: wc-yabi.php:118 825 msgid "Unexpected error, try again later!" 826 msgstr "Error inesperado, ¡inténtalo de nuevo más tarde!" 827 828 #: content/product.php:93 578 829 msgid "Unexpected error, try again later.!" 579 830 msgstr "Error inesperado, ¡inténtalo de nuevo más tarde!" 580 831 581 #: content/dian.php: 219832 #: content/dian.php:36 582 833 msgid "Update" 583 834 msgstr "Actualizar" 584 835 585 #: content/dian.php:2 13836 #: content/dian.php:20 content/information.php:254 586 837 msgid "Update resolution in yabi.co" 587 838 msgstr "Actualizar resolución en yabi.co" 588 839 589 #: content/settings.php:17 7840 #: content/settings.php:176 590 841 msgid "URL client" 591 842 msgstr "Cliente URL" 592 843 593 #: content/information.php:104 844 #: content/settings.php:103 content/settings.php:135 845 msgid "View Last" 846 msgstr "Ver último" 847 848 #: content/information.php:222 594 849 msgid "" 595 850 "When displaying the order information, the Yabi module will be displayed at " … … 599 854 "el módulo de Yabi" 600 855 601 #: content/information.php: 73856 #: content/information.php:150 602 857 msgid "with your username and password." 603 858 msgstr "con su nombre de usuario y contraseña." 604 859 605 #: wc-yabi.php: 94860 #: wc-yabi.php:148 606 861 msgid "Yabi - Invoice Data" 607 862 msgstr "Yabi - Información de facturación" 608 863 609 #: content/admin.php:15 864 #. Name of the plugin 865 msgid "Yabi einvoice for WooCommerce" 866 msgstr "Factura electrónica Yabi para WooCommerce" 867 868 #: content/admin.php:37 610 869 msgid "Yabi for WooCommerce" 611 870 msgstr "Yabi para WooCommerce" 612 871 613 #: content/settings.php: 107872 #: content/settings.php:65 614 873 msgid "Yes" 615 874 msgstr "Si" 616 875 617 #: content/information.php:105 876 #: content/information.php:124 877 msgid "" 878 "You can check the numbering by clicking the \"View Last Credit Note\" button" 879 msgstr "" 880 "Puede consultar la numeración haciendo clic en el botón \"Ver última nota de " 881 "crédito\"" 882 883 #: content/information.php:88 884 msgid "" 885 "You can check the numbering by clicking the \"View Last Invoice\" button" 886 msgstr "" 887 "Puede comprobar la numeración haciendo clic en el botón \"Ver última " 888 "factura\"" 889 890 #: content/information.php:226 618 891 msgid "You must select the type of person" 619 892 msgstr "Debe seleccionar el tipo de persona" -
wc-yabi/trunk/languages/yabi-wc.pot
r3218446 r3422044 4 4 "Project-Id-Version: Yabi for WooCommerce\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2025- 01-07 15:37+0000\n"6 "POT-Creation-Date: 2025-12-03 20:38+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 16 16 "X-Loco-Version: 2.4.6; wp-5.5.3" 17 17 18 #: content/information.php: 13018 #: content/information.php:321 19 19 msgid "About the plugin" 20 20 msgstr "" … … 25 25 msgstr "" 26 26 27 #: content/dian.php:2 1727 #: content/dian.php:29 content/information.php:268 28 28 msgid "" 29 29 "After the DIAN has created the resolutions, please click on the \"Update\" " … … 31 31 msgstr "" 32 32 33 #: content/dian.php:264 33 #: content/product-invoice.php:186 34 msgid "" 35 "Are you sure you want to cancel this invoice? This action cannot be undone." 36 msgstr "" 37 38 #: content/cancel-invoice.php:111 content/dian.php:96 34 39 msgid "Associates a prefix with an organizational unit on Yabi" 35 40 msgstr "" 36 41 37 #: content/ settings.php:11742 #: content/information.php:52 content/settings.php:73 38 43 msgid "Automatic" 39 44 msgstr "" 40 45 41 #: content/information.php:37 42 msgid "" 43 "Automatic: Generates automatic invoices, this depends on whether the data " 44 "has been filled out correctly." 45 msgstr "" 46 47 #: content/settings.php:161 46 #: content/cancel-invoice.php:93 content/dian.php:78 content/settings.php:164 48 47 msgid "Business Unit Uuid" 49 48 msgstr "" 50 49 51 #: content/information.php:24 52 msgid "Cash: The payment is made immediately." 53 msgstr "" 54 55 #: content/dian.php:233 50 #: content/product-invoice.php:195 51 msgid "Cancel" 52 msgstr "" 53 54 #: content/admin.php:80 content/information.php:288 content/information.php:294 55 #: content/product-invoice.php:185 56 msgid "Cancel Invoice" 57 msgstr "" 58 59 #: content/product-invoice.php:145 60 msgid "Cancel invoice" 61 msgstr "" 62 63 #: content/product-invoice.php:189 64 msgid "Cancellation reason" 65 msgstr "" 66 67 #: content/information.php:33 68 msgid "Cash" 69 msgstr "" 70 71 #: content/cancel-invoice.php:74 content/dian.php:59 56 72 msgid "Check" 57 73 msgstr "" 58 74 59 #: content/ dian.php:22975 #: content/cancel-invoice.php:66 content/dian.php:51 60 76 msgid "Checking resolution prefixes in the Yabi system" 61 77 msgstr "" … … 69 85 msgstr "" 70 86 71 #: content/information.php:57 content/information.php:81 72 msgid "Click in button "Save"." 73 msgstr "" 74 75 #: content/information.php:74 76 msgid "Click on "Business Units"." 77 msgstr "" 78 79 #: content/information.php:75 87 #: content/information.php:92 content/information.php:128 88 #: content/information.php:182 89 msgid "Click in button \"Save\"." 90 msgstr "" 91 92 #: content/information.php:154 93 msgid "Click on \"Business Units\"." 94 msgstr "" 95 96 #: content/information.php:158 80 97 msgid "" 81 98 "Click on a business unit, this displays the information of the business unit." 82 99 msgstr "" 83 100 84 #: content/information.php: 107101 #: content/information.php:234 85 102 msgid "Click on the \"Save\" button to save the information of the fields" 86 103 msgstr "" 87 104 88 #: content/information.php: 108105 #: content/information.php:238 89 106 msgid "" 90 107 "Click on the button \"Save and generate\" for when you are sure to generate " … … 93 110 msgstr "" 94 111 95 #: content/information.php: 103112 #: content/information.php:218 96 113 msgid "Click on the order to open the details" 97 114 msgstr "" 98 115 99 #: content/information.php: 101116 #: content/information.php:210 100 117 msgid "Click on WooCommerce orders" 101 118 msgstr "" 102 119 103 #: content/dian.php:231 120 #: content/cancel-invoice.php:69 content/dian.php:54 121 #: content/information.php:272 content/information.php:302 104 122 msgid "" 105 123 "Click the \"Check\" button to generate a table with the latest resolutions " … … 107 125 msgstr "" 108 126 109 #: content/settings.php:1 45127 #: content/settings.php:150 110 128 msgid "Client" 111 129 msgstr "" 112 130 113 #: content/information.php: 146131 #: content/information.php:333 114 132 msgid "Code QR" 115 133 msgstr "" … … 119 137 msgstr "" 120 138 121 #: content/settings.php:15 4139 #: content/settings.php:157 122 140 msgid "Company" 123 141 msgstr "" 124 142 125 #: content/information.php:79 126 msgid "" 127 "Copy and paste the personalized Token in the text field "Token"." 128 msgstr "" 129 130 #: content/information.php:76 143 #: content/product-invoice.php:196 144 msgid "Confirm Cancellation" 145 msgstr "" 146 147 #: wc-yabi.php:119 148 msgid "Connection error" 149 msgstr "" 150 151 #: content/information.php:174 152 msgid "Copy and paste the personalized Token in the text field \"Token\"." 153 msgstr "" 154 155 #: content/information.php:162 131 156 msgid "Copy the code of the business unit." 132 157 msgstr "" 133 158 134 #: content/information.php:80 135 msgid "Copy the example URL client in the text field "URL client"." 136 msgstr "" 137 138 #: content/dian.php:215 159 #: content/information.php:178 160 msgid "Copy the example URL client in the text field \"URL client\"." 161 msgstr "" 162 163 #: content/cancel-invoice.php:51 164 msgid "Create" 165 msgstr "" 166 167 #: content/cancel-invoice.php:20 168 msgid "Create a credit note in yabi.co" 169 msgstr "" 170 171 #: content/dian.php:23 content/information.php:264 139 172 msgid "" 140 173 "Create the resolution in the DIAN Muisca system and assign it in the DIAN " 141 " “Electronic Billing”portal to Neia / Yabi.co."174 "\"Electronic Billing\" portal to Neia / Yabi.co." 142 175 msgstr "" 143 176 … … 147 180 msgstr "" 148 181 149 #: content/settings.php: 89182 #: content/settings.php:49 150 183 msgid "Credit" 151 184 msgstr "" 152 185 153 #: content/settings.php: 95186 #: content/settings.php:54 154 187 msgid "Credit days" 155 188 msgstr "" 156 189 157 #: content/information.php:106 190 #: content/settings.php:118 191 msgid "Credit Note" 192 msgstr "" 193 194 #: content/settings.php:130 195 msgid "Credit Note Number" 196 msgstr "" 197 198 #: content/settings.php:123 199 msgid "Credit Note Prefix" 200 msgstr "" 201 202 #: content/settings.php:56 203 msgid "Default: 30 days" 204 msgstr "" 205 206 #: content/information.php:230 158 207 msgid "" 159 208 "Depending on the type of person, you must complete the additional information" 160 209 msgstr "" 161 210 162 #: content/admin.php: 23 content/dian.php:209211 #: content/admin.php:71 content/information.php:260 163 212 msgid "DIAN" 164 213 msgstr "" 165 214 166 #: includes/transaction.php:873 215 #: includes/transaction.php:1023 216 msgid "DIAN prefix were created on Yabi.co" 217 msgstr "" 218 219 #: includes/transaction.php:1117 167 220 msgid "DIAN resolutions were updated on Yabi.co" 168 221 msgstr "" 169 222 170 #: content/ dian.php:248223 #: content/cancel-invoice.php:92 content/dian.php:77 171 224 msgid "Document Type" 172 225 msgstr "" 173 226 227 #: includes/ajax.php:399 228 msgid "Document type is not CREDIT_NOTE" 229 msgstr "" 230 231 #: includes/ajax.php:362 232 msgid "Document type is not SALES_INVOICE" 233 msgstr "" 234 235 #: content/information.php:342 236 msgid "Electronic invoicing for Colombia" 237 msgstr "" 238 239 #: content/admin.php:38 240 msgid "Electronic invoicing integration for Colombia" 241 msgstr "" 242 174 243 #: content/product-invoice-old.php:39 content/product-invoice.php:74 175 #: content/product-invoice.php:15 6content/product.php:186244 #: content/product-invoice.php:157 content/product.php:186 176 245 msgid "Email" 177 246 msgstr "" 178 247 179 #: content/ dian.php:247248 #: content/cancel-invoice.php:91 content/dian.php:76 180 249 msgid "End Date" 181 250 msgstr "" 182 251 183 #: content/information.php:73 252 #: content/cancel-invoice.php:23 content/information.php:298 253 msgid "" 254 "Enter the prefix and numbering range for the credit note you want to create " 255 "and click the \"Create\" button." 256 msgstr "" 257 258 #: content/information.php:150 184 259 msgid "Enter the Yabi system" 185 260 msgstr "" 186 261 187 #: content/ dian.php:246262 #: content/cancel-invoice.php:90 content/dian.php:75 188 263 msgid "Environment" 189 264 msgstr "" 190 265 191 #: content/information.php:55 192 msgid "" 193 "Fill the text field \"Invoice Name\" with the invoice name. Example: \"SETT-" 194 "\", \"SE\"" 195 msgstr "" 196 197 #: content/information.php:56 266 #: wc-yabi.php:115 267 msgid "Error loading credit note" 268 msgstr "" 269 270 #: wc-yabi.php:113 271 msgid "Error loading invoice" 272 msgstr "" 273 274 #: wc-yabi.php:111 275 msgid "Error loading prefixes" 276 msgstr "" 277 278 #: wc-yabi.php:117 279 msgid "Error saving settings" 280 msgstr "" 281 282 #: content/information.php:84 content/information.php:120 198 283 msgid "" 199 284 "Fill the text field with the consecutive invoice. Example: if the " … … 201 286 msgstr "" 202 287 203 #: content/information.php: 102288 #: content/information.php:214 204 289 msgid "" 205 290 "Find the order in the completed state for which you want to generate an " … … 207 292 msgstr "" 208 293 209 #: content/information.php:54 content/information.php:77 294 #: content/cancel-invoice.php:38 295 msgid "From" 296 msgstr "" 297 298 #: content/information.php:56 299 msgid "Generate invoices manually in order administration" 300 msgstr "" 301 302 #: content/information.php:52 303 msgid "" 304 "Generates automatic invoices, this depends on whether the data has been " 305 "filled out correctly." 306 msgstr "" 307 308 #: content/information.php:76 content/information.php:112 309 #: content/information.php:166 content/information.php:260 310 #: content/information.php:294 210 311 msgid "Go to" 211 312 msgstr "" 212 313 213 #: content/information.php: 92314 #: content/information.php:194 214 315 msgid "How to generate an invoice?" 215 316 msgstr "" … … 223 324 msgstr "" 224 325 225 #: content/ settings.php:103 content/information.php:28326 #: content/information.php:43 content/settings.php:62 226 327 msgid "I agree to modify the checkout" 227 328 msgstr "" 228 329 229 #: includes/woo.php:72 content/product-invoice-old.php:32230 #: content/product -invoice.php:67 content/product.php:178330 #: content/product-invoice-old.php:32 content/product-invoice.php:67 331 #: content/product.php:178 includes/woo.php:72 231 332 msgid "Identifier" 232 333 msgstr "" … … 244 345 msgstr "" 245 346 246 #: content/settings.php:88 347 #: content/information.php:202 348 msgid "Important" 349 msgstr "" 350 351 #: content/settings.php:48 247 352 msgid "In cash" 248 353 msgstr "" 249 354 355 #: content/information.php:37 356 msgid "In Credit" 357 msgstr "" 358 359 #: content/admin.php:52 360 msgid "Information" 361 msgstr "" 362 363 #: content/information.php:140 364 msgid "Instructions for client" 365 msgstr "" 366 367 #: content/information.php:104 368 msgid "Instructions for credit note" 369 msgstr "" 370 371 #: content/information.php:68 372 msgid "Instructions for invoice" 373 msgstr "" 374 250 375 #: content/information.php:25 251 msgid ""252 "In Credit: The payment is credited and you can select the number of days of "253 "the credit, generally it is 30 days"254 msgstr ""255 256 #: content/information.php:4 content/admin.php:18257 msgid "Information"258 msgstr ""259 260 #: content/information.php:67261 msgid "Instructions for client"262 msgstr ""263 264 #: content/information.php:47265 msgid "Instructions for invoice"266 msgstr ""267 268 #: content/information.php:17269 376 msgid "Instructions for settings" 270 377 msgstr "" 271 378 272 # . Name of the plugin273 msgid "In tegrate Yabi for WooCommerce"274 msgstr "" 275 276 #: content/settings.php: 124379 #: includes/ajax.php:47 380 msgid "Invalid tab" 381 msgstr "" 382 383 #: content/settings.php:86 277 384 msgid "Invoice" 278 385 msgstr "" 279 386 280 #: content/settings.php:130 387 #: includes/transaction.php:51 388 msgid "Invoice cancelled successfully!" 389 msgstr "" 390 391 #: content/settings.php:91 281 392 msgid "Invoice Name" 282 393 msgstr "" 283 394 284 #: content/product-invoice-old.php:88 content/settings.php:137 285 #: content/product-invoice.php:128 395 #: includes/ajax.php:122 396 msgid "Invoice not found" 397 msgstr "" 398 399 #: content/product-invoice-old.php:88 content/product-invoice.php:128 400 #: content/settings.php:98 286 401 msgid "Invoice Number" 287 402 msgstr "" 288 403 289 #: includes/transaction.php:1 138404 #: includes/transaction.php:1461 290 405 msgid "Invoice resent!" 291 406 msgstr "" … … 295 410 msgstr "" 296 411 297 #: content/ settings.php:113 content/information.php:34412 #: content/information.php:48 content/settings.php:70 298 413 msgid "Invoice type" 299 414 msgstr "" 300 415 301 #: content/information.php:2 1416 #: content/information.php:28 302 417 msgid "Invoices can be defined in Cash or In Credit" 303 418 msgstr "" … … 312 427 msgstr "" 313 428 314 #: content/settings.php:116 429 #: wc-yabi.php:108 content/admin.php:90 content/settings.php:93 430 #: content/settings.php:125 431 msgid "Loading..." 432 msgstr "" 433 434 #: content/information.php:56 content/settings.php:72 315 435 msgid "Manual" 316 msgstr ""317 318 #: content/information.php:38319 msgid "Manual: Generate invoices manually in order administration"320 436 msgstr "" 321 437 … … 325 441 326 442 #: content/product-invoice-old.php:13 content/product-invoice.php:26 327 #: content/product-invoice.php:1 49content/product.php:135443 #: content/product-invoice.php:150 content/product.php:135 328 444 msgid "Name" 329 445 msgstr "" … … 333 449 msgstr "" 334 450 335 #: content/settings.php: 106451 #: content/settings.php:64 336 452 msgid "No" 453 msgstr "" 454 455 #: wc-yabi.php:110 456 msgid "No active prefixes" 457 msgstr "" 458 459 #: wc-yabi.php:114 460 msgid "No credit note found" 461 msgstr "" 462 463 #: includes/ajax.php:404 464 msgid "No credit notes found" 465 msgstr "" 466 467 #: includes/ajax.php:100 468 msgid "No data to save" 469 msgstr "" 470 471 #: wc-yabi.php:112 472 msgid "No invoice found" 473 msgstr "" 474 475 #: includes/ajax.php:367 476 msgid "No invoices found" 477 msgstr "" 478 479 #: content/dian.php:28 480 msgid "Note" 337 481 msgstr "" 338 482 … … 347 491 msgstr "" 348 492 493 #: content/cancel-invoice.php:34 494 msgid "Numbering range" 495 msgstr "" 496 349 497 #: content/product-invoice-old.php:67 content/product-invoice.php:97 350 498 #: content/product.php:229 … … 352 500 msgstr "" 353 501 354 #: content/information.php:78 355 msgid "" 356 "Paste the previously copied code in the text field "Business Unit " 357 "Uuid"." 358 msgstr "" 359 360 #: content/settings.php:85 502 #: content/information.php:170 503 msgid "" 504 "Paste the previously copied code in the text field \"Business Unit Uuid\"." 505 msgstr "" 506 507 #: content/settings.php:41 508 msgid "Payment Settings" 509 msgstr "" 510 511 #: content/settings.php:46 361 512 msgid "Payment type" 362 513 msgstr "" 363 514 364 #: content/settings.php:155 515 #: includes/ajax.php:40 includes/ajax.php:91 516 msgid "Permission denied" 517 msgstr "" 518 519 #: content/settings.php:158 365 520 msgid "Person" 366 521 msgstr "" 367 522 368 #: wc-yabi.php:220 523 #: includes/ajax.php:52 524 msgid "Please configure settings first" 525 msgstr "" 526 527 #: wc-yabi.php:278 369 528 msgid "" 370 529 "Please enter the Yabi plugin configuration, as you need to enter new data " … … 372 531 msgstr "" 373 532 533 #: wc-yabi.php:121 534 msgid "Please select a prefix" 535 msgstr "" 536 374 537 #: content/product.php:222 375 538 msgid "Postcode" 376 539 msgstr "" 377 540 378 #: content/dian.php:245 content/dian.php:270 541 #: content/cancel-invoice.php:27 content/cancel-invoice.php:89 542 #: content/cancel-invoice.php:118 content/dian.php:74 content/dian.php:103 379 543 msgid "Prefix" 380 544 msgstr "" 381 545 382 #: content/ dian.php:244546 #: content/cancel-invoice.php:88 content/dian.php:73 383 547 msgid "Prefix ID" 384 548 msgstr "" … … 388 552 msgstr "" 389 553 390 #: content/ dian.php:243554 #: content/cancel-invoice.php:87 content/dian.php:72 391 555 msgid "Resolution Number" 392 556 msgstr "" 393 557 394 #: content/ settings.php:186 content/product.php:252 content/dian.php:276558 #: content/cancel-invoice.php:128 content/dian.php:113 content/product.php:252 395 559 msgid "Save" 396 560 msgstr "" … … 400 564 msgstr "" 401 565 402 #: content/product-invoice.php:224 content/product.php:71 566 #: content/settings.php:187 567 msgid "Save Settings" 568 msgstr "" 569 570 #: content/product-invoice.php:286 content/product.php:71 403 571 msgid "Saved data!. Unexpected error on invoice, try again later.!" 404 572 msgstr "" 405 573 406 #: includes/woo.php:49 content/product-invoice.php:53 content/product.php:156574 #: content/product-invoice.php:53 content/product.php:156 includes/woo.php:49 407 575 msgid "Second Last Name" 408 576 msgstr "" 409 577 410 #: includes/woo.php:38 content/product-invoice.php:35 content/product.php:142578 #: content/product-invoice.php:35 content/product.php:142 includes/woo.php:38 411 579 msgid "Second Name" 580 msgstr "" 581 582 #: includes/ajax.php:35 includes/ajax.php:86 583 msgid "Security check failed" 584 msgstr "" 585 586 #: content/information.php:116 587 msgid "" 588 "Select \"Credit Note Prefix\" with the credit note name. Example: \"CNS-\", " 589 "\"CN\"" 590 msgstr "" 591 592 #: content/information.php:80 593 msgid "" 594 "Select \"Invoice Name\" with the invoice name. Example: \"SETT-\", \"SE\"" 595 msgstr "" 596 597 #: content/cancel-invoice.php:120 content/dian.php:105 598 msgid "Select a prefix" 599 msgstr "" 600 601 #: wc-yabi.php:109 602 msgid "Select prefix" 603 msgstr "" 604 605 #: content/information.php:276 content/information.php:306 606 msgid "Select the prefix you want to associate and click the \"Save\" button." 607 msgstr "" 608 609 #: content/cancel-invoice.php:114 content/dian.php:99 610 msgid "" 611 "Select the prefix you want to associate and click the \"Save\" button. First," 612 " click \"Check\" to load available prefixes." 412 613 msgstr "" 413 614 … … 416 617 msgstr "" 417 618 418 #: content/product-invoice.php:16 5619 #: content/product-invoice.php:166 419 620 msgid "Send" 420 621 msgstr "" 421 622 422 #: content/admin.php:4 423 msgid "Setting saved!" 424 msgstr "" 425 426 #: content/settings.php:73 content/settings.php:79 content/admin.php:19 623 #: content/admin.php:61 427 624 msgid "Settings" 428 625 msgstr "" 429 626 430 #: content/information.php:54 content/information.php:77 627 #: content/information.php:76 content/information.php:112 628 #: content/information.php:166 431 629 msgid "settings page" 432 630 msgstr "" 433 631 434 #: content/dian.php:242 632 #: wc-yabi.php:116 content/admin.php:25 includes/ajax.php:97 633 msgid "Settings saved successfully!" 634 msgstr "" 635 636 #: content/cancel-invoice.php:86 content/dian.php:71 435 637 msgid "Start Date" 436 638 msgstr "" 437 639 438 #: content/dian.php:80 content/dian.php:110640 #: wc-yabi.php:120 439 641 msgid "Success" 440 642 msgstr "" 441 643 442 #: includes/transaction.php: 157644 #: includes/transaction.php:310 443 645 msgid "Success!. Invoice generate: " 444 646 msgstr "" 445 647 446 #: content/information.php: 135648 #: content/information.php:324 447 649 msgid "Support this plugin" 448 650 msgstr "" … … 453 655 msgstr "" 454 656 455 #: content/information.php: 51657 #: content/information.php:71 content/information.php:107 456 658 msgid "" 457 659 "The fields of the invoice are the name and the consecutive number of the " … … 460 662 msgstr "" 461 663 462 #: includes/transaction.php:1 072664 #: includes/transaction.php:1333 463 665 msgid "The new DIAN resolutions are synchronized with Yabi.co" 464 666 msgstr "" 465 667 466 #: content/information.php:96 668 #: content/information.php:37 669 msgid "" 670 "The payment is credited and you can select the number of days of the credit, " 671 "generally it is 30 days" 672 msgstr "" 673 674 #: content/information.php:33 675 msgid "The payment is made immediately." 676 msgstr "" 677 678 #: content/information.php:197 467 679 msgid "The process to generate an invoice." 468 680 msgstr "" 469 681 470 #: content/information.php:98 682 #: content/product-invoice.php:191 includes/ajax.php:114 683 msgid "The reason is required" 684 msgstr "" 685 686 #: content/information.php:203 471 687 msgid "" 472 688 "The WooCommerce purchase must be in a completed state, in order to generate " … … 474 690 msgstr "" 475 691 476 #: content/information.php: 31692 #: content/information.php:44 477 693 msgid "" 478 694 "This option allows you to modify the default Woocommerce form to allow the " … … 483 699 msgstr "" 484 700 485 #: content/information.php:109 701 #: content/cancel-invoice.php:43 702 msgid "To" 703 msgstr "" 704 705 #: content/information.php:242 486 706 msgid "To download the invoice you have to enter the Yabi platform" 487 707 msgstr "" 488 708 489 #: content/information.php: 72709 #: content/information.php:146 490 710 msgid "" 491 711 "To get started, contact Yabi to send you the personalized Token of your " … … 493 713 msgstr "" 494 714 495 #: content/settings.php:1 69715 #: content/settings.php:170 496 716 msgid "Token" 497 717 msgstr "" 498 718 499 #: includes/woo.php:60 content/product-invoice-old.php:27500 #: content/product -invoice.php:62 content/product.php:163719 #: content/product-invoice-old.php:27 content/product-invoice.php:62 720 #: content/product.php:163 includes/woo.php:60 501 721 msgid "Type of document" 502 722 msgstr "" … … 506 726 msgstr "" 507 727 508 #: content/settings.php:15 1728 #: content/settings.php:155 509 729 msgid "Type of Owner" 510 730 msgstr "" … … 518 738 msgstr "" 519 739 520 #: includes/transaction.php:165 includes/transaction.php:877 521 #: includes/transaction.php:1014 includes/transaction.php:1045 522 #: includes/transaction.php:1076 740 #: content/product-invoice.php:322 content/product-invoice.php:348 741 #: includes/transaction.php:55 includes/transaction.php:318 742 #: includes/transaction.php:1027 includes/transaction.php:1121 743 #: includes/transaction.php:1258 includes/transaction.php:1306 744 #: includes/transaction.php:1337 523 745 msgid "Unexpected error, try again later or contact support." 524 746 msgstr "" 525 747 526 #: content/product.php:93 content/dian.php:68 content/dian.php:98 527 #: content/dian.php:154 748 #: wc-yabi.php:118 749 msgid "Unexpected error, try again later!" 750 msgstr "" 751 752 #: content/product.php:93 528 753 msgid "Unexpected error, try again later.!" 529 754 msgstr "" 530 755 531 #: content/dian.php: 219756 #: content/dian.php:36 532 757 msgid "Update" 533 758 msgstr "" 534 759 535 #: content/dian.php:2 13760 #: content/dian.php:20 content/information.php:254 536 761 msgid "Update resolution in yabi.co" 537 762 msgstr "" 538 763 539 #: content/settings.php:17 7764 #: content/settings.php:176 540 765 msgid "URL client" 541 766 msgstr "" 542 767 543 #: content/information.php:104 768 #: content/settings.php:103 content/settings.php:135 769 msgid "View Last" 770 msgstr "" 771 772 #: content/information.php:222 544 773 msgid "" 545 774 "When displaying the order information, the Yabi module will be displayed at " … … 547 776 msgstr "" 548 777 549 #: content/information.php: 73778 #: content/information.php:150 550 779 msgid "with your username and password." 551 780 msgstr "" 552 781 553 #: wc-yabi.php: 94782 #: wc-yabi.php:148 554 783 msgid "Yabi - Invoice Data" 555 784 msgstr "" 556 785 557 #: content/admin.php:15 786 #. Name of the plugin 787 msgid "Yabi einvoice for WooCommerce" 788 msgstr "" 789 790 #: content/admin.php:37 558 791 msgid "Yabi for WooCommerce" 559 792 msgstr "" 560 793 561 #: content/settings.php: 107794 #: content/settings.php:65 562 795 msgid "Yes" 563 796 msgstr "" 564 797 565 #: content/information.php:105 798 #: content/information.php:124 799 msgid "" 800 "You can check the numbering by clicking the \"View Last Credit Note\" button" 801 msgstr "" 802 803 #: content/information.php:88 804 msgid "" 805 "You can check the numbering by clicking the \"View Last Invoice\" button" 806 msgstr "" 807 808 #: content/information.php:226 566 809 msgid "You must select the type of person" 567 810 msgstr "" -
wc-yabi/trunk/readme.txt
r3405216 r3422044 1 === Integrate Yabifor WooCommerce ===1 === Yabi einvoice for WooCommerce === 2 2 Contributors: kakaroto84 3 Tags: woocommerce, electronic invoice 4 Donate link: https://www.paypal. me/datakun3 Tags: woocommerce, electronic invoice, factura electronica, colombia, dian, yabi 4 Donate link: https://www.paypal.com/donate/?hosted_button_id=NY5NTM46C5PS4 5 5 Requires at least: 6.4 6 6 Tested up to: 6.9 … … 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html 11 11 12 Create your electronic invoices of purchases made in woocommerce with Yabi 12 This plugin integrates WordPress with the Yabi electronic invoicing service, allowing the automatic creation and management of DIAN-compliant invoices in Colombia. Includes support for credit notes, invoice sending, DIAN resolution sync, and more. 13 13 14 14 == Description == 15 15 16 This plugin helps you integrate WooCommerce with the Yabi platform with which you can generate your electronic invoices from completed orders. 16 Yabi Electronic Invoicing allows your WordPress site to generate DIAN-compliant invoices automatically. 17 It integrates with external systems and WooCommerce (if present), and adds features such as credit notes, invoice cancellation, DIAN resolution synchronization, personalized invoice data, and extended debugging tools. 17 18 18 Instructions for invoice 19 The fields of the invoice are the name and the consecutive number of the invoice, before the DIAN the requirement for the numbering had to be passed. Please fill in the corresponding data. Example: SETT-26. 19 **Main Features:** 20 20 21 1. Go to settings page. 22 2. Fill the text field "Invoice Name" with the invoice name. Example: "SETT-", "SE" 23 3. Fill the text field with the consecutive invoice. Example: if the consecutive number is 25, please fill the text field with 26. 24 4. Click in button "Save". 25 26 27 Instructions for client 28 1. To get started, contact Yabi to send you the personalized Token of your account by email. 29 2. Enter the Yabi system https://einvoices.yabi.co/public/login with your username and password. 30 3. Click on "Business Units". 31 4. Click on a business unit, this displays the information of the business unit. 32 5. Copy the code of the business unit. 33 6. Go to settings page. 34 7. Paste the previously copied code in the text field "Business Unit Uuid". 35 8. Copy and paste the personalized Token in the text field "Token". 36 9. Copy the example URL client in the text field "URL client". 37 10. Click in button "Save". 21 * Generate DIAN-compliant electronic invoices automatically. 22 * Create and manage credit notes directly from WordPress. 23 * Cancel invoices through the Yabi platform. 24 * Sync DIAN resolutions with Yabi.co. 25 * Configure customer type (natural person or company). 26 * Add invoice notes and shipping fees. 27 * Debugging options and detailed error logs. 28 * Compatible with WooCommerce checkout fields. 29 * Field validation to avoid formatting errors. 30 * Fully supports the latest versions of WordPress and PHP. 38 31 39 32 == Installation == 40 33 41 Install Integrate Yabi for WooCommerce like you would install any other WordPress plugin. 42 43 Dashboard Method: 44 45 1. Login to your WordPress admin and go to Plugins -> Add New 46 2. Type \"Integrate Yabi for WooCommerce\" in the search bar and select this plugin 47 3. Click \"Install\", and then \"Activate Plugin\" 48 49 50 Upload Method: 51 52 1. Unzip the plugin and upload the \"wc-yabi\" folder to your \'wp-content/plugins\' directory 53 2. Activate the plugin through the Plugins menu in WordPress 54 34 1. Upload the plugin folder to `/wp-content/plugins/` 35 OR install it directly from the WordPress dashboard. 36 2. Activate the plugin from **Plugins > Installed Plugins**. 37 3. Go to **Settings > Yabi Invoicing** to configure: 38 * API keys 39 * Company information 40 * DIAN resolution 41 * Optional: credit note settings 42 4. (Optional) Connect WooCommerce fields for automatic invoice generation. 55 43 56 44 == Frequently Asked Questions == 57 45 58 = What does this plugin do? = 46 = What is Yabi? = 47 Yabi is an electronic invoicing platform certified by DIAN (Colombia). 48 This plugin allows WordPress to generate DIAN-compliant invoices using your Yabi account. 59 49 60 This plugin creates the invoices depending on the Woocommerce information and the information provided by the administrator 50 = Does it work without WooCommerce? = 51 Yes. The plugin can work independently or integrated with WooCommerce. 61 52 62 = Can invoices be canceled? = 53 = Can I generate credit notes? = 54 Yes. Credit notes can be created, reviewed, and associated with the original invoice. 63 55 64 No, You have to enter the yabi system to cancel it 56 = Does it create invoices automatically? = 57 If WooCommerce is installed, invoices can be generated automatically after checkout. 58 You can also create them manually. 65 59 60 = Does it support DIAN resolution updates? = 61 Yes. The plugin synchronizes DIAN resolutions through the Yabi API. 66 62 63 = Is debugging available? = 64 Yes. You can enable extended logging to diagnose communication issues with Yabi. 67 65 68 66 == Screenshots == 69 1. Where is Yabi deployed? 70 2. Yabi information 71 3. Yabi settings 72 4. Order Details (Status: Completed) 67 68 1. Menu 69 2. Main configuration screen 70 3. DIAN resolution settings 71 4. Invoice creation interface 72 5. Credit note management panel 73 73 74 74 == Changelog == 75 76 = 4.0.0 = 77 * New module to void invoices. 78 * Added tools to obtain data for integration with other systems. 79 * New credit note module: create, review, and link with the company. 80 75 81 = 3.2.2 = 76 * Tested and confirmed compatibility with WordPress 6.9 77 * Code review for WP 6.9 compatibility 82 * Tested and confirmed compatible with WordPress 6.9. 83 * Code review for WP 6.9 compatibility. 84 78 85 = 3.2.1 = 79 * Tested in last WP Version 86 * Tested with latest version of WordPress. 87 80 88 = 3.2.0 = 81 * Added synchronization of DIAN resolutions for Yabi.co 82 * Associates a prefix with an organizational unit 89 * Added synchronization of DIAN resolutions for Yabi.co. 90 * Added option to associate a prefix with an organizational unit. 91 83 92 = 3.1.0 = 84 * Added forward email to registered email or new one of invoice 93 * Added option to resend email to the registered address or the new one entered on the document. 94 85 95 = 3.0.5 = 86 * Added validation to identifier, the field must contain a positive number of at least 5 digits. 96 * Added validation to the identifier field: it must contain a positive number with at least 5 digits. 97 87 98 = 3.0.4 = 88 * Fixed old version display 99 * Fixed display of older versions. 100 89 101 = 3.0.3.1 = 90 * Change required version of PHP 102 * Updated required PHP version. 103 91 104 = 3.0.3 = 92 * Fixed php warning of undefined array key when first installed 105 * Fixed PHP notice about undefined array key when installing for the first time. 106 93 107 = 3.0.2 = 94 * Fixed php warning of undefined array key 108 * Fixed undefined array key PHP notice. 109 95 110 = 3.0.1 = 96 * Fixed display position of fields and names 111 * Fixed field positions and names in the interface. 112 97 113 = 3.0.0 = 98 * New implementation of plugin, now you have access to credit 114 * Major reimplementation of the plugin; now includes credit note handling and structural improvements. 115 99 116 = 2.0.1 = 100 * The field to write the URL of the connection to Yabi was enabled 117 * Enabled the field to write the connection URL for Yabi. 118 101 119 = 2.0.0 = 102 * Update to 2.0 Version of Yabi 103 * Tested in last WP Version 120 * Updated to Yabi version 2.0. 121 * Tested with the latest version of WordPress. 122 104 123 = 1.8.0 = 105 * Better error report, database save mutation for debug 106 * Tested in last WP Version 124 * Improved error reporting and database saving changes for debugging. 125 * Tested with the latest version of WordPress. 126 107 127 = 1.7.0 = 108 * The shipping price is now taken into account in the invoice 128 * Shipping price is now considered in the invoice. 129 109 130 = 1.6.1 = 110 * Tested in last WP Version 131 * Tested with the latest version of WordPress. 132 111 133 = 1.6.0 = 112 * In properties you can configure the account as a natural person or as a company, with the respective change the invoices will be generated depending on the type chosen 134 * Added option to configure the account as a natural person or a company; invoices are generated accordingly. 135 113 136 = 1.5.1 = 114 * Fixed decimal problem on discount coupon 137 * Fixed decimal handling issue in discount coupons. 138 115 139 = 1.5.0 = 116 * Include observations to the invoice 140 * Added invoice notes. 141 117 142 = 1.4.0 = 118 * Discount coupon validation 143 * Discount coupon validation. 144 119 145 = 1.3.1 = 120 * The taxscheme field was deleted, the field is no longer required 146 * Removed `taxscheme` field; it is no longer required. 147 121 148 = 1.3.0 = 122 * A selection box was created to be able to select the city code 123 * Change default tax level code for natural person 149 * Added dropdown to select city code. 150 * Changed default tax level code for natural persons. 151 124 152 = 1.2.0 = 125 * Update to 1.8 Version of Yabi 126 * Change numeric variables to strings 153 * Updated to Yabi version 1.8. 154 * Changed numeric variables to strings to avoid formatting issues. 155 127 156 = 1.1.1 = 128 * Timeout was increased as Yabi servers started experiencing service delays 157 * Increased timeout due to delays on Yabi servers. 158 129 159 = 1.1.0 = 130 * Fixed problem with decimal numbers in purchases of more than one item 160 * Fixed decimal number issue when purchasing more than one item. 161 131 162 = 1.0.0 = 132 * Initial release 163 * Initial release. 164 165 == Upgrade Notice == 166 167 = 4.0.0 = 168 This is a major update. Includes credit note module, invoice voiding, and structural improvements. 169 Please back up your site before upgrading. 170 -
wc-yabi/trunk/wc-yabi.php
r3405216 r3422044 6 6 * 7 7 * @wordpress-plugin 8 * Plugin Name: Integrate Yabifor WooCommerce8 * Plugin Name: Yabi einvoice for WooCommerce 9 9 * Plugin URI: https://mireunion.com/yabi 10 10 * Description: Create your electronic invoices of purchases made in woocommerce with Yabi 11 * Version: 3.2.211 * Version: 4.0.0 12 12 * Author: Mex Avila 13 13 * Author URI: https://datakun.com/ … … 70 70 } 71 71 add_action( 'admin_menu', 'yabi_admin' ); 72 73 /** 74 * Encolar scripts y estilos para la página de administración 75 */ 76 function yabi_admin_enqueue_scripts( $hook ) 77 { 78 // Solo cargar en la página del plugin 79 if ( 'woocommerce_page_yabi' !== $hook ) { 80 return; 81 } 82 83 // Estilos de administración 84 wp_enqueue_style( 85 'yabi-admin-css', 86 YABI_PLUGIN_URL . 'scripts/admin.css', 87 array(), 88 '4.0.0' 89 ); 90 91 // Dashicons de WordPress 92 wp_enqueue_style( 'dashicons' ); 93 94 // Scripts de administración 95 wp_enqueue_script( 96 'yabi-admin-js', 97 YABI_PLUGIN_URL . 'scripts/admin.js', 98 array( 'jquery' ), 99 '4.0.0', 100 true 101 ); 102 103 // Localización de scripts 104 wp_localize_script( 'yabi-admin-js', 'yabiAdmin', array( 105 'ajaxUrl' => admin_url( 'admin-ajax.php' ), 106 'nonce' => wp_create_nonce( 'yabi_admin_nonce' ), 107 'i18n' => array( 108 'loading' => __( 'Loading...', 'yabi-wc' ), 109 'selectPrefix' => __( 'Select prefix', 'yabi-wc' ), 110 'noActivePrefixes' => __( 'No active prefixes', 'yabi-wc' ), 111 'errorLoadingPrefixes' => __( 'Error loading prefixes', 'yabi-wc' ), 112 'noInvoiceFound' => __( 'No invoice found', 'yabi-wc' ), 113 'errorLoadingInvoice' => __( 'Error loading invoice', 'yabi-wc' ), 114 'noCreditFound' => __( 'No credit note found', 'yabi-wc' ), 115 'errorLoadingCredit' => __( 'Error loading credit note', 'yabi-wc' ), 116 'settingsSaved' => __( 'Settings saved successfully!', 'yabi-wc' ), 117 'errorSaving' => __( 'Error saving settings', 'yabi-wc' ), 118 'unexpectedError' => __( 'Unexpected error, try again later!', 'yabi-wc' ), 119 'connectionError' => __( 'Connection error', 'yabi-wc' ), 120 'success' => __( 'Success', 'yabi-wc' ), 121 'selectPrefixRequired' => __( 'Please select a prefix', 'yabi-wc' ), 122 ) 123 )); 124 } 125 add_action( 'admin_enqueue_scripts', 'yabi_admin_enqueue_scripts' ); 72 126 73 127 function yabi_page() … … 179 233 $credit_days = sanitize_key( $_POST[ 'credit_days' ] ); 180 234 $modified_checkout = sanitize_text_field( $_POST[ 'modified_checkout' ] ); 235 $credit_prefix = sanitize_text_field( $_POST[ 'credit_prefix' ] ); 236 $credit_note_number = sanitize_text_field( $_POST[ 'credit_note_number' ] ); 181 237 182 238 $yabi_settings = array( … … 190 246 'credit_days' => $credit_days, 191 247 'modified_checkout' => $modified_checkout, 248 'credit_prefix' => $credit_prefix, 192 249 ); 193 250 194 251 update_option( 'yabi_settings', $yabi_settings, 'yes' ); 195 252 update_option( 'yabi_invoice_number', $invoice_number, 'no' ); 253 update_option( 'yabi_credit_note_number', $credit_note_number, 'no' ); 196 254 } 197 255
Note: See TracChangeset
for help on using the changeset viewer.