[contributions:wimh] /modules/uc_vat_number uc_vat_number.install uc_vat_number.js uc_vat_number.module
User: wimh Branch: HEAD Date: Mon, 15 Mar 2010 13:45:13 +0000 Modified files: /modules/uc_vat_number uc_vat_number.install uc_vat_number.js uc_vat_number.module Log message: Patch from http://drupal.org/node/645260#comment-2450248 : - cache result of succesful validations for one day - use the SOAPClient library (although only the nuSOAP client seems to work, 'SOAP Extension on PHP5' and the EU VAT validation service don't seem to want to work together) - autocomplete on VAT field (taken from the current user's previous orders) - added VAT field to admin order interface - set Ubercart conditions, which can be used by Tax rules for conditional VAT application (using ICV / intra-community rules) - VAT number and company are never required - VAT number is in its own fieldset, so the JS showing/hiding of the billing address doesn't pose problems anymore - And of course the leading 0 was removed, I also had the JS version of the countries array generated from the PHP one so there's no duplication Links: http://cvs.drupal.org/diff.php?path=contributions/modules/uc_vat_number/uc_v... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_vat_number/uc_v... http://cvs.drupal.org/diff.php?path=contributions/modules/uc_vat_number/uc_v...
participants (1)
-
drupal-cvs@drupal.org