Commit Graph

2029 Commits

Author SHA1 Message Date
Laurent Destailleur
0e7c5debed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-10-13 16:38:51 +02:00
William Mead
2fd9a0708f Fix #26215 fichinter modify line PHP error (#26216)
* FIX fichinter modify line

* Adjusted contributor line indent

---------

Co-authored-by: William Mead <william.mead@manchenumerique.fr>
2023-10-13 16:14:00 +02:00
Laurent Destailleur
c32fe8dc5f QUAL: Use dol_clone with parameter 2 for ->oldcopy 2023-10-11 19:10:24 +02:00
William Mead
55c90c947f Fixed space after cast 2023-10-06 15:37:02 +02:00
William Mead
199eeff390 Merge branch 'Dolibarr:develop' into new-fichinter-close-notification 2023-10-06 14:36:29 +02:00
William Mead
2568b6c63b Fixed intervention done confirmation popup 2023-10-06 14:10:06 +02:00
William Mead
b29a06a0a6 Cleaned code 2023-10-06 09:15:48 +02:00
William Mead
b3ce1af29d NEW Added notification on closed intervention 2023-10-05 12:11:39 +02:00
Charlène Benke
bf1437ff8b Update note.php 2023-10-04 12:17:56 +02:00
Charlène Benke
f59a0f5eba warning error and duplicate 2023-10-04 12:17:02 +02:00
Laurent Destailleur
d3dc6615db Remove deprecated use of ->modelpdf (good is ->model_pdf) 2023-10-02 21:49:08 +02:00
pascal
80f060c771 fix tab indentation 2023-09-26 18:43:25 +02:00
pascal
871f896962 implementation of properties filter 2023-09-26 18:04:48 +02:00
Laurent Destailleur
91fa48199a Fix warnings 2023-09-10 17:41:22 +02:00
Laurent Destailleur
150de687bf Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-09-05 20:13:38 +02:00
Laurent Destailleur
f43ef55b26 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Conflicts:
	htdocs/modulebuilder/template/class/myobject.class.php
	htdocs/modulebuilder/template/core/boxes/mymodulewidget1.php
	htdocs/modulebuilder/template/core/modules/modMyModule.class.php
	htdocs/modulebuilder/template/core/modules/mymodule/doc/doc_generic_myobject_odt.modules.php
	htdocs/modulebuilder/template/core/modules/mymodule/doc/pdf_standard_myobject.modules.php
	htdocs/modulebuilder/template/myobject_agenda.php
	htdocs/modulebuilder/template/myobject_list.php
2023-09-05 19:38:45 +02:00
Florian HENRY
cb8a6796df FIX: Quick search Intervention redirect to wrong page 2023-08-16 14:32:31 +02:00
Laurent Destailleur
0076ec69b8 The property ->brouillon has been removed from all classes. It was not
reliable and was a duplicate of ->status == self::STATUS_DRAFT.
2023-08-06 00:16:25 +02:00
Laurent Destailleur
310832a95b Debug v18 2023-08-05 13:44:49 +02:00
Laurent Destailleur
e0d4a5160e Fix case 2023-08-04 10:57:55 +02:00
Laurent Destailleur
0c19ac1fcc FIX #25524 2023-08-01 15:22:32 +02:00
Laurent Destailleur
470cad6335 Debug v18 2023-07-10 01:27:21 +02:00
Laurent Destailleur
a5d5847e04 Clean code 2023-06-29 11:20:19 +02:00
Laurent Destailleur
ef64e1dcfc Debug v18 2023-06-28 11:50:28 +02:00
Hystepik
e551005992 add secure !empty() 2023-06-27 14:48:32 +02:00
Hystepik
498daacf51 Fix #25195 : mysql fatal error on ficheinterstat.class.php 2023-06-27 14:47:57 +02:00
Frédéric FRANCE
740ac26277 use user hasRight 2023-06-14 19:54:16 +02:00
Frédéric France
a4bcf0eeaf use user hasRight 2023-06-13 20:47:33 +02:00
Frédéric France
0cb70110eb use user hasRight 2023-06-12 20:10:42 +02:00
Frédéric France
5a018d715d use user hasRight 2023-06-06 00:05:02 +02:00
Laurent Destailleur
fe9521b6b2 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-05-21 17:34:34 +02:00
Laurent Destailleur
421f7ecff4 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-05-21 11:36:42 +02:00
Laurent Destailleur
6350df54e8 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-05-21 11:22:36 +02:00
Noé Courtier
0531f9a853 FIX: Missing error message display on insertExtrafields() 2023-05-17 10:56:15 +02:00
Laurent Destailleur
5dd3f57a1e Debug v18 2023-05-11 13:11:21 +02:00
Laurent Destailleur
c4ea0c7d35 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-05-04 21:43:37 +02:00
Laurent Destailleur
077c3312ce FIX Update hour of intervention line 2023-05-04 20:15:10 +02:00
Laurent Destailleur
f61e79dc55 Fix missing return 2023-05-02 05:08:19 +02:00
Laurent Destailleur
582f13c81b Merge pull request #24518 from cmfpmatik/patch-4
NEW : Update card.php fichinter - Total duration in hours
2023-05-01 16:41:04 +02:00
Laurent Destailleur
4028b5d568 Clean code 2023-04-29 13:13:12 +02:00
Laurent Destailleur
be835d63ed Merge pull request #24635 from VMR-Global-Solutions/develop
API add / fix filter on extrafields in index()
2023-04-28 20:02:09 +02:00
Laurent Destailleur
e74c50aa8a Clean code 2023-04-28 16:05:25 +02:00
VMR Global Solutions
926aa6fec7 API add / fix filter on extrafields in index()
Add / change in api_xxx.class.php files the ability to filter on extrafields when missing in the public functions index()
by changing the SQL query with the pattern 
" FROM ".MAIN_DB_PREFIX"xxxx AS t LEFT JOIN ".MAIN_DB_PREFIX."xxxx_extrafields AS ef ON (ef.fk_object = t.rowid)
2023-04-28 09:31:33 +02:00
Laurent Destailleur
f44c97d3c6 Code is using the Universal Filter Syntax 2023-04-27 22:12:23 +02:00
Oarces DEV
8776c6dcd9 Update card.php 2023-04-19 00:57:32 +02:00
Frédéric FRANCE
fa849696fb use isModEnabled 2023-04-18 20:16:02 +02:00
Oarces DEV
f9ed6ff4f3 Update card.php
This code generates two rows of a table to display the total duration of an employee, one in time format (DD HH:MM) and the other in hour format (HH).

The first row (original code) displays the title "TotalDurationTime" using the "trans" method of the $langs object to translate the string. The total time is converted to HH:MM:SS format using the "convertSecondToTime" function, which takes into account the daily work time duration specified in the global variable $conf->global->MAIN_DURATION_OF_WORKDAY.

The second row displays the title "TotalDurationHour" using the "trans" method of the $langs object to translate the string. The total duration is converted to hours using the "convertDurationtoHour" function, specifying "s" as the time unit (seconds).
2023-04-13 16:54:26 +02:00
Laurent Destailleur
0fb03fdc2d Clean code 2023-04-08 01:43:21 +02:00
Laurent Destailleur
be8f9f33df Look and feel v18 2023-04-06 12:00:39 +02:00
Laurent Destailleur
8898a1a432 Debug ajax tooltip 2023-04-03 19:51:40 +02:00