Codebase list libbusiness-tax-vat-validation-perl / 3f4ccd3
Drop informations.patch, merged upstream. gregor herrmann 2 years ago
2 changed file(s) with 0 addition(s) and 42 deletion(s). Raw diff Collapse all Expand all
+0
-41
debian/patches/informations.patch less more
0 Description: update examples to reflect renamed method informations -> information
1 Author: Florian Schlichting <fsfs@debian.org>
2 Forwarded: https://github.com/bigpresh/Business-Tax-VAT-Validation/pull/11
3
4 --- a/README
5 +++ b/README
6 @@ -84,10 +84,10 @@
7 $ok=$hvatn->local_check($VAT, [$member_state]);
8
9
10 - informations - Returns informations related to the last validated VAT
11 + information - Returns information related to the last validated VAT
12 number
13
14 - %infos=$hvatn->informations();
15 + %infos=$hvatn->information();
16
17
18 get_last_error_code - Returns the last recorded error code
19 --- a/examples/vat.cgi
20 +++ b/examples/vat.cgi
21 @@ -39,7 +39,7 @@
22 print h2("Results"), $vat, ': ';
23
24 if ($hvatn->check($vat)) {
25 - print 'This number exists in the VIES database. It belongs to '.$hvatn->informations('name')." ".$hvatn->informations('address');
26 + print 'This number exists in the VIES database. It belongs to '.$hvatn->information('name')." ".$hvatn->information('address');
27 } else {
28 print $hvatn->get_last_error_code.' '.$hvatn->get_last_error;
29 }
30 --- a/examples/vat_cli.pl
31 +++ b/examples/vat_cli.pl
32 @@ -29,7 +29,7 @@
33
34 if ($val->check($vatNumber)) {
35 print "VAT Number exists ! ";
36 - print "It belongs to ".$val->informations('name')." ".$val->informations('address')."\n";
37 + print "It belongs to ".$val->information('name')." ".$val->information('address')."\n";
38 } else {
39 my $msg="Error ".$val->get_last_error_code." : ".$val->get_last_error;
40 $msg=~s/[\r\n]/ /g;
+0
-1
debian/patches/series less more
0 informations.patch