Commit Graph

1269 Commits

Author SHA1 Message Date
Alexandre SPANGARO
236d45547b FIX Invoice - Problem with deposit line on Type of operation (#36378) 2025-11-24 15:08:01 +01:00
Laurent Destailleur
c8e12d9cb9 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-23 21:29:44 +01:00
iLLixM
852f9eeb77 FIX #36368 - avoid overlaying of EPC-QR Code and payment information (#36369)
* FIX #36368 - avoid overlaying of EPC-QR Code and payment information

The position of an EPC-QR code on an invoice is adjusted based on information about payments already made.
The EPC-QR code is only displayed on invoices if a balance remains due.

* FIX #36368 - avoid overlaying of EPC-QR Code and payment information

place EPC-QR Code on left-hand side of invoice PDF

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-23 03:44:55 +01:00
Laurent Destailleur
0bfd72a995 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-20 12:00:49 +01:00
tcesar
b485556c3a FIX Concat of PDF to invoices (#36329)
* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

---------

Co-authored-by: tcesar <tcesar@albalogic.fr>
2025-11-20 11:00:04 +01:00
tcesar
7b08aab461 FIX Concat of PDF to invoices (#36329)
* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

* Fix Concat of PDF to invoices

---------

Co-authored-by: tcesar <tcesar@albalogic.fr>
2025-11-20 10:56:08 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Frédéric FRANCE
8d459e469d clean code (#36260)
* clean code

* clean code

* clean code

* clean code

* fix $val might not be defined

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* fix phpstan errors reported

* ignore phpstan reported for later

* clean code

* clean code

* clean code

* clean

* test
2025-11-18 11:41:28 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
Alexandre SPANGARO
5e69bb3b3d FIX Invoice Situation - Octopus - Show remaintopay at bottom (#36121) 2025-11-06 17:22:49 +01:00
Alexandre SPANGARO
025dda60dd FIX Invoice Situation - Octopus - Column offset for amounts greater than 5 digits (#36124) 2025-11-06 17:22:31 +01:00
Alexandre SPANGARO
5c54b86786 FIX Invoice Situation - Octopus - Shipping block overlap issue (#36122) 2025-11-06 17:11:32 +01:00
Alexandre SPANGARO
af4630c456 Typo (#36123) 2025-11-06 17:11:02 +01:00
Frédéric FRANCE
e00559b242 fix CI after file rename (#36021)
* fix CI after file rename

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-01 03:12:58 +01:00
Laurent Destailleur
cf18a71a75 WIP LNE 2025-10-28 15:12:45 +01:00
Laurent Destailleur
8e005b19c0 WIP LNE 2025-10-28 15:07:49 +01:00
MDW
66683105f1 Qual: Fix phan notices (#35827)
# Qual: Fix phan notices

Some type hints updates + correction to get week from date (action/pertype.php)
+ check that value is not null (pdf_* classes).
2025-10-18 19:10:43 +02:00
Charlène Benke
e9d1e719e6 warning error if realpath is not empty before use (#35740) 2025-10-14 22:13:43 +02:00
Wilson
e3ad771149 NEW Allow omission of ODT template name when generating ODT and PDF (#35701)
Presently, Invoice PDF/ODT is generated with template name just before file extension.
This creates an issue where Mass Actions is also unable to perform Send By Email, or PDF Merge.
This pull request is inspired by this forum post:

https://www.dolibarr.org/forum/t/how-to-remove-omit-odt-templete-name-from-auto-document-generated/22735

Co-authored-by: Wilson <wilson@Wilsons-MacBook-Air.local>
2025-10-11 14:03:54 +02:00
ldestailleur
8dd55d5a33 FIX Concat of PDF to invoices 2025-10-08 12:28:35 +02:00
ldestailleur
e45fe1f988 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-27 15:57:27 +02:00
ldestailleur
8b58b215b4 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-09-27 15:48:40 +02:00
ldestailleur
fe28e36638 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-09-27 15:42:44 +02:00
Frédéric FRANCE
0afc7eed80 clean code (#35515)
* clean code

* add doc

* add doc
2025-09-27 12:28:31 +02:00
Joachim Kueter
16c9d4005f Fix #35208 - Multicurrency fix for discount in invoice (Sponge) (#35506)
* Multicurrency fix for discount

* removed empty line
2025-09-27 12:10:15 +02:00
ldestailleur
4bc5892544 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-24 17:00:53 +02:00
Dylan Bourdere
59ec1a2811 fix ui on multi line subtotal & fix text contrast (#35449)
* fix ui on multi line subtotal & fix text contrast

* extract subtotal pdf logic

* phpcs

* lint

* lint

* refactor

* phpcs

* phpcs

* phpcs

* Update pdf.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-23 23:24:37 +02:00
Frédéric FRANCE
5c2344cca8 clean code (#35396)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-21 12:11:36 +02:00
Frédéric FRANCE
d1572fc3ea fix CI (#35409)
* fix CI

* fix
2025-09-20 15:57:39 +02:00
ldestailleur
5ac469634e Clean code for PDF invoices 2025-09-20 02:48:27 +02:00
Charlène Benke
ad4f4fb619 Refactor VAT array handling in PDF generation (#35395)
$this->tva_array[$vatrate.($vatcode ? ' ('.$vatcode.')' : '')]['amount'] is present on 2 part of the if
2025-09-20 00:01:19 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +02:00
ldestailleur
4e83087e28 Fix complete #35368 2025-09-17 15:04:01 +02:00
Frédéric FRANCE
078da229c8 clean code (#35352)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* Clean code

* Clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-17 14:11:32 +02:00
ldestailleur
af74f2c057 Lang file paybox is too small for deprecated moduel. Moved inside
stripe.
2025-09-11 11:20:13 +02:00
Frédéric FRANCE
0e1478206a clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
Frédéric FRANCE
7d04067b4e fix CI (Travis) (#35099)
* fix test

* fix test

* fix test

* fix test

* fix test

* fix

* fix

* fix
2025-08-28 02:15:41 +02:00
ldestailleur
5e7d50a312 Add option PDF_PURCHASE_INVOICE_HIDE_PRICE_EXCL_TAX and
PDF_PURCHASE_INVOICE_SHOW_PRICE_INCL_TAX
2025-08-17 01:56:53 +02:00
ldestailleur
d74fa57b6c NEW Add option PDF_PURCHASE_INVOICE_HIDE_VAT 2025-08-17 01:54:28 +02:00
sonikf
30b4796385 NEW: PDF Show customer balance on invoice date (#34800)
* NEW: PDF Invoice show customer balance

* NEW: PDF Invoice show customer balance

* NEW: PDF Invoice show customer balance

* NEW: PDF Invoice show customer balance

* NEW: PDF Invoice show customer balance

* NEW: PDF Invoice show customer balance

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix pre-commit

* fix PhanPluginDuplicateExpressionAssignmentOperation

* fix PhanPluginDuplicateExpressionAssignmentOperation

* fix PhanPluginDuplicateExpressionAssignmentOperation

* fix Travis CI

* fix Travis CI

* fix Travis CI

* fix Travis CI

* fix Travis CI

* fix Travis CI

* remove global $db

* remove global $db

* remove global $db

* fix $multicurrency_tx (array<float>|float) in isset() is not nullable.

* fix $multicurrency_tx (array<float>|float) in isset() is not nullable.
2025-08-04 13:11:57 +02:00
ldestailleur
b07614414c Fix CI 2025-07-28 18:51:29 +02:00
ldestailleur
6d0277f2b8 Fix CI 2025-07-28 18:38:14 +02:00
ldestailleur
7c6a307a01 Fix CI 2025-07-28 17:18:38 +02:00
ldestailleur
1c37761545 Debug v22 2025-07-26 13:13:31 +02:00
ldestailleur
935f947c18 Debug v22 2025-07-26 12:43:55 +02:00
ldestailleur
a7e5510245 Debug v22 2025-07-26 12:17:01 +02:00
ldestailleur
e8de1b62d1 Debug v22 2025-07-26 11:38:27 +02:00
ldestailleur
abbb25d6fe Debug v22 - Fix amount before discount in multicurrency mode 2025-07-25 16:47:18 +02:00
ldestailleur
a27ff8b053 Debug v22 2025-07-25 15:41:57 +02:00
ldestailleur
7ed2cddd4b Fix CI 2025-06-20 16:16:04 +02:00