I needed this and this integration is according to future v3 battle plan. I contribute it to the community in the hope that this is the way forward. Attached the patches. Please comment and improve

CommentFileSizeAuthor
ubercart.vat_.number.patches.tar_.gz4.18 KBñull

Comments

rszrama’s picture

Issue tags: +VAT

Just out of curiosity, does this patch utilize the price handler system?

ñull’s picture

No. I needed an extra field to hold the VAT registration number. There was a module that did that, but the number was not saved with the client's address. This patch adds a extra field just like telephone number field and stores the VAT number together with the client data. Since the roadmap is to integrate VAT handling, I thought this patch was something to contribute.

I use the field to store the obligatory tax reg. number for private clients. Spanish tax law prescribes this for legally correct invoices.

rszrama’s picture

Status: Active » Postponed

At this point, I'm going to postpone this and direct you to http://drupal.org/project/uc_vat.

ñull’s picture

The description of uc_vat adds does not make any mention that it would allow to store a client VAT number with the billing information and see it back in order and invoice pages. That is the sole purpose of my patch. If uc_vat misses that, should I upload the patch there too? Doesn't make sense. It is not a module, it is a proposal to add one (optional, it can be deactivated like others) field to billing information. That way it is also restored together with billing info (unlike the VAT number module).

tr’s picture

Status: Postponed » Fixed

There is now a module that does this for you http://drupal.org/project/uc_vat_number, and more. If you want additional functionality please post your request in the issue queue for that module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

czeky’s picture

Hi, as I saw, VAT number module doesnt save VAT number alog the address and other fields, is Your patch still working? thanx