Commit Graph

34 Commits

Author SHA1 Message Date
stickler-ci
d1dd70f9cc Fixing style errors. 2022-01-25 08:10:58 +00:00
Je2fb
a1f676eb8c Add new expression in Dynamic Price
Add the expression supplier_min_price_with_discount for select the buy price.
2022-01-25 09:07:53 +01:00
Frédéric FRANCE
fa7cd70052 code syntax product directory 2021-02-26 14:25:17 +01:00
Scrutinizer Auto-Fixer
7f52920716 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 13:32:18 +00:00
Frédéric FRANCE
b41ac00b98 add new rule 2020-05-21 15:05:19 +02:00
Laurent Destailleur
94589158c0 Move class from external project as internal class (project is dead) 2020-03-13 02:32:33 +01:00
Scrutinizer Auto-Fixer
e44865d8b5 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-02-21 16:53:37 +00:00
josemariagomezroncero
601cd3809c Correction 2020-02-14 20:16:10 +01:00
josemariagomezroncero
27a874a6ba Correction bug dynamic price
It 
does not allow to continue when then the product hasnt supplier pirce
2020-02-14 11:38:51 +01:00
josemariagomezroncero
0d49211dea Correction for Hook for dynamic price
Correction for Hook for dynamic price
2020-02-13 12:59:59 +01:00
josemariagomezroncero
373a5ff508 Hook for dynamic price
Hook for dynamic price
2020-02-12 21:31:45 +01:00
Laurent Destailleur
2b66282b61 NEW Code for extrafields uses the new array $extrafields->attributes 2019-10-06 14:41:52 +02:00
Alexandre SPANGARO
02dbc11f98 Move Gnu.org to https 2019-09-23 21:55:30 +02:00
Laurent Destailleur
3351a1687c Fix phpcs 2019-08-10 02:17:07 +02:00
Laurent Destailleur
2824dee11a Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
Conflicts:
	htdocs/langs/en_US/admin.lang
	htdocs/product/dynamic_price/class/price_parser.class.php
2019-08-10 01:20:17 +02:00
Je2fb
2dee289fc6 Update price_parser.class.php
Calculation with supplier_min_price work

Conflicts:
	htdocs/product/dynamic_price/class/price_parser.class.php
2019-08-10 00:21:13 +02:00
Frédéric FRANCE
69985339d8 Update price_parser.class.php 2019-08-06 11:47:34 +02:00
Ion
06d3b5792c Fix dynamic prices bug caused by arg displacement 2019-04-07 21:41:31 +02:00
wdammak
b651b7ec07 Fix Warning: Invalid argument - dynamic_price 2019-03-13 01:03:12 +01:00
Frédéric FRANCE
014f69850e add visibility 2019-03-01 23:08:57 +01:00
Frédéric FRANCE
1e43f8e54a PEAR FunctionCallSignature 2019-02-10 10:45:49 +01:00
Frédéric FRANCE
6e91b3cefc PSR2 usage of else if is discouraged 2019-01-27 10:49:34 +01:00
Frédéric FRANCE
850ac34020 mark non camelCaps function 2018-08-13 17:26:32 +02:00
Laurent Destailleur
fbae4429b7 Clean code for better extrafields management 2018-04-13 12:52:23 +02:00
Laurent Destailleur
b4446764f8 Clean code of deprecated usage 2018-02-21 14:48:25 +01:00
Ion
669e080670 More informative error message in dynamics price 2017-12-06 14:51:29 +01:00
Ion
f642289160 Add missing arg in supplier min price 2017-11-10 12:32:49 +01:00
Ion Agorria
aa0b811f73 Undefined variable detection in price parser 2017-11-09 17:12:55 +01:00
Ion
e528a82051 Remove price dynamic internal var 2017-11-09 17:12:55 +01:00
Ion Agorria
9fc7041a28 Use error_parser instead of reserved error var 2016-02-20 19:47:17 +01:00
Ion Agorria
0e2be880c5 Convert null to string 2016-02-14 19:05:43 +01:00
Ion Agorria
89657d0439 Changed Price Parser functions and added testExpression 2016-02-14 17:28:31 +01:00
Laurent Destailleur
55140afde4 Merge branch 'price-global-variables' of
https://github.com/IonAgorria/dolibarr into
IonAgorria-price-global-variables

Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
	htdocs/product/dynamic_price/editor.php
2015-03-22 12:45:04 +01:00
Ion Agorria
fc5899174b Relocation of expression files 2015-03-14 16:48:56 +01:00