Laurent Destailleur
3a4cf15857
Debug v23 no propagation of warnings
2025-12-21 13:32:32 +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
Günter Lukas
eb2d345330
Fix #36282 : Update shipment reference handling in commondocgenerator ( #36283 )
...
* Update shipment reference handling in commondocgenerator
* Refactor order reference assignment for clarity
* Refactor origin object handling in shipment array
* Refactor origin object handling in shipment array
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-11-19 14:49:16 +01:00
Frédéric FRANCE
d07e8c03a0
avoid changing object after call ( #36159 )
...
* avoid changing object after call
* avoid changing object after call
* avoid changing object after call
* avoid changing object after call
* avoid changing object after call
* avoid changing object after call
* avoid changing object after call
* clean code
* clean code
* clean code
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* clean code
* clean
* clean
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-11-12 09:44:39 +01:00
Frédéric FRANCE
e6e65d4989
Update commondocgenerator.class.php ( #36227 )
2025-11-12 09:36:40 +01:00
Frédéric FRANCE
9491d880cf
clean code ( #36170 )
...
* clean code
* Update bom.class.php
* Update commondocgenerator.class.php
* fix
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-11-09 01:19:31 +01:00
Alexandre SPANGARO
af4630c456
Typo ( #36123 )
2025-11-06 17:11:02 +01:00
Charlène Benke
9a9eec75fc
add hook on printColDescContent ( #35741 )
...
* add hook on printColDescContent
Allow to add more informations on pdf description with hook management.
sample hook use :
public function printColDescContent($parameters, &$object, &$action)
{
$pdf = $parameters['pdf'];
if ($object->name == 'sponge mydiscount') {
//var_dump($parameters, $object, $action); exit;
$pdf->MultiCell(0, 3, "xxxxx", 0, 'L', 0, 1, '', '', true);
return 1;
}
}
* Add hook support to printColDescContent method
2025-10-26 14:43:40 +01:00
Frédéric FRANCE
8fd4d0332d
clean code ( #35423 )
...
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
2025-09-21 23:22:33 +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
a1661e35e4
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-08-21 11:12:35 +02:00
ldestailleur
dd0679db44
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-08-21 11:09:10 +02:00
ldestailleur
7878d81e33
FIX #34986
2025-08-21 11:02:48 +02:00
kevin147147
9c8e7e5ab6
Update commondocgenerator.class.php ( #35019 )
2025-08-20 19:05:07 +02:00
ldestailleur
2427553211
The property $sumpayed (duplicate of $totalpaid), $sumdeposit
...
(duplicate of $totaldeposits) and $sumcreditnote (duplicate of
$totalcreditnotes) has been removed (there are replaced with the
property that was a duplication of (same for $sumpayed_multicurrency,
$sumdeposit_multicurrency, $sumcreditnote_multicurrency).
2025-08-12 04:08:38 +02:00
Frédéric FRANCE
bf2d6f1f1e
fix CI ( #34553 )
...
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2025-06-19 10:10:42 +02:00
Laurent Destailleur
b1812b1080
Debug v22
2025-06-10 02:24:08 +02:00
ldestailleur
a98c6b309f
Ignore phan false positive
2025-03-24 15:42:07 +01:00
ldestailleur
1338ea41e4
Fix phpstan 8.2
2025-03-24 15:16:44 +01:00
MDW
c0f533865f
Fix CI: Do not require some fields in the 'title' definition of $cols ( #33399 )
...
* Qual: Fix PhanMismatchType
* Finalize rename of $attrV into $value
* Correct getGlobalString into getGlobalInt
* Do not require some fields in the 'title' definition of $cols
2025-03-11 01:42:49 +01:00
MDW
2130f1395a
Qual: Fix phan (product-part-1) implies fixing unit types
2025-02-09 20:14:20 +01:00
Frédéric FRANCE
473592055f
Merge branch 'develop' into fix/2025-02-07-phpstan
2025-02-07 13:28:06 +01:00
Laurent Destailleur (aka Eldy)
9f9eeaa2c4
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-02-07 10:46:47 +01:00
Laurent Destailleur (aka Eldy)
712a2b544a
Fix false positive
2025-02-07 10:46:13 +01:00
Frédéric FRANCE
e0a8caec45
fix phpstan
2025-02-07 10:45:03 +01:00
Laurent Destailleur (aka Eldy)
4d97945cf9
FIX get_substitutionarray_each_var_object was returning empty array
2025-02-06 12:05:56 +01:00
Laurent Destailleur (aka Eldy)
52a4cd5975
FIX get_substitutionarray_each_var_object was returning empty array
2025-02-06 12:01:41 +01:00
Laurent Destailleur (aka Eldy)
1195777042
FIX line_date_xxx into ODF was not loaded
2025-02-06 11:41:08 +01:00
Laurent Destailleur (aka Eldy)
7f78e009c6
FIX line_date_xxx into ODF was not loaded
2025-02-06 11:40:27 +01:00
tnegre
81298d6787
fix Phpstan
2025-01-06 17:09:45 +01:00
tnegre
86913a7681
Add 4 substitutions for ODTs. Reuse logic from PDF generator, but reformat to make it clearer.
2025-01-06 17:02:43 +01:00
Laurent Destailleur
377233d998
Merge pull request #32394 from Easya-Solutions/develop_new_odt_invoice_type
...
NEW : ODT {object_type_label} for Invoices and Supplier Invoices
2025-01-05 18:02:18 +01:00
Laurent Destailleur (aka Eldy)
4253fa54ec
Standardize name of field.
2025-01-05 14:05:50 +01:00
Brice Werry
dee284bb62
FIX: Repair missing tags from previous PR - shipment_lines
2025-01-03 13:25:20 +01:00
tnegre
e0e5594669
add invoice type label
2024-12-17 09:25:37 +01:00
Laurent Destailleur
f86b847a65
Merge branch 'develop' into fix_v20_pdf_space_lost_with_images_eratosthene2
2024-12-08 22:58:03 +01:00
Mohamed DAOUD
62ba788c8f
fix stars extrafields on pdf ( #31913 )
2024-11-15 23:07:37 +01:00
Laurent Destailleur
8443ec649d
Fix phan
2024-11-13 21:28:25 +01:00
warnerbryce
8657bba32a
NEW : Adds some improvement for ODT Contracts ( #31715 )
...
* NEW : ODTSubsitution for date_start_real / Contracts
* ODT Contracts - Add deliveries langs
2024-11-08 14:47:45 +01:00
Frédéric FRANCE
0f563edb5f
replace fetch_projet() and fetch_project() by fetchProject() ( #29821 )
...
* fix cti
* fix cti
* deprecate fetch_projet fetch_project to fetchProject
* deprecate fetch_projet fetch_project to fetchProject
* deprecate fetch_projet fetch_project to fetchProject
* odfHandler->setSegment only throw OdfExceptionSegmentNotFound
* odfHandler->setSegment only throw OdfExceptionSegmentNotFound
* fix deprecated
* fix
* fix sql
2024-10-26 22:43:44 +02:00
John BOTELLA
8210a0eb21
Merge branch 'develop' into fix_v20_pdf_space_lost_with_images_eratosthene2
2024-10-25 10:29:26 +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
John BOTELLA
76491666b3
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into fix_v20_pdf_space_lost_with_images
2024-10-24 11:36:56 +02:00
MDW
d7b2f95baf
Qual: Fix phan notices ( #31372 )
...
* fix llx_webhook_target-webhook.sql
* Fix commande/list & facture-rec.class
* Fix bonprelevement
* Qual: Fix prelevement/create notices
* Qual: fix quadridetail notices & update baseline
* Qual: Fix CommonDocGenerator notices
* Qual: Fix commoninvoice and commonobjectline notices (phan/phpstan)
---------
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com >
2024-10-13 16:45:42 +02:00
John BOTELLA
7c0e47ccda
fix phan
2024-10-09 10:05:53 +02:00
John BOTELLA
35ffdda5e4
fix phan
2024-10-09 09:57:37 +02:00
John BOTELLA
ebc518271b
fix phan
2024-10-09 09:29:58 +02:00
John BOTELLA
0dfda86cc0
fix phan
2024-10-09 09:28:06 +02:00
John BOTELLA
b79fa55a99
fix phan
2024-10-09 09:22:26 +02:00
John BOTELLA
498e1473aa
Rebuild Cyan PDF MODEL
2024-10-08 22:44:36 +02:00