2
0
forked from Wavyzz/dolibarr
Commit Graph

12065 Commits

Author SHA1 Message Date
Laurent Destailleur
52ece961f0 Look and feel v21 2024-10-27 02:03:44 +01:00
Laurent Destailleur
e25800c042 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-26 20:03:53 +02:00
Laurent Destailleur
38fa5d28db Debug v21 2024-10-26 20:03:22 +02:00
sonikf
1778e56745 NEW: PDF add discount total if line discount exists (#31483)
* NEW: PDF add total discount if line discount exists

* NEW: PDF add total discount if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* NEW: PDF add discount total if line discount exists

* php doc

* Add missing translation

* fix missing translation
2024-10-26 18:29:06 +02:00
Mathieu Moulin
6ee1d83dff Fix ajax selectobject with commonobjectline objects (#29941)
* Fix ajax selectobject with commonobjectline objects

* Clean code : put in another branch

* Parent element defined for CommonObjectLines

* Clean code

* Clean code

* Parent element defined for CommonObjectLines

* Parent element defined for CommonObjectLines

* Clean code

* getElementProperties for commonObjectLines

* Remove changes to split into multiple PRs

* fix mistake in previous commit

* fix mistakes (thanks pre-commit)

* fix mistakes (thanks again pre-commit)

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-26 17:03:34 +02:00
Laurent Destailleur
9396be1dbc Clean ckeditor setup 2024-10-26 16:22:05 +02:00
Laurent Destailleur
649adf7736 NEW Can define the text on tooltip on a yesno check. 2024-10-26 14:05:51 +02:00
Josep Lluís
e8080657ec NEW Add thirdparty state in substitution array (#31549)
* Add thirdparty state in substitution array

Add thirdparty state in substitution array

* Update functions.lib.php
2024-10-26 13:11:21 +02:00
Frédéric FRANCE
19b653a599 fix phpstan (#31564)
* fix phpstan

* fix phpstan
2024-10-26 13:03:04 +02:00
Frédéric FRANCE
e0c1b067d8 add phpdoc (#31562)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc
2024-10-26 13:02:00 +02:00
MDW
0ac595364b Qual: Fix phan/phpstan notices in class files (part 1) (#31501)
* Ignore phpstan configuration for spelling

* Qual: Fix phan notices in class files
2024-10-25 21:00:02 +02:00
lamrani abdelwadoud
43e3dff510 add badge for section fourn generated invoices (#31560) 2024-10-25 20:45:53 +02:00
lamrani abdelwadoud
dcf7f91f71 NEW Add badge for generate invoice client tab (#31559)
* Add badge for generate invoice client tab

* urlencode for add to url
2024-10-25 20:45:12 +02:00
MDW
28e78d6cb4 Qual: Fix phan/stan notices for conferenceorbooth, facture-re, productcustomerprice (#31541) 2024-10-25 14:18:17 +02:00
lamrani abdelwadoud
ebbc0e6693 Add tab Note for fournisseur facture_rec (#31405)
* Add tab Note for fournisseu facture_rec

* fix error

* add tooltip for notes to list substitution variables

* add object for param in function

* fix errors undeclared variables

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-25 13:20:54 +02:00
Laurent Destailleur
76b070fc47 Debug v21 2024-10-25 12:30:50 +02:00
Laurent Destailleur
8bae2d99d8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-24 20:13:12 +02:00
lamrani abdelwadoud
edb1d2c1a3 New tab Note for facture_rec (#31404)
* Add tab Note for facture_rec

* fix error

* add tooltip for note

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-24 19:52:29 +02:00
Laurent Destailleur
059e7875d0 css 2024-10-24 19:36:10 +02:00
Laurent Destailleur
c16883e489 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-24 15:34:22 +02:00
Laurent Destailleur
808d5ee169 NEW Add a tool to decrypt data encrypted in database. 2024-10-24 15:34:02 +02:00
MDW
0d2f1cf666 Qual: Fix phpstan notices (int expected) (#31485)
# Qual: Fix phpstan notices (int expected)

Fix several notices where int was expected (casting/phpdoc/GETPOSTINT).
Separate phpstan exceptions for methods containing 'pdf' from
other methods/functions.
2024-10-24 14:01:30 +02:00
John BOTELLA
e31adc98fa Fix watermark alpha transparency (#31535) 2024-10-24 13:57:57 +02:00
Laurent Destailleur
8abfcf71a9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-24 13:54:13 +02:00
Laurent Destailleur
830029dd05 NEW Iban is saved encrypted 2024-10-24 13:03:52 +02:00
Laurent Destailleur
3bc1d35236 QUAL The property ->domiciliation and ->propio on bank accounts has been
deprecated and replaced with property ->address and ->owner_name
2024-10-24 12:38:41 +02:00
omogenot
6b6d2398e1 Update pdf.lib.php (#31530)
Fix pdf_build_address function to use company address information should the contact information be empty.
This could occurs should a user define a hook that sets the contact object to null from the passed by reference $Parameters['targetcontact']
2024-10-24 03:16:23 +02:00
John BOTELLA
23722b3db8 Fix v20 linked doc note info repeated (#31462)
* FIX : space used by linked elements in PDF notes

* fix data repeated on object public note
2024-10-24 02:54:31 +02:00
Frédéric FRANCE
e2ac3330a8 fix phpstan (#31480) 2024-10-24 00:27:53 +02:00
Frédéric FRANCE
a185fb4296 fix phpstan (#31479)
* fix phpstan

* fix phpstan
2024-10-20 10:13:40 +02:00
Frédéric FRANCE
bc06268df6 fix concat and CI 🔧 (#31469)
* fix concat

* fix overwrite

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-20 00:20:48 +02:00
Laurent Destailleur
22c4d8f814 Merge 2024-10-19 14:56:14 +02:00
Laurent Destailleur
11d01197e3 Split code to avoid false positive 2024-10-19 14:51:30 +02:00
Laurent Destailleur
c70973c0c8 Merge v20 2024-10-19 14:44:55 +02:00
Laurent Destailleur
17c50368c1 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-19 14:32:08 +02:00
Noé Cendrier
a18103187c NEW: Management of extrafields on customer prices, level prices and default prices (#31313)
* ADD: Management of extrafields on customer prices, level prices and default prices

* ADD: sql table for managing extrafields on customer prices, level prices and default prices

* FIX: Add actions to update, add, delete extrafields and display extrafield

* FIX: colspan for customer price table

* ADD: Management of extrafields on customer prices

* FIX: Value and search for price label

* ADD: name in the files

* FIX: *

* FIX: PHP-cs fail

* FIX: comment in english, please

* FIX: variable naming and testing

* FIX: GETPOST array

* FIX: return is an array of strings, object array will be modified as well

* FIX: return array keys for Extrafields::fetch_name_optionals_label are string too

* FIX: do not mess with extrafields code and value

* Update llx_product_customer_price_extrafields.sql

* Update llx_product_price_extrafields.sql

* FIX: whooopsie

* FIX: PHP warnings

---------

Co-authored-by: Mélina JOUM <melina.joum@altairis.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-19 09:50:18 +02:00
Alain Rihs
1ef98c3a6f Update functions.lib.php (#31455)
The language key for the foreign currency does not exist alone but always with the amount. In order to solve this, I propose the following code with a new key: __MULTICURRENCY_CODE__
2024-10-19 01:58:27 +02:00
MDW
11c43e8c63 Fix: ticket.class phan/phpstan notices (#31448)
* Qual: Fix ticket.class notices

* Do not analyze custom

* Fix: Correct reference to cache (+phpdoc)

* Update baseline, ignore everything in custom

* Qual: Fix notices in files related to ticket class
2024-10-19 01:21:41 +02:00
Norbert Penel
3b172d9020 Update functions.lib.php (#31461)
Help for developers who doesn't understand the changes in getElementProperties
2024-10-19 01:04:45 +02:00
Florian Mortgat
cc02bff277 NEW 21.0 - tab on recurring invoice card to see the list of generated invoices (#31463)
* NEW 21.0 - tab on recurring invoice card to see the list of invoices generated from this recurring invoice (customer and supplier invoices)

* tab on recurring invoice card: missing url param in $param

* tab on recurring invoice card: stronger typing for phpstan compliance

* tab on recurring invoice card: wrong typing in phpdoc of supplier_invoice_rec_prepare_head
2024-10-19 01:02:21 +02:00
John BOTELLA
2f1d9cd9c0 FIX : space used by linked elements in PDF notes (#31459) 2024-10-19 00:57:57 +02:00
Laurent Destailleur
56a845963e NEW Can set border radius of list and tables 2024-10-18 17:11:25 +02:00
Laurent Destailleur
622a296d0e Look adn feel v21 2024-10-17 22:20:39 +02:00
Laurent Destailleur
d97ff764ab Do not show qty 0 is zero. 2024-10-17 13:37:23 +02:00
Laurent Destailleur
3ef895d8c4 Debug v21 2024-10-17 03:57:13 +02:00
MDW
cee4535975 Qual: Fix phan notices in admin.lib and tax.lib + related (#31414)
* Qual: Fix admin.lib phpstan/phan notices

* Qual: Fix some argument types in Societe methods

* Fixup phpdoc

* Qual: Improve typing for static analysis

* Qual: Improve typing for static analysis

* Fix tax typing

* Qual: further phan/phpstan notice fixes in dol_generic_project_odt

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 03:08:38 +02:00
Can Arslan
84225c9077 fix: variable name (#31411) 2024-10-17 01:24:59 +02:00
Laurent Destailleur
4f772f15e0 Look and feel v21 2024-10-16 17:26:00 +02:00
Laurent Destailleur
6bcaabad8e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-16 12:54:14 +02:00
Laurent Destailleur
495a31c8fe FIX CSS and access to media files 2024-10-16 12:51:42 +02:00