Laurent Destailleur
a6b2eab439
Revert bad fix.
...
Unit tests are back ok (when tag is @6 or @=, yearoffset
is not zero but must not be applied when replacing yyyy).
Compatibility with 3.2 is also restored.
2012-09-23 22:09:54 +02:00
Regis Houssin
d147c360d3
FIXME: this code is useless, $yearoffset is 0 by default
2012-09-23 17:05:08 +02:00
Laurent Destailleur
7fac6b65f6
Fix: Fix for compatibility with previous version and for case "@=".
...
Qual: Add a lot of phpunit tests to validate all get_next_value()
cases.
2012-09-23 16:25:08 +02:00
Regis Houssin
e721c6e723
Fix: more simple too
2012-09-22 10:40:12 +02:00
Regis Houssin
1e3cecf25c
Fix: can use {yy}{mm} or {mm}{yy}
2012-09-22 10:33:25 +02:00
Regis Houssin
6151bc3a42
Fix: more simple
2012-09-22 09:18:36 +02:00
Regis Houssin
eee4434850
Fix: update doc
2012-09-22 09:03:38 +02:00
Regis Houssin
d48f494eb0
Fix: check fiscal date and new year
2012-09-22 08:53:10 +02:00
Regis Houssin
ba1b282c3b
Fix: remove unused code
2012-09-21 11:28:28 +02:00
Regis Houssin
50b0dcf47e
New: try to use new tag
2012-09-21 11:23:31 +02:00
Laurent Destailleur
5e9cd37107
Uniformise look of PHP Info page.
2012-09-21 00:13:20 +02:00
Regis Houssin
d58c106f66
Fix: convert line delimiters !!!
2012-09-19 17:53:09 +02:00
Laurent Destailleur
533e285dad
Merge pull request #403 from simnandez/develop
...
Trad: Add ca_ES and es_ES translations
2012-09-19 05:53:43 -07:00
Laurent Destailleur
0e76bd7ac6
Fix: Blank page when renaming a product ref
2012-09-19 14:11:01 +02:00
Laurent Destailleur
d1cfe2ec54
Fix: Bug when metafile is on
2012-09-19 13:30:59 +02:00
Laurent Destailleur
1347ecf14e
Qual: Removed warnings
2012-09-19 12:49:58 +02:00
simnandez
76f3fb56ea
Fix: Add type of product/service into propals for a correct localtaxes
...
calculation
Fix: Localtax2_type for Spain must be 3
2012-09-18 16:06:45 +02:00
Regis Houssin
8bab5fdadd
Fix: convert line delimiters
2012-09-17 19:37:02 +02:00
Regis Houssin
58ae3b9372
Fix: possibility to disable hook
2012-09-17 19:36:43 +02:00
Regis Houssin
dc7100677a
Fix: avoid warning if no object
2012-09-17 16:28:37 +02:00
Laurent Destailleur
3953be53a7
Qual: Mutualize code
...
New: Can use extrafields on contacts/addresses.
2012-09-17 01:39:30 +02:00
Laurent Destailleur
07fa800360
Fix: Correct concat when mixing not html and html descriptions
2012-09-16 20:23:57 +02:00
Laurent Destailleur
b724a78cb3
Fix: Debug dictionnary to add localtaxes
2012-09-16 15:04:55 +02:00
Laurent Destailleur
d48f294531
New: [ task #289 ] Reorder tasks
2012-09-15 15:33:00 +02:00
Regis Houssin
43c0a03758
Fix: strict mode tornado
2012-09-15 11:21:22 +02:00
Regis Houssin
e19f8c54f1
Fix: strict mode hurricane
2012-09-15 10:01:35 +02:00
Regis Houssin
be13602c71
Fix: use getDocumentsLink method
2012-09-15 09:02:20 +02:00
Laurent Destailleur
e7d3d9496c
first step for extrafield for contact/address
2012-09-14 12:15:55 +02:00
Regis Houssin
7eef637776
Fix: strict mode killer
2012-09-13 11:52:50 +02:00
Regis Houssin
5770245805
Fix: rename the hook
2012-09-12 19:37:37 +02:00
simnandez
2e37084c55
Fix: If price is 'TTC' we need to have the totals without VAT for a
...
correct
calculation
Fix: The updateline of propal must include the localtaxes totals
2012-09-12 17:48:45 +02:00
Laurent Destailleur
dd66ebd3f6
New: Use GB address format
2012-09-12 17:39:02 +02:00
Regis Houssin
664ceb7f2c
Fix: This is a 'superglobal', there is no need to do 'global $variable;'
...
to access it within functions or methods.
2012-09-12 14:55:39 +02:00
Regis Houssin
a2f1107bfc
Fix: add GET in hook parameters
2012-09-12 14:49:36 +02:00
Regis Houssin
7358223c8f
Fix: convert line delimiters
2012-09-12 12:41:44 +02:00
Regis Houssin
b75efdcf10
Fix: regression, replace triggers by hooks
2012-09-12 12:27:11 +02:00
Laurent Destailleur
8fd384373a
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2012-09-12 10:57:09 +02:00
Regis Houssin
2557320f8d
Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop
2012-09-12 10:47:17 +02:00
Regis Houssin
71d5191ff7
Fix: duplicate parameters
2012-09-12 10:46:35 +02:00
Stephen L
8fcf20227a
Fix: definition of all substitution functions is no more required
...
Signed-off-by: Stephen L. <lrq3000@gmail.com >
2012-09-11 20:15:03 +02:00
Laurent Destailleur
54be534506
Add comment and renamed file to be sure new function is not called
...
directly. Not sure it's a good idea to have dolDeleteFile separated
since it must be called only by dol_delete_file.
2012-09-11 20:06:37 +02:00
Regis Houssin
b39c9c514a
Fix: split into 2 functions
2012-09-11 18:52:23 +02:00
Regis Houssin
f95d611f12
New: add hooks in dol_delete_file and list_of_documents methods
2012-09-11 17:08:10 +02:00
Laurent Destailleur
12b42ab1b4
Doc
2012-09-11 01:53:15 +02:00
Laurent Destailleur
ef00d592e7
Fix: Backward compatibility with spain.
2012-09-11 01:42:50 +02:00
Laurent Destailleur
e68f861923
New: Add more test and enhancement to make new calcul_price function
...
more reliable. We need to add more PHPUnit test case on this function
(testcase using localtax1 and localtax2).
2012-09-11 01:09:34 +02:00
Christophe Battarel
c6da5b79fe
change localtaxes parameters to be compatible with older calls
2012-09-10 16:49:36 +02:00
Christophe Battarel
8c11da1df8
readapt to 3.3
2012-09-10 16:01:20 +02:00
Christophe Battarel
4cca760feb
calculate prices with generic local taxes management
2012-09-10 15:47:33 +02:00
Laurent Destailleur
a551fa982e
Comments
2012-09-08 21:29:03 +02:00