Plugin Directory

Changeset 3134970


Ignore:
Timestamp:
08/13/2024 01:26:28 PM (18 months ago)
Author:
billingo
Message:

Created tag 3.6.2.

Location:
billingo/tags/3.6.2
Files:
5 edited
2 copied

Legend:

Unmodified
Added
Removed
  • billingo/tags/3.6.2/admin/class-billingo-admin.php

    r3050327 r3134970  
    381381                    1 => __('Csak cégnév', 'billingo'),
    382382                ],
     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',
    383388            ],
    384389            ['type' => 'sectionend', 'id' => 'woocommerce_billingo_options'],
  • billingo/tags/3.6.2/changelog.md

    r3025018 r3134970  
    11# Changelog
     2-**3.6.2** - 2024-08-12
     3  - Added data erease code.
    24
    35-**3.6.0** - 2023-12-01
  • billingo/tags/3.6.2/includes/PWSBillingo.php

    r3025018 r3134970  
    624624    public static function applyVatRule($percentage, $is_shipping = false)
    625625    {
    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
    628628            $percentage = $percentage_decimal;
    629629        } else {
  • billingo/tags/3.6.2/includes/class-billingo.php

    r3025018 r3134970  
    792792     *
    793793     * @param BillingoOrder $order (WC_Order with a tax location bypass)
    794      * 
     794     *
    795795     * @return array product_items
    796796     */
     
    825825            } else {
    826826                $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);
    827834            }
    828835
     
    836843                'unit_price_type' => $unit_price_type,
    837844                'comment'         => $add_sku ? (__('Cikkszám', 'billingo') . ': ' . static::getProductSKU($item)) : '',
     845                'is_generate_erase_code' => $erase_code_value,
    838846            ];
    839847
     
    10501058     * @param integer $id_invoice ID of the invoice that needs to be canceled
    10511059     * @param integer $id_order ID of the order that is linked to the invoice
    1052      * 
     1060     *
    10531061     * @return boolean
    10541062     */
     
    11341142     * @param boolean $check_proforma checks if the document type is proforma
    11351143     * @param boolean $check_draft checks if the document type is draft
    1136      * 
     1144     *
    11371145     * @return boolean
    11381146     */
     
    11781186     * @param boolean $check_proforma checks if the document type is proforma
    11791187     * @param boolean $check_draft checks if the document type is draft
    1180      * 
     1188     *
    11811189     * @return string
    11821190     */
     
    12421250     *
    12431251     * @param integer $invoice_id ID of the document in question
    1244      * 
     1252     *
    12451253     * @return string
    12461254     */
     
    12611269     * @param integer $order_id ID of the order that is linked to the document
    12621270     * @param string $type document type
    1263      * 
     1271     *
    12641272     * @return string|false
    12651273     */
     
    13451353     *
    13461354     * @param array $fields of the checkout page
    1347      * 
     1355     *
    13481356     * @return array
    13491357     */
     
    14181426     *
    14191427     * @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
    14221430     * @param boolean $email
    14231431     */
    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)
    14251436    {
    14261437        if (!$email) {
  • billingo/tags/3.6.2/index.php

    r3050497 r3134970  
    22/**
    33 * Plugin Name: Billingo & WooCommerce Official Plugin
    4  * Version: 3.6.1
     4 * Version: 3.6.2
    55 * Requires at least: 5.3
    66 * Requires PHP: 5.6
  • billingo/tags/3.6.2/readme.txt

    r3050511 r3134970  
    33Requires at least: 5.3
    44Tested up to: 6.4.1
    5 Stable tag: 3.6.1
     5Stable tag: 3.6.2
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7777== Changelog ==
    7878
     79= 3.6.2
     80* Fejlesztés: Adattörlőkód integrálása
     81
    7982= 3.6.1
    8083* Fejlesztés: Support folyamat és hibakeresés javítása
Note: See TracChangeset for help on using the changeset viewer.