Commit Graph

324 Commits

Author SHA1 Message Date
Philippe GRAND
34a2ffe334 update code 2022-08-30 11:39:24 +02:00
Philippe GRAND
5811fc0cc5 update code 2022-08-30 11:38:48 +02:00
Philippe GRAND
9414d5cfd5 update code 2022-08-30 11:38:21 +02:00
Philippe GRAND
e6e6a7000b update code 2022-08-30 11:37:39 +02:00
Philippe GRAND
f201e5994e update code 2022-08-30 11:37:09 +02:00
Philippe GRAND
7563ba8d6e update code 2022-08-30 11:36:43 +02:00
Philippe GRAND
8d08f30261 update code 2022-08-30 11:36:05 +02:00
Philippe GRAND
c0e27f252c update code 2022-08-30 11:35:37 +02:00
Philippe GRAND
480e99b192 FIX php8 compatibility 2022-08-28 13:46:30 +02:00
Philippe GRAND
3b0b7ec1ee FIX php8 compatibility 2022-08-28 13:45:54 +02:00
Frédéric France
e78f9a56be use isModEnabled 2022-08-23 20:16:28 +02:00
Frédéric France
582f6b196e use isModEnabled 2022-08-23 20:02:37 +02:00
Frédéric France
4bef0f5745 use isModEnabled 2022-08-23 20:01:34 +02:00
Laurent Destailleur
fc9b3e3d70 Factorize code into a function dolJSToSetRandomPassword() 2022-07-27 13:42:43 +02:00
Laurent Destailleur
24dc936000 Revert "default to create on card.php if $action is empty"
This reverts commit e0b664066b.
2022-07-11 00:05:50 +02:00
Christian Foellmann
e0b664066b default to create on card.php if $action is empty 2022-07-11 00:01:42 +02:00
Laurent Destailleur
4c4e081997 Debug v16 2022-06-28 13:09:53 +02:00
bagtaib
c4754d56a9 assetmodel doesn't have socid but user does 2022-06-13 16:56:37 +02:00
Frédéric FRANCE
38b18a68d7
Merge branch 'develop' into useismodenabled 2022-06-10 10:07:41 +02:00
Frédéric France
400afc937f use isModEnabled function 2022-06-09 22:16:48 +02:00
Laurent Destailleur
cd041c9ea1 Clean code 2022-06-03 02:41:00 +02:00
Alexandre SPANGARO
7b919f1513 Field fk_pays don't exist & fix sql error 2022-05-22 07:08:39 +02:00
Alexandre SPANGARO
977907c07b Asset module - Fix advanced rights 2022-05-22 06:47:28 +02:00
Laurent Destailleur
b14c04a8f0 Fix regression 2022-05-21 15:02:14 +02:00
Laurent Destailleur
0cb9fe25a8
Merge pull request #20922 from homer8173/patch-31
Fix scrutinizer
2022-05-21 10:39:06 +02:00
Laurent Destailleur
e36c6f2268
Merge pull request #20923 from homer8173/patch-32
FIX scrutinizer
2022-05-21 10:38:41 +02:00
Norbert Penel
2a22a530e9
FIX scrutinizer
https://scrutinizer-ci.com/g/Dolibarr/dolibarr/issues/develop/files/htdocs/asset/model/depreciation_options.php?orderField=path&order=asc&honorSelectedPaths=0
2022-05-20 19:27:15 +02:00
stickler-ci
5c01db353a Fixing style errors. 2022-05-20 17:26:17 +00:00
Norbert Penel
877b487298
Fix scrutinizer
https://scrutinizer-ci.com/g/Dolibarr/dolibarr/issues/develop/files/htdocs/asset/card.php?selectedLabels%5B0%5D=9&orderField=path&order=asc&honorSelectedPaths=0
2022-05-20 19:25:46 +02:00
Philippe GRAND
58a2e9c389 fix : The property supplier_invoice_id does not seem to exist on Asset 2022-05-20 16:55:50 +02:00
Laurent Destailleur
e1c2968ae7 Look and feel v16 2022-05-18 23:11:59 +02:00
Laurent Destailleur
f52a7a26f6 Debug v16 - Fix for postgresql - Fix for sql loading per module - php8 2022-05-08 15:18:34 +02:00
John Livingston
1ece554c92
Fix: typo in template name
There was a typo in generated HTML comment.
2022-03-01 17:39:38 +01:00
Laurent Destailleur
54bef2e34f Fix phpcs 2022-03-01 01:57:38 +01:00
Alexandre SPANGARO
546b3dd4d5 Fix travis 2022-02-20 05:17:06 +01:00
Alexandre SPANGARO
96fcd7cae2 Fix travis 2022-02-17 05:41:37 +01:00
Alexandre SPANGARO
33af0eb0fb Fix travis 2022-02-17 05:21:48 +01:00
Alexandre SPANGARO
0f51fadf38
Merge branch 'develop' into 16a12_assets_code 2022-02-17 04:15:03 +01:00
Alexandre SPANGARO
ccbbc98f7a Fix travis 2022-02-17 04:13:02 +01:00
Alexandre SPANGARO
453449324e Fix travis 2022-02-16 18:09:32 +01:00
Alexandre SPANGARO
948f20c2b6 Add a graphical option to define duration per year for depreciation 2022-02-16 05:18:29 +01:00
Frédéric FRANCE
935482ee22
uniformize 2022-02-15 19:04:18 +01:00
Frédéric FRANCE
dad73b755e
fix merge 2022-02-15 18:46:41 +01:00
Frédéric FRANCE
a613553f37
Merge branch 'hookgetnomurl' into patch-1 2022-02-15 18:44:06 +01:00
Frédéric FRANCE
c8640f329e
add missing global 2022-02-15 18:31:05 +01:00
Frédéric FRANCE
0ba912b1e5
add missing global 2022-02-15 18:14:44 +01:00
Frédéric FRANCE
ed4622790e
Update asset.class.php 2022-02-15 11:10:02 +01:00
Alexandre SPANGARO
a17ac09fd0 Resolve stickler-ci 2022-02-14 11:03:44 +01:00
stickler-ci
2d9e303abf Fixing style errors. 2022-02-14 04:18:50 +00:00
Alexandre SPANGARO
d869adb370 Asser 2022-02-14 05:15:28 +01:00
Laurent Destailleur
dbc2631d6a Fix scrutinizer warnings 2022-01-13 19:19:36 +01:00
Laurent Destailleur
13510b9929 Clean sortfield, sortorder 2022-01-13 11:17:25 +01:00
Laurent Destailleur
69cd7ae2ab Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/don/card.php
	htdocs/public/test/badges.php
	htdocs/public/test/test_exec.php
2021-12-08 18:27:03 +01:00
Laurent Destailleur
c3bfd5caa4 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
Conflicts:
	htdocs/adherents/type.php
	htdocs/asset/type.php
	htdocs/categories/edit.php
	htdocs/comm/action/card.php
	htdocs/compta/bank/card.php
	htdocs/contact/card.php
	htdocs/contact/list.php
	htdocs/core/class/extrafields.class.php
	htdocs/don/card.php
	htdocs/product/stock/card.php
	htdocs/projet/card.php
	htdocs/projet/tasks/task.php
	htdocs/user/group/card.php
2021-12-08 18:21:20 +01:00
Laurent Destailleur
f1dac82a53 Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
Conflicts:
	htdocs/adherents/card.php
	htdocs/categories/edit.php
	htdocs/contact/card.php
	htdocs/core/class/extrafields.class.php
	htdocs/product/stock/card.php
2021-12-08 17:56:05 +01:00
Quentin VIAL-GOUTEYRON
826bde0656 FIX set optional from post 2021-12-06 11:19:12 +01:00
Frédéric FRANCE
c01cc0c212
can modify tooltip by reference 2021-11-22 20:06:51 +01:00
Scrutinizer Auto-Fixer
5567310e44 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2021-10-25 20:07:31 +00:00
Laurent Destailleur
8604f9b153 Clean DOM (remove ficheaddleft div) 2021-10-23 17:18:35 +02:00
Laurent Destailleur
0cae464bfa Debug v15 2021-10-19 16:47:43 +02:00
Laurent Destailleur
dd0809b528 Fix trans labels status 2021-10-16 19:37:57 +02:00
Laurent Destailleur
f8010dfcbc Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/reception/list.php
	htdocs/takepos/pay.php
2021-10-16 13:01:03 +02:00
lvessiller
be4a00213c FIX optional visibility on create card 2021-10-08 15:58:08 +02:00
Laurent Destailleur
37603b451a Fix token in url 2021-09-27 12:24:01 +02:00
Laurent Destailleur
96436cac3d FIX unprivileged user can attach agenda with leave. 2021-09-19 00:50:23 +02:00
Laurent Destailleur
d760686239 Fix case of newtoken() 2021-09-18 22:24:00 +02:00
Laurent Destailleur
0749d01c5a Fix add action delete* as sensitive action 2021-09-18 22:04:41 +02:00
Laurent Destailleur
8bdc53f469 Fix Add action classify as sensitive actions 2021-09-18 20:49:24 +02:00
Laurent Destailleur
62b721a904 Add deletecontact as sentitive action
Replace dol_buildpath with DOL_URL_ROOT
2021-09-18 19:34:46 +02:00
Laurent Destailleur
ee066ad725 Cast sql var 2021-09-03 21:25:43 +02:00
Laurent Destailleur
77e9f15360 Work on #18448 2021-09-02 22:52:17 +02:00
Laurent Destailleur
46d993c9a6 Clean code 2021-08-27 22:42:04 +02:00
Christian Foellmann
d706c3b1ec use Forms::buttonsSaveCreate() to generate most of the Save|Cancel forms combination 2021-08-20 14:41:30 +02:00
stickler-ci
698f6db72e Fixing style errors. 2021-07-11 07:43:34 +00:00
fr69400
b8fd4394a1
Update note.php 2021-07-11 09:43:08 +02:00
stickler-ci
4272f93aa4 Fixing style errors. 2021-07-09 16:41:41 +00:00
fr69400
e45d5c1d0d NEW add hookmanager on note pages 2021-07-09 18:36:21 +02:00
Frédéric FRANCE
58701bef5d
remove unused code 2021-06-26 21:10:59 +02:00
Laurent Destailleur
046215f64a Fix PHP8 2021-06-14 02:08:28 +02:00
Laurent Destailleur
fb46ece906 Fix yogosha 6347 2021-06-09 15:36:47 +02:00
Laurent Destailleur
fa4786a3f6 Fix permission 2021-06-08 16:19:21 +02:00
Laurent Destailleur
b6dbe45242 Fix permissions on page to move position of file 2021-05-18 01:58:54 +02:00
Laurent Destailleur
d0cc64479d Fix protect sql 2021-04-24 20:18:11 +02:00
Anthony Berton
a612831e28 next_change 2021-04-14 14:45:55 +02:00
Laurent Destailleur
358bb87ae2 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/action/index.php
	htdocs/core/class/html.form.class.php
	htdocs/core/lib/payments.lib.php
	htdocs/core/modules/commande/doc/pdf_einstein.modules.php
	htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php
	htdocs/core/modules/facture/doc/pdf_crabe.modules.php
	htdocs/core/modules/facture/doc/pdf_sponge.modules.php
	htdocs/core/modules/propale/doc/pdf_azur.modules.php
	htdocs/core/modules/propale/doc/pdf_cyan.modules.php
	htdocs/projet/card.php
	htdocs/public/payment/newpayment.php
	htdocs/societe/list.php
	htdocs/ticket/document.php
2021-04-13 20:19:05 +02:00
Alexandre SPANGARO
4b9bf40a8f move include_once to include when it's a tpl 2021-04-12 21:25:58 +02:00
Laurent Destailleur
8a62d97b89 Remove one thousand of useless files 2021-04-12 15:57:16 +02:00
Laurent Destailleur
3744bc6a7a FIX #yogosha5746 - next step (work in progress) 2021-03-30 18:17:13 +02:00
Laurent Destailleur
ca1715df96 Add some protection for SQL injection 2021-03-22 13:31:06 +01:00
Laurent Destailleur
8f241d5670
Merge pull request #16832 from dolibit-ut/patch-124
Update info.php
2021-03-20 11:50:52 +01:00
Laurent Destailleur
b04fb9463a
Merge pull request #16831 from dolibit-ut/patch-123
Update document.php
2021-03-20 11:50:40 +01:00
Laurent Destailleur
99243045c7
Merge pull request #16833 from dolibit-ut/patch-125
Update type.php
2021-03-20 11:50:30 +01:00
Frédéric FRANCE
bae1770176
uniformise comments to remove nested comments 2021-03-20 10:00:24 +01:00
UT from dolibit
21963dbc65
Update type.php
$help_url = '';

llxHeader('', $langs->trans("AssetsTypeSetup"), $help_url);
2021-03-19 09:23:57 +01:00
UT from dolibit
8c59ad974b
Update info.php
$help_url = "";

llxHeader('', $title, $help_url);
2021-03-19 09:22:58 +01:00
UT from dolibit
01e4f4bff5
Update document.php
$help_url = '';

llxHeader('', $title, $help_url);
2021-03-19 09:20:43 +01:00
Frédéric FRANCE
e1ad7013d9
fix php8 2021-03-16 17:47:24 +01:00
Laurent Destailleur
5daf881660
Merge pull request #16642 from frederic34/patch-5
Add index.html in directories with no index files
2021-03-15 11:40:03 +01:00
Laurent Destailleur
cc10106a21 Fix protection on int 2021-03-14 12:20:23 +01:00
Laurent Destailleur
12f50a76d7 Fix yogosha #5627 2021-03-14 11:48:39 +01:00