Changeset 3134970
- Timestamp:
- 08/13/2024 01:26:28 PM (18 months ago)
- Location:
- billingo/tags/3.6.2
- Files:
-
- 5 edited
- 2 copied
-
. (copied) (copied from billingo/trunk)
-
admin/class-billingo-admin.php (modified) (1 diff)
-
changelog.md (modified) (1 diff)
-
includes/PWSBillingo.php (modified) (1 diff)
-
includes/class-billingo.php (modified) (10 diffs)
-
index.php (modified) (1 diff)
-
readme.txt (copied) (copied from billingo/trunk/readme.txt) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
billingo/tags/3.6.2/admin/class-billingo-admin.php
r3050327 r3134970 381 381 1 => __('Csak cégnév', 'billingo'), 382 382 ], 383 ], 384 [ 385 'title' => __('Adattörlő kódot tartalmazó egyedi meta mező neve.', 'billingo'), 386 'id' => 'wc_billingo_is_generate_erase_code', 387 'type' => 'text', 383 388 ], 384 389 ['type' => 'sectionend', 'id' => 'woocommerce_billingo_options'], -
billingo/tags/3.6.2/changelog.md
r3025018 r3134970 1 1 # Changelog 2 -**3.6.2** - 2024-08-12 3 - Added data erease code. 2 4 3 5 -**3.6.0** - 2023-12-01 -
billingo/tags/3.6.2/includes/PWSBillingo.php
r3025018 r3134970 624 624 public static function applyVatRule($percentage, $is_shipping = false) 625 625 { 626 $percentage_decimal = static::convertNumberToPercentage($percentage, 1); 627 if (in_array($percentage_decimal, static::ALL_TAXES)) { 626 $percentage_decimal = static::convertNumberToPercentage($percentage, 1); // számmá konvertál 627 if (in_array($percentage_decimal, static::ALL_TAXES)) { //Ez az egész azét kell hogy beállítsa a a százalékot 628 628 $percentage = $percentage_decimal; 629 629 } else { -
billingo/tags/3.6.2/includes/class-billingo.php
r3025018 r3134970 792 792 * 793 793 * @param BillingoOrder $order (WC_Order with a tax location bypass) 794 * 794 * 795 795 * @return array product_items 796 796 */ … … 825 825 } else { 826 826 $vat_rule = PWSBillingo::applyVatRule(0, false); 827 } 828 829 $erase_code = get_option('wc_billingo_is_generate_erase_code', false); 830 $erase_code_value = false; 831 832 if ($erase_code && $order->get_meta($erase_code, true)) { 833 $erase_code_value = $order->get_meta($erase_code, true); 827 834 } 828 835 … … 836 843 'unit_price_type' => $unit_price_type, 837 844 'comment' => $add_sku ? (__('Cikkszám', 'billingo') . ': ' . static::getProductSKU($item)) : '', 845 'is_generate_erase_code' => $erase_code_value, 838 846 ]; 839 847 … … 1050 1058 * @param integer $id_invoice ID of the invoice that needs to be canceled 1051 1059 * @param integer $id_order ID of the order that is linked to the invoice 1052 * 1060 * 1053 1061 * @return boolean 1054 1062 */ … … 1134 1142 * @param boolean $check_proforma checks if the document type is proforma 1135 1143 * @param boolean $check_draft checks if the document type is draft 1136 * 1144 * 1137 1145 * @return boolean 1138 1146 */ … … 1178 1186 * @param boolean $check_proforma checks if the document type is proforma 1179 1187 * @param boolean $check_draft checks if the document type is draft 1180 * 1188 * 1181 1189 * @return string 1182 1190 */ … … 1242 1250 * 1243 1251 * @param integer $invoice_id ID of the document in question 1244 * 1252 * 1245 1253 * @return string 1246 1254 */ … … 1261 1269 * @param integer $order_id ID of the order that is linked to the document 1262 1270 * @param string $type document type 1263 * 1271 * 1264 1272 * @return string|false 1265 1273 */ … … 1345 1353 * 1346 1354 * @param array $fields of the checkout page 1347 * 1355 * 1348 1356 * @return array 1349 1357 */ … … 1418 1426 * 1419 1427 * @param object $order 1420 * @param boolean $sent_to_admin 1421 * @param string $plain_text 1428 * @param boolean $sent_to_admin 1429 * @param string $plain_text 1422 1430 * @param boolean $email 1423 1431 */ 1424 public static function action_woocommerce_email_before_order_table($order, $sent_to_admin, $plain_text, $email = false) 1432 public static function action_woocommerce_email_before_order_table( 1433 $order, 1434 $sent_to_admin, 1435 $plain_text, $email = false) 1425 1436 { 1426 1437 if (!$email) { -
billingo/tags/3.6.2/index.php
r3050497 r3134970 2 2 /** 3 3 * Plugin Name: Billingo & WooCommerce Official Plugin 4 * Version: 3.6. 14 * Version: 3.6.2 5 5 * Requires at least: 5.3 6 6 * Requires PHP: 5.6 -
billingo/tags/3.6.2/readme.txt
r3050511 r3134970 3 3 Requires at least: 5.3 4 4 Tested up to: 6.4.1 5 Stable tag: 3.6. 15 Stable tag: 3.6.2 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 77 77 == Changelog == 78 78 79 = 3.6.2 80 * Fejlesztés: Adattörlőkód integrálása 81 79 82 = 3.6.1 80 83 * Fejlesztés: Support folyamat és hibakeresés javítása
Note: See TracChangeset
for help on using the changeset viewer.