ellenbrook / freshbooks-php-library

Automatically exported from code.google.com/p/freshbooks-php-library
0 stars 0 forks source link

Missing variables in Client and Invoice libraries #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The client and invoice libraries were missing variables.

Client.php was missing:
- language
- currency code
- vat name
- vat number

BaseInvoice.php was missing:
- language
- currency code

I've added them in the attached files.

Original issue reported on code.google.com by jo...@yoast.com on 27 Nov 2011 at 8:18

Attachments:

GoogleCodeExporter commented 9 years ago
Ugh, I guess it'd help if I didn't make errors in coding, fixed version of 
BaseInvoice.php attached.

Original comment by jdev...@gmail.com on 29 Nov 2011 at 10:10

Attachments:

GoogleCodeExporter commented 9 years ago
I think lines 88, 89 and 90 of Client.php have a bug where you've put a ";" at 
the end of the line rather than a "." to concatenate (and hence it's leaving 
off the VAT name/number.)

Original comment by jspit...@gmail.com on 24 Dec 2013 at 5:47