66 Commits

Author SHA1 Message Date
antonin_tdj
e8bb08ea47 FIX Enhance VAT loading logic for supplier and buyer
Refactor VAT loading to handle supplier and buyer roles dynamically.
2025-12-10 10:50:52 +01:00
Laurent Destailleur
6df93d0fb9 Debug v23 2025-11-05 21:24:19 +01:00
Laurent Destailleur
c03026a41d Debug v23 2025-10-23 14:59:19 +02:00
Laurent Destailleur
1e84852825 Clean code 2025-10-23 14:26:47 +02:00
Laurent Destailleur
c7ab7cd83d FIX Bad label for column title on multicurency 2025-10-14 16:27:31 +02:00
Lenin Rivas
2fbda7b4f4 NEW line input multicurrency price with tax (#35064)
* Multicurrency input price with tax

* Multicurrency input price with tax

* Multicurrency input price with tax - line tittle

* Multicurrency input price with tax - line view

* PriceUTTCCurrency in lang

* Multicurrency input price with tax - line view

* Multicurrency input price with tax - line edit

* Update objectline_edit.tpl.php

* Update objectline_view.tpl.php

* Update objectline_edit.tpl.php

* Update objectline_title.tpl.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:37:33 +02:00
Frédéric FRANCE
8e0b1eb606 fix object reference (#34928)
* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* merge

* fix doc

* fix doc

* fix doc

* fix doc

* fix doc

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-08-17 16:32:09 +02:00
ldestailleur
a27ff8b053 Debug v22 2025-07-25 15:41:57 +02:00
atm-jonathan
0595e2556d NEW_SUBMIT_FOR_ALL_MARK_RESPAWN (#32101)
* reprise ancienne PR

* add variable

* correction foreach

* retour precommit

* delete Blank line

* mass brand tx propal

* clean

* clean

* condition foreach

* clean code

* Fix ci

---------

Co-authored-by: x <x@x.x>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-27 01:03:05 +01:00
kkhelifa-opendsi
73e54ae77e FIX: rename and add class for column total_ttc in line template (view and title) (#33590) 2025-03-24 16:39:13 +01:00
ldestailleur
5d84a5fc13 Trans 2025-02-21 15:42:32 +01:00
atm-corentin
3bd2aa1921 FIX tpl object line because the was twice marginclass2 on col margin rates but also on mark rates (#31774)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 13:48:12 +01:00
Frédéric FRANCE
92ef950e6d fix phpstan (#31761)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* hide new error with phpstan 1.12.9
2024-11-10 23:47:14 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Alexandre SPANGARO
96afcaa476 Better comments (#30200)
* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* CI Missing language key

* Update eventorganization.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00
Laurent Destailleur
f27dc99bf6 Fix test 2024-06-29 20:00:43 +02:00
Laurent Destailleur
32afd1515f Debug v20 2024-06-29 13:27:36 +02:00
Laurent Destailleur
f7c84c6621 Merge manually first step for situation invoice from #29897 2024-06-18 20:21:56 +02:00
Sylvain Legrand
ace675d6bd NEW Add option to change all service dates at once (#29348)
* New option to change all service dates at once

* Update objectline_title.tpl.php

* Update objectline_title.tpl.php

* Update objectline_title.tpl.php
2024-05-25 13:12:35 +02:00
Laurent Destailleur
de58435ef1 FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00
MDW
8655d5a86b QUAL Use phan to help detect new issues (#27706)
* Qual: Add phan flow

- Add phan configuration (config, baseline, stubs);
- Add github action;
- Update apstats.php.

* Add directives to ignore false phan notices

* Qual: Add typing hints for extrafields TPL files

# Qual: Add typing hints for extrafields TPL files

Add typing hints for phan on view files

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-02-21 18:14:29 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
1f38e54e78 Clean code 2023-10-15 15:32:35 +02:00
Dev2a
fcd4c4e429 Fix: Change access to $conf->global to function getDolGlobal (automatique) 2023-10-08 23:19:49 +02:00
Laurent Destailleur
5184f7c168 css 2023-04-10 19:13:41 +02:00
Laurent Destailleur
2660948778 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-03-12 22:08:50 +01:00
Laurent Destailleur
81d2618b59 Add option to avoid use of input price inc tax (works only for 1st tax) 2023-03-11 19:38:39 +01:00
Laurent Destailleur
25d09d7516 Tab events for proposals 2023-03-06 17:42:06 +01:00
mgabriel
b8cd507287 As suggested by Dolibarr, removed PROPALE_MODIFY_MARGIN_RATES as not needed. 2023-02-06 10:06:23 +01:00
mgabriel
cd4064c034 Dolibarr was using td here but is now using th so th was substituted for td. 2023-02-02 10:07:52 +01:00
stickler-ci
35ce7352e8 Fixing style errors. 2023-02-02 08:09:57 +00:00
mgabriel
895957e89d Modify margin rates in offers like VAT rates. 2023-02-02 08:41:08 +01:00
Laurent Destailleur
09a2028522 Fix picto edit must not be visilbe in edit mode 2023-01-10 21:51:43 +01:00
Laurent Destailleur
f52f18fb95 Fix picto edit must not be visilbe in edit mode 2023-01-10 21:27:56 +01:00
Alexandre SPANGARO
6dc17dc5a4 Move title column on thead from td to th 2022-10-20 22:10:19 +02:00
Alexandre SPANGARO
92205f42a4 Use isModEnabled 2022-09-25 22:47:12 +02:00
Laurent Destailleur
9a2ef34af5 Merge pull request #22049 from aspangaro/17p4
NEW Manage VAT on all lines on purchases cycle
2022-09-07 14:07:31 +02:00
Philippe GRAND
79fc182201 Update code 2022-09-03 11:24:17 +02:00
Alexandre SPANGARO
38352d0c28 NEW Manage VAT on all lines on purchases cycle 2022-09-02 16:22:54 +02:00
Philippe GRAND
151ed11388 update code 2022-08-30 11:44:50 +02:00
Laurent Destailleur
a9d8d19125 css 2022-08-25 12:33:17 +02:00
Laurent Destailleur
f1e429d333 CSS 2022-05-04 01:29:19 +02:00
lmarcouiller
1ccf209c47 Close #20653 : edit discount pourcentage 2022-04-15 14:31:44 +02:00
Laurent Destailleur
02e2f9815d NEW Add option INVOICEREC_SET_AUTOFILL_DATE_START/END 2022-03-22 11:47:25 +01:00
Alexandre SPANGARO
6734a3575e Core 2022-02-14 04:52:39 +01:00
Adrien Raze
ee52cac3ba NEW : Template supplier invoices 2022-02-07 14:34:27 +01:00
Francis Appels
051bb3f3ef Fix some core php8 warnings.
Fixing php 8 warnings seems also to solve some situations like a paiment condition removed from dictionary can not be selected.
2021-06-29 16:37:07 +02:00
Laurent Destailleur
886cbc61c8 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/commande/card.php
	htdocs/core/boxes/box_factures_fourn.php
	htdocs/core/boxes/box_factures_fourn_imp.php
	htdocs/core/boxes/box_ficheinter.php
	htdocs/core/boxes/box_members.php
	htdocs/core/boxes/box_propales.php
	htdocs/core/class/commonobject.class.php
	htdocs/core/class/html.formmail.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/class/fournisseur.facture.class.php
2021-02-28 13:37:45 +01:00
Laurent Destailleur
1149de1aca FIX #16485 2021-02-28 13:15:24 +01:00
Frédéric FRANCE
554e449e40 code syntax core directory 2021-02-23 22:03:23 +01:00