Plugin Directory

Changeset 2919626


Ignore:
Timestamp:
05/31/2023 11:49:26 AM (3 years ago)
Author:
molonies
Message:

Updating readme/assets from GitHub

Location:
moloni-es/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • moloni-es/trunk/README.md

    r2915671 r2919626  
    1616**Tested up to:**      6.2 
    1717**WC tested up to**    7.5.1 
    18 **Stable tag:**        1.0.45 
     18**Stable tag:**        1.0.46 
    1919**License:**           GPLv2 or later 
    2020**License URI:**       [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html)
     
    7272## Changelog
    7373
     74### 1.0.46
     75* Show error when a customer has an invalid VAT for the Spanish fiscal zone.
     76
    7477### 1.0.45
    7578* Change Webhooks behaviour
  • moloni-es/trunk/languages/moloni_es.pot

    r2915671 r2919626  
    44"Project-Id-Version: Moloni ES\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2023-05-19 11:40+0000\n"
     6"POT-Creation-Date: 2023-05-31 11:29+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    160160msgstr ""
    161161
     162#: bitnami/wordpress/wp-content/plugins/moloni-es/src/Controllers/OrderCustomer.php:146
     163msgid "Customer has invalid VAT for Spain."
     164msgstr ""
     165
    162166#: bitnami/wordpress/wp-content/plugins/moloni-es/src/Templates/Containers/Settings.php:374
    163167msgid "Customer VAT"
  • moloni-es/trunk/moloni_es.php

    r2915671 r2919626  
    44 *   Plugin Name:  Moloni España
    55 *   Description:  Simple invoicing integration with Moloni ES
    6  *   Version:      1.0.45
     6 *   Version:      1.0.46
    77 *   Tested up to: 6.2
    88 *   WC tested up to: 7.5.1
  • moloni-es/trunk/readme.txt

    r2915671 r2919626  
    33Contributors: Moloni
    44Tags: Invoicing, Orders
    5 Stable tag: 1.0.45
     5Stable tag: 1.0.46
    66Tested up to: 6.2
    77WC tested up to: 7.5.1
     
    6868
    6969== Changelog ==
     70= 1.0.46 =
     71* Show error when a customer has an invalid VAT for the Spanish fiscal zone.
     72
    7073= 1.0.45 =
    7174* Change Webhooks behaviour
  • moloni-es/trunk/src/Controllers/OrderCustomer.php

    r2911028 r2919626  
    103103     * Get the vat number of an order
    104104     * Get it from a custom field and validate if Portuguese
     105     *
    105106     * @return string
     107     *
     108     * @throws Error
    106109     */
    107110    public function getVatNumber()
     
    141144
    142145            if (!empty($vat) && !Customer::isVatEsValid($vat)) {
    143                 $vat = null;
     146                throw new Error(__('Customer has invalid VAT for Spain.','moloni_es'));
    144147            }
    145148        }
Note: See TracChangeset for help on using the changeset viewer.