Results 1 to 10 of 362

Threaded View

  1. #26
    Join Date
    Feb 2009
    Location
    England
    Posts
    30
    Plugin Contributions
    0

    help question Re: VAT-mod for European companies

    Can anybody help me overcome this error with VatMod 138a V130

    Parse error: syntax error, unexpected T_RETURN, expecting ')' in /home/netformi/public_html/store/admin/includes/functions/extra_functions/functions_vatmod.php on line 131

    This is code in the file:

    function zen_get_tva_intracom_array() {
    $intracom_array = array('AT'=>'AT', //Austria
    'BE'=>'BE', //Belgium
    'DK'=>'DK', //Denmark
    'FI'=>'FI', //Finland
    'FR'=>'FR', //France
    'FX'=>'FR', //France métropolitaine
    'DE'=>'DE', //Germany
    'GR'=>'EL', //Greece
    'IE'=>'IE', //Irland
    'IT'=>'IT', //Italy
    'LU'=>'LU', //Luxembourg
    'NL'=>'NL', //Netherlands
    'PT'=>'PT', //Portugal
    'ES'=>'ES', //Spain
    'SE'=>'SE', //Sweden
    'GB'=>'GB', //United Kingdom
    'CY'=>'CY', //Cyprus
    'EE'=>'EE', //Estonia
    'HU'=>'HU', //Hungary
    'LV'=>'LV', //Latvia
    'LT'=>'LT', //Lithuania
    'MT'=>'MT', //Malta
    'PL'=>'PL', //Poland
    'SK'=>'SK', //Slovakia
    'CZ'=>'CZ', //Czech Republic
    'SI'=>'SI',//Slovania
    'RO'=>'RO', //Romania
    'BG'=>'BG',//Bulgaria
    return $intracom_array;)
    }
    ?>

    LINE 131 is return $intracom_array;)
    Last edited by bobanct; 26 May 2009 at 12:13 PM. Reason: further explanation

 

 

Similar Threads

  1. v138a VAT mod for european companies on ZC 1.5
    By hyperion12 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 14
    Last Post: 9 May 2016, 12:52 PM
  2. VAT MOD for EU Countries Support
    By jinglezdj in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Oct 2009, 09:38 AM
  3. Is it possible to have tax exemption with VAT-mod for European companies?
    By stomm in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 16 Jun 2009, 04:39 PM
  4. "VAT for companies" mode with checkout without account mode
    By sagivle1 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 15 Jan 2008, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR