Commit Graph

321 Commits

Author SHA1 Message Date
Philippe GRAND
9cc40fcb21 standardize 2018-07-28 17:26:56 +02:00
Laurent Destailleur
f28a6e59c8 Look and feel v8 2018-06-05 16:30:16 +02:00
Frédéric FRANCE
f53f7bbf40
loadlangs 2018-05-26 18:41:16 +02:00
Laurent Destailleur
05c2f206ff Fix missing lang 2018-05-21 19:35:12 +02:00
Laurent Destailleur
d52305cef8 NEW Add entry for the GDPR contact 2018-05-15 11:50:42 +02:00
Laurent Destailleur
d46a8eb8f0 Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/admin/company.php
2018-04-07 12:30:30 +02:00
Laurent Destailleur
1a321e19c8 FIX XSS in company setup page 2018-04-06 19:12:13 +02:00
Laurent Destailleur
43f8834b28 Uniformize code with the new module builder framework 2018-03-31 18:48:27 +02:00
Alexandre SPANGARO
93b087dbe0 NEW Add a tab to specify accountant/auditor of the company 2018-03-18 06:09:50 +01:00
Laurent Destailleur
852bf8dab7 Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/adherents/card.php
	htdocs/societe/class/societe.class.php
2018-03-15 01:57:35 +01:00
Laurent Destailleur
4957ea9178 Fix SQLi reported by op7ica 2018-03-15 01:55:16 +01:00
Laurent Destailleur
cc9a6ee6e0
Merge pull request #7428 from ruistrecht-alt/NEW_Show_Region_in_company_info_&_Global_option_to_show_state_code_MAIN_SHOW_STATE_CODE
NEW Show region in company info & Global option to show state code MAIN_SHOW_STATE_CODE
2018-03-14 10:49:54 +01:00
Laurent Destailleur
1e6a55745c CSS 2018-03-06 11:54:05 +01:00
Rui Strecht
fd594f7e74 Fixed wrong global 2018-02-07 16:57:43 +00:00
Rui Strecht
f52beef3eb Added translation to company.php if MAIN_SHOW_REGION_IN_STATE_SELECT is activated 2018-02-07 16:54:21 +00:00
Rui Strecht
8c732a1443 Trying to not include sql request into method setMysoc 2018-02-06 12:01:54 +00:00
Rui Strecht
b387c3fdf8 Forgot to update other files to same PR changes 2018-01-31 11:45:30 +00:00
Rui Strecht
75b9caf744
Merge branch 'develop' into NEW_Show_Region_in_company_info_&_Global_option_to_show_state_code_MAIN_SHOW_STATE_CODE 2018-01-31 11:19:39 +00:00
Laurent Destailleur
cc5dcde9e1 Fix protection to avoid errors 2018-01-14 18:55:55 +01:00
Laurent Destailleur
4443c0f0a0 Fix style 2017-12-10 15:24:47 +01:00
Laurent Destailleur
95cb5025a2 Fix length of month too large
More complete template
2017-12-08 16:15:41 +01:00
alexis Algoud
62cd77d999 NEW automatic activation of external module on country set 2017-12-08 10:13:03 +01:00
Rui Strecht
1a5cdf2406 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into NEW_Show_Region_in_company_info_&_Global_option_to_show_state_code_MAIN_SHOW_STATE_CODE
# Conflicts:
#	htdocs/admin/company.php
#	htdocs/core/class/commonobject.class.php
2017-10-09 11:36:38 +01:00
Regis Houssin
4ea3d27ced Fix: for avoid problem with currentcontext 2017-10-06 15:19:43 +02:00
Regis Houssin
e1311340a7 NEW add doActions hook in company admin 2017-10-06 08:45:59 +02:00
Rui Strecht
24f8ea003a Added self to contributors list 2017-09-20 12:30:59 +01:00
Rui Strecht
f1126b65bf Updated method to fetch state name, code and id to match method used with country
Reverted some previous changes to allow backwards compatibility
Extended MAIN_SHOW_REGION_IN_STATE to include showing region in thirdparty card
2017-09-20 12:06:35 +01:00
Laurent Destailleur
d0a0bf57b6 NEW The "Show detail by account" accepts 3 values: yes, no, if non zero 2017-09-12 12:52:48 +02:00
Laurent Destailleur
d26b2a694d FIX Security fixes (filter onload js, less verbose error message in
download and viewimage, show info to encourage dolibarr_main_prod=1)
2017-09-06 11:39:30 +02:00
Laurent Destailleur
68e333879f Fix var not sanitized 2017-05-16 13:27:32 +02:00
philippe grand
0c7cfdb037 Update code using new css class 2017-04-24 16:36:58 +02:00
Laurent Destailleur
846204bdb4 Replace usage of $bc[$var] with class="oddeven" 2017-04-14 13:02:29 +02:00
Laurent Destailleur
39ebaec064 Replace usage of $bc[$var] with class="oddeven" 2017-04-14 11:22:48 +02:00
Laurent Destailleur
979bcd3a9b NEW Can add a background image on login page 2017-03-31 11:40:31 +02:00
Laurent Destailleur
65f7de8f64 Fix css and look 5.0 2017-01-22 12:13:32 +01:00
Laurent Destailleur
211436b436 Better responsive 2016-12-04 01:14:09 +01:00
Laurent Destailleur
8c428ac5b7 Fix responsive design 2016-12-04 00:51:15 +01:00
Laurent Destailleur
23cac5b157 FIX link to check prof id was hardcoded instead of using dedicated
function
2016-07-04 10:28:11 +02:00
Laurent Destailleur
5222b78e95 FIX property of bank account were lost if an error occured during
saving.
2016-06-25 14:20:23 +02:00
philippe grand
cc4fe87e13 internationalization of code comment 2016-06-21 17:00:52 +02:00
Laurent Destailleur
8187dc2006 Fix css 2016-06-19 16:07:34 +02:00
Laurent Destailleur
97bf91cc5d Show both currency symbol and code 2016-04-30 14:09:00 +02:00
Laurent Destailleur
5b55af4d66 NEW Mutualize code: Use one call of function "addThumbs", when possible,
to generate thumbs files instead of several call of "vignette" function.
2016-04-09 14:12:21 +02:00
Laurent Destailleur
630f5a632d Revert "Corrected non-static usages of Form::selectarray function"
This reverts commit 87cd6e1e40.
2016-03-25 15:34:37 +01:00
Laurent Destailleur
26de415b77 Revert commit that break compatibility of 100% of modules 2016-03-25 15:24:57 +01:00
Marcos García de La Fuente
4d78932fe8 NEW Converted Form::textwithtooltip and Form::textwithpicto to static functions 2016-03-20 14:15:21 +01:00
Marcos García de La Fuente
87cd6e1e40 Corrected non-static usages of Form::selectarray function 2016-03-20 14:15:17 +01:00
Laurent Destailleur
79bc7cf085 Fix showing description 2016-02-19 04:05:08 +01:00
Laurent Destailleur
6bd6be0912 Debug and rename experimental module "supplier proposal". Still work to
do: Must fix the PDF to be compliant with a request quotation to a
supplier (so no need to show vat, unit price, ...).
2015-11-15 19:23:39 +01:00
Laurent Destailleur
80127cbbc9 Fix tr/td not correctly open/closed
Fix default value was not set
2015-11-14 19:31:16 +01:00
philippe grand
3767ab437e [Qual] Uniformize code 2015-10-23 12:58:30 +02:00
Laurent Destailleur
0d799402d0 Work on image for "no photo" with better resolution 2015-10-08 23:50:17 +02:00
Laurent Destailleur
3f506552e3 Merge remote-tracking branch 'origin/3.8' into develop
Conflicts:
	htdocs/filefunc.inc.php
	htdocs/theme/md_exp/style.css.php
2015-09-27 21:29:16 +02:00
fmarcet
b5b90d1639 FIX #3599 Not saving legal form 2015-09-25 08:50:00 +02:00
Raphaël Doursenaud
631ee83745 [Qual] Replaced deprecated print_fiche_titre() 2015-09-24 18:34:58 +02:00
Laurent Destailleur
31465fe899 Fix several minor bugs 2015-08-31 12:13:23 +02:00
aspangaro
59e88590e0 Move my address email to new one 2015-07-15 20:30:33 +02:00
Yannick Warnier
3a8c93522f Convert " " to \t to match custom coding conventions 2015-06-30 15:53:58 -05:00
Raphaël Doursenaud
95debcc376 Fix nophoto image path on company admin 2015-06-10 19:49:09 +02:00
Raphaël Doursenaud
4aee11e54b Make default avatar images public to allow Gravatar proxying
Fix #2985
2015-06-08 17:23:02 +02:00
aspangaro
3461a8712a New: Add object of the company - Needed for donation 2015-06-03 06:48:15 +02:00
Laurent Destailleur
1b681510a5 NEW Use new select2 component for juridical status, country and state
selection.
2015-05-31 12:25:33 +02:00
aspangaro
8163563753 New: Add option to show long or short (by default) label in select_month() 2015-05-03 06:12:02 +02:00
Laurent Destailleur
60a56da370 Some change into css. Tabs background are now white so main content is
black on white (better contrast).
Fix editfieldval for date.
2015-04-25 22:20:10 +02:00
jfefe
c905f88498 Change generic and setup image title 2015-04-18 23:13:48 +02:00
Laurent Destailleur
471a5857d2 Fix CSS 2015-04-18 17:42:24 +02:00
Laurent Destailleur
ae103e34b8 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	build/debian/changelog
	htdocs/compta/facture.php
	htdocs/core/lib/price.lib.php
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
	htdocs/opensurvey/public/studs.php
	htdocs/projet/element.php
2015-04-13 13:08:46 +02:00
Laurent Destailleur
6889162d7a Fix: management of vat type 2, 4 and 6 is now ok.
Works for canada and ivory cost.
2015-04-11 22:51:53 +02:00
aspangaro
c4c69e191b Replace <center> tags 2014-11-25 20:13:43 +01:00
Laurent Destailleur
90d47cffae Better error management and better error message for reporting upload or
error of images.
2014-10-18 14:56:06 +02:00
aspangaro
0738103da8 Renamed llx_c_pays to llx_c_country & field "libelle" to "label" 2014-08-10 13:37:39 +02:00
Raphaël Doursenaud
94bcb0dc40 Labels and autofocus for company card forms 2014-07-12 14:45:23 +02:00
Juanjo Menent
9aa234255d [ task #1063 ] Allow edit localtaxes rate for thirds 2014-07-04 18:26:56 +02:00
Juanjo Menent
e30649dcd2 [ task #1063 ] Allow edit localtaxes rate for thirds. Works with company 2014-07-03 17:39:31 +02:00
Laurent Destailleur
bcdf3e8a51 New: The combo list of juridical status is now sorted 2014-05-04 23:46:36 +02:00
Raphaël Doursenaud
f8f502d013 Removed closing php tag
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
Laurent Destailleur
9a8a306d78 Qual: Method form->select_currency() has been removed. Use instead
print form->selectCurrency().
Qual: Method form->select_methodes_commande() has been renamed into
english name selectInputMethod().
2014-04-02 14:53:42 +02:00
Laurent Destailleur
76259a633c Clean constant FACTURE_TVAOPTION into conf.class.php so we don't have
to do it everywhere at different places. Value is now 0 or 1.
2014-03-31 02:16:49 +02:00
Laurent Destailleur
6cec011df6 New: Add manager name (ceo, director, president...) into main company
information page.
2014-03-13 12:22:53 +01:00
Grand Philippe
1855ba556a fix misspelled words 2014-02-05 17:53:30 +01:00
Laurent Destailleur
42a3cbd27c Fix: Missing css class 2013-12-04 23:21:57 +01:00
Laurent Destailleur
6ffdc039a2 Fix: When option is not set, it must not appears as set. 2013-11-23 14:51:49 +01:00
simnandez
fa5f09d6e0 [ task #1036 ] Normalized usage of setEventMessage instead of
dol_htmloutput_mesg: Works in admin
2013-08-14 12:48:00 +02:00
Laurent Destailleur
328801f455 Hide upload on smartphones 2013-04-09 01:27:41 +02:00
Laurent Destailleur
76910d4159 Look: Start to use div to render actions buttons 2013-04-03 18:37:54 +02:00
Laurent Destailleur
fbf8d410d2 New: Support revenue stamp onto invoices 2013-03-23 17:34:23 +01:00
Grand Philippe
44683a0e21 english language standardization 2013-02-27 11:58:50 +01:00
Grand Philippe
79c2e17cbb english language standardization 2013-02-25 17:56:41 +01:00
Grand Philippe
86de772b31 english language standardization 2013-02-24 17:08:52 +01:00
Grand Philippe
fc4ad12a72 english standardization 2013-02-22 15:57:30 +01:00
Grand Philippe
0af5c434af english standardization 2013-02-22 09:29:34 +01:00
Laurent Destailleur
c42a0c5b03 Fix: removed warning 2013-01-28 14:40:15 +01:00
Laurent Destailleur
a5b174eccc Fix: Architecture of getCurrency was wrong. Cache was not stored
correctly and dict file loaded several times. There was also bug on PHP
without mb_string function.
Now function is a method of $langs object. All bug fixes.
2013-01-18 15:57:11 +01:00
Laurent Destailleur
8d206fdfb0 Prepare move to other licence. For the moment all answers for licence
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
Regis Houssin
b838895db9 Fix: change for a neutral email 2012-12-30 15:13:49 +01:00
Marcos García
bae8a749b8 Replaced 'Tel' string with 'Phone' to allow translation 2012-12-29 02:51:35 +01:00
Laurent Destailleur
4136c27516 RESTORE CODE WITH ID D2adaf7. The Merge daacf79 as lost more than 50
commits !
2012-12-01 15:45:05 +01:00
Christophe Battarel
e919ce893a check if company has localtaxes for its country 2012-11-27 13:05:21 +01:00
Regis Houssin
e19f8c54f1 Fix: strict mode hurricane 2012-09-15 10:01:35 +02:00
Marcos García
4209898d20 Lower-cased Header function 2012-08-31 05:58:38 +02:00
Marcos García
19bf4ab8df Improvements to translations
Some available translations weren't being translated
Also corrected wrong translation key
Improved es_ES translation string
2012-08-23 08:29:38 +02:00
Marcos García
f3674317ec Removed parenthesis from all require and replaced with single quotes 2012-08-22 23:24:21 +02:00
Marcos García
706d79986c Removed parenthesis from all require_once and replaced with single quotes 2012-08-22 23:11:24 +02:00
FHenry
b3ca737662 remove useless parameters 2012-07-24 17:33:26 +02:00
Regis Houssin
41789458c5 Fix: warning again and again... 2012-07-09 18:09:44 +02:00
Regis Houssin
7fac86a5af Fix: avoid warnings 2012-07-09 12:54:27 +02:00
Laurent Destailleur
2ffa73660a Better error management 2012-05-21 09:21:03 +02:00
Laurent Destailleur
8b2a17bbf0 Perf: One request instead of two. 2012-05-21 00:36:59 +02:00
Regis Houssin
34e2320e61 Fix: use $mysoc object and clean code 2012-05-18 09:03:24 +02:00
Laurent Destailleur
8ea079ed96 New: Prepare change to allow usage of print sheet for any purpose (not
only
memeber module).
Qual: Remove duplicate declaration of version.
2012-04-28 16:37:58 +02:00
Regis Houssin
13624eeb86 Fix: multicompany sharings compatibility 2012-04-07 09:20:03 +02:00
Laurent Destailleur
8317ee1ece Prepare code for 6 professional id. 2012-03-23 00:51:38 +01:00
Regis Houssin
6c8d9a0240 Fix: view currency symbol and remove DAO code 2012-03-08 14:39:40 +01:00
Regis Houssin
727a18fde5 Fix: use new default variable 2012-03-08 14:17:08 +01:00
Laurent Destailleur
c4b845d60a Qual: Removed deprecated function name. 2012-02-19 18:34:22 +01:00
Laurent Destailleur
19f8355231 Look: Minor fix 2012-02-01 22:17:11 +01:00
Laurent Destailleur
ad1ec032f3 Normalize code 2012-01-24 09:19:28 +01:00
Laurent Destailleur
963df8f59d Qual: Uniformize code 2011-12-29 23:23:31 +01:00
Laurent Destailleur
7688e44b2a Uniformize field country_id, country_code, country 2011-12-29 18:34:56 +01:00
Laurent Destailleur
c2348ef600 Uniformize field country_id, country_code, country 2011-12-29 18:07:41 +01:00
Laurent Destailleur
1f37dc906f Qual: Uniformize name of barcode into "barcode". 2011-12-07 11:59:41 +01:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
Regis Houssin
63d60a33fc [task #216] Move lib in core directory 2011-10-24 11:25:54 +02:00
Regis Houssin
c65238b773 [task #216] Move lib in core directory 2011-10-24 10:45:06 +02:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
835f0ed348 Perf: Move some functions that does not need to be always loaded into other lib than functions.lib.php 2011-08-17 16:07:41 +00:00
Laurent Destailleur
0adbca4625 Qual: Mutualize a lot of duplicate functions into functions.lib.php 2011-08-17 15:56:22 +00:00
Laurent Destailleur
e2c007305c Fix: Avoid errors into rpm packages 2011-07-31 22:21:57 +00:00
Laurent Destailleur
f1afa71f4d Uniformize code 2011-07-18 18:09:04 +00:00
Laurent Destailleur
f79413195b Removed a too specific feature into a generic one. 2011-06-24 19:57:45 +00:00
Philippe Grand
9872ecfb6d add possibility to fill trainer Accreditation number 2011-06-15 17:35:26 +00:00
Regis Houssin
c593df2d68 Fix: move 3 functions to formother class 2011-05-20 15:59:18 +00:00
Laurent Destailleur
cb6835eb19 Fix order of countries 2011-03-19 02:17:05 +00:00
Laurent Destailleur
e9f4879245 Qual: Prepare move of function dol_delete_file into file.lib.php 2011-03-09 15:34:57 +00:00
Laurent Destailleur
46c8393071 Fix: Missing style 2011-02-09 12:04:47 +00:00
Laurent Destailleur
34de815222 Fix: Image function moved into correct file.
New: Add thumbs when uploading an image for third parties
2011-02-07 14:23:57 +00:00
Laurent Destailleur
b2f6eec355 New: Add option MAIN_DISABLEVATCHECK to disable link to VAT check 2011-01-31 23:09:46 +00:00
Laurent Destailleur
46ff6b1a25 Move javascript to prepare to mutualize code. 2010-10-18 21:15:55 +00:00
Laurent Destailleur
8d0cc908d9 New: Add 4 constants TAX_MODE_SELL/BUY_PRODUCT/SERVICE to define rule to calculate VAT. 2010-09-29 18:38:47 +00:00
Laurent Destailleur
ea47cebe6f New: task #10473 : Option MAIN_PROFIDx_IN_ADDRESS must no more be hidden 2010-09-15 08:36:13 +00:00
Laurent Destailleur
cc55568723 Replace javascript by jQuery 2010-08-29 16:47:17 +00:00
Laurent Destailleur
1b9ee9c597 Qual: Clean code
Perf: Country id+code is now stored into MAIN_INFO_SOCIETE_PAYS instead of only id. This avoid a select to finf country code at each request.
2010-08-21 15:30:17 +00:00
Laurent Destailleur
85d3bcafa4 New: Can cancel edition
Fix: Minor fix in theme around logo
2010-08-18 17:16:21 +00:00
Laurent Destailleur
6d82aeda67 Fix: Database compatibility 2010-08-09 15:42:57 +00:00
Juanjo Menent
99e970d6c9 Local Taxes: Remove MAIN_FEATURES_LEVEL condition 2010-07-15 07:23:04 +00:00
Laurent Destailleur
e511c188fe The beta will last a little bit more, so i enable the spanish local taxes 2010-07-14 15:59:38 +00:00
Laurent Destailleur
bcf2852e5a Fix: Country label 2010-06-23 01:03:42 +00:00
Laurent Destailleur
ad8440d276 Show state in address for us and india 2010-06-18 22:54:16 +00:00
Laurent Destailleur
bdd0672917 Add state 2010-06-17 22:19:37 +00:00
Laurent Destailleur
ff4935fbc6 Fix: Title of page is second parameter 2010-05-26 11:42:29 +00:00