Commit Graph

88 Commits

Author SHA1 Message Date
MDW
f352a68150
Qual: Fix phan notices (public-1) 2025-02-12 23:40:57 +01:00
Laurent Destailleur (aka Eldy)
57a3daa358 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-06 15:03:44 +01:00
Laurent Destailleur (aka Eldy)
c5a4bcf943 Debug v21 2025-02-06 10:48:01 +01:00
MDW
bea27b0be4
Qual: Fix phan notices 2025-02-02 01:26:41 +01:00
Laurent Destailleur (aka Eldy)
6198d18544 Fix url payment ko 2025-01-23 19:42:50 +01:00
Laurent Destailleur (aka Eldy)
d81a25ea11 Fix url payment ko 2025-01-23 19:39:19 +01:00
Laurent Destailleur (aka Eldy)
33ce03e128 Fix the redirect of payment 2025-01-23 19:36:18 +01:00
Laurent Destailleur (aka Eldy)
42c870ca62 FIX The email for admin must be in language of admin not of visitor 2025-01-20 15:41:20 +01:00
Frédéric FRANCE
8c6b3291f5
Update paymentko.php 2025-01-09 18:10:18 +01:00
Laurent Destailleur (aka Eldy)
e774bc4065 Debug v21 2025-01-08 21:32:09 +01:00
Laurent Destailleur (aka Eldy)
f186608695 Fix to allow use of payment in frame 2025-01-08 18:47:31 +01:00
Laurent Destailleur (aka Eldy)
6391f36258 Init var 2024-12-27 15:27:11 +01:00
Frédéric FRANCE
0f30986890
fix phpstan 2024-12-11 20:07:27 +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
MDW
d71cd352d5
Qual: Fix PhanUndeclaredMethod (#30661)
* Qual: Fix PhanUndeclaredMethod cases

* Fix PhanUndeclaredMethod cases

* Qual: Remove PhanUndeclaredMethod exceptions

* Fix spelling "disacard"

* Improve phpdoc, add abstract method to trait for typing

* Improve phpdoc typing for PHanUndeclaredMethod

* Suppress phan notices for guarded AliasNbPages calls

* Fix return value for printFile stub

* Fix getting message from Exception

* Define dummy getAllByProducts(), typing for it.

* Fix typo in comment

* Qual: Better typing for apiService (phan)

* Test that the Generic OAuth Service is provided

* Qual: Fix getSqlArrayForStats typing

* Force modTcpdfbarcode

* Correct typing hint

* Set ModelePDFAsset typehint

* Fix ModelePDFUserGroup typing hint

* Fix phan typing hints htdocs/core/modules/printing/printgcp.modules.php

* Fix write_file in ModelePDFStock*

* Update printsheet.php

* Adjust typing hint for barcode generator

* Update printsheet.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-19 02:05:27 +02:00
Frédéric FRANCE
2707475a12
fix phpstan (#30319)
* fix phpstan

* fix phpstan expects int, false given ...

* fix phpstan expects int, true given ...
2024-07-08 21:45:35 +02:00
Laurent Destailleur
9af159cdd8 Replace "! empty($conf->global->$" with "getDolGlobalString($" 2024-07-03 20:05:29 +02:00
Lucas Marcouiller
b4130454e0
Fix paymentko to make custom module payment method possible (#30056)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-17 16:23:36 +02:00
Mohamed DAOUD
8f1823827a
Remove noheaderfooter and isembed parameters from the newpayment page (#29554)
* remove noheaderfooter and isembed

* Update paymentok.php

* Update paymentko.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-01 17:27:56 +02:00
Laurent Destailleur
272275147c Typo in var name 2024-04-28 17:49:37 +02:00
Mohamed DAOUD
330227482d
New: modify payment page display and returns when it is embedded into a website (#29442)
* remove header and footer

* Updates to integrate the payment system into website

* Update stripe.lang

* Update onlinepaymentlinks.tpl.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-28 17:47:49 +02:00
Laurent Destailleur
ad79acf63c QUAL removed duplicate language file 2024-04-04 11:00:35 +02:00
Laurent Destailleur
e73f79ca96 Qual: Remove unnecessary use of $_GET 2024-03-28 20:19:28 +01:00
MDW
6f0340e8ce
Force typing (phan) for typing checks 2024-03-27 10:18:09 +01:00
Laurent Destailleur
bd76a084a4 Better structure of payment pages to allow integration of other usages 2024-03-20 17:45:49 +01:00
MDW
0395718521
Qual: Spelling htdocs/p[b-z]* (#27436)
# Qual: Fix spelling htdocs/p[b-z]*

Highlight:

Probably fixes a bug:
htdocs/product/stock/replenish.php: empty(->variants->eabled) corrected to ...enabled.
'eabled' could not be found elsewhere in the codebase.
2024-01-12 17:55:52 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
e8dc651877 Fix php8.2 warnings 2023-11-27 11:56:32 +01:00
Laurent Destailleur
b8c8e903c2 Fix php8.2 warnings 2023-10-15 18:39:13 +02:00
Laurent Destailleur
f59987af77 Fix typo 2023-05-11 02:04:25 +02:00
Laurent Destailleur
e2ec34e1e5 Clean code 2023-05-01 14:33:08 +02:00
Laurent Destailleur
254e785c47 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-04-01 15:06:15 +02:00
Laurent Destailleur
148645d220 Fix error 500 on payment 2023-03-31 12:10:48 +02:00
Laurent Destailleur
5924e626b0 The method htmlPrintOnlinePaymentFooter() used for public footer pages
has been renamed into htmlPrintOnlineFooter() and moved into
company.lib.php
2023-03-30 10:18:43 +02:00
Laurent Destailleur
4f350d878c Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-01-11 21:07:43 +01:00
Laurent Destailleur
356accd6ee Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2023-01-11 21:05:09 +01:00
hystepik
4e0ea65c43 Fix #23466 : fix public payement pages ko and ok 2023-01-09 15:37:10 +01:00
Laurent Destailleur
2101611bd5 Fix title of emails sents on payment 2022-10-18 23:33:30 +02:00
Laurent Destailleur
0db1863429 Fix title of emails sents on payment 2022-10-18 23:31:32 +02:00
Alexandre SPANGARO
a7a39cba97 Use isModEnabled 2022-09-25 21:59:46 +02:00
Laurent Destailleur
7a277d9560
Merge branch 'develop' into loaddolibarrenv 2022-09-09 17:02:05 +02:00
Laurent Destailleur
b23ab2cb71 FIX #yogosha12266 2022-09-09 13:58:54 +02:00
Frédéric France
8d33953142 add comment 2022-09-07 20:08:59 +02:00
Alexandre SPANGARO
f6a8082f16 HTML5 - <font> tag is deprecated, replace by <span> 2021-10-05 10:01:37 +02:00
Laurent Destailleur
edb4cf4130 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	README.md
	htdocs/filefunc.inc.php
2021-06-19 20:05:25 +02:00
Laurent Destailleur
5d6b26ddb7 Fix css 2021-06-19 19:45:13 +02:00
Frédéric FRANCE
df6650241d
code syntax public dir 2021-02-26 18:58:34 +01:00
Laurent Destailleur
d1af419d02 More log to debug payment errors 2021-01-21 11:50:15 +01:00
Laurent Destailleur
b3e03c6991 Fix css for public pages 2020-11-14 18:11:46 +01:00
Laurent Destailleur
0962c79c3e Update link poweredby 2020-11-09 14:45:40 +01:00