dolibarr/htdocs
Quentin-Seekness daafa150a0
Update export.class.php (#31783)
Allow usage of a method param that is not part of the $obj from the sql request. 

The issue I encontered is the usage of order's LibStatut method that required a $mode param that can't be fetched from the sql request obj.

This would be the code for the export declaration : 
		$this->export_special_array[$r] = array(
			'orders.fk_statut'=> [
				'rule' => 'compute',
				'class' => 'Commande',
				'classfile' => '/commande/class/commande.class.php',
				'method' => 'LibStatut',
				'method_params' => ['orders_fk_statut', 'orders_facture', '1'],
			],
		);

We can see that the first two params will come from the $obj, but the third one will be used for it's value (in this case '1').

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 18:55:56 +01:00
..
accountancy Fix phpstan missing parenthesis 2024-11-12 14:42:07 +01:00
adherents set payment method information on new membership subscriptions (#31750) 2024-11-12 03:37:48 +01:00
admin Update security.php (#31777) 2024-11-12 13:46:13 +01:00
ai add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
api Qual: Fix FunctionArray phan notices (#31754) 2024-11-11 14:48:18 +01:00
asset Qual: Fix phan notices (in order of appearance) (#31768) 2024-11-12 00:35:14 +01:00
asterisk add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
barcode Clean code 2024-11-12 12:57:08 +01:00
blockedlog Clean code 2024-11-12 11:51:14 +01:00
bom Qual: Fix phan notices (in order of appearance) (#31768) 2024-11-12 00:35:14 +01:00
bookcal Qual: Fix phan notices (in order of appearance) (#31768) 2024-11-12 00:35:14 +01:00
bookmarks fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
categories Qual: Fix phan notices (in order of appearance) (#31768) 2024-11-12 00:35:14 +01:00
collab add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
comm Qual: Fix phan notices (in order of appearance) (#31768) 2024-11-12 00:35:14 +01:00
commande add custom tpl to note (#31736) 2024-11-12 04:00:37 +01:00
compta Fix phpstan missing parenthesis 2024-11-12 14:42:07 +01:00
conf
contact fix phpstan (#31763) 2024-11-11 14:33:53 +01:00
contrat fix sql (#31769) 2024-11-12 00:33:28 +01:00
core FIX tpl object line because the was twice marginclass2 on col margin rates but also on mark rates (#31774) 2024-11-12 13:48:12 +01:00
cron fix phpstan (#31761) 2024-11-10 23:47:14 +01:00
custom
datapolicy Update /datapolicy/admin/setup.php (#25709) 2024-11-12 02:54:18 +01:00
dav add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
debugbar Qual: Fix phpdoc for *ArrayMethod* args/return values (non api_) (#31719) 2024-11-08 14:43:12 +01:00
delivery add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
don fix phpstan (#31763) 2024-11-11 14:33:53 +01:00
ecm fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
emailcollector Qual: Fix phan/phpstan notices in class files (part 5) (#31617) 2024-11-06 20:15:15 +01:00
eventorganization fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
expedition Clean code 2024-11-12 03:17:55 +01:00
expensereport fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
exports Update export.class.php (#31783) 2024-11-12 18:55:56 +01:00
externalsite fix phpstan (#31761) 2024-11-10 23:47:14 +01:00
fichinter display fichinter rec link (#31767) 2024-11-11 18:26:57 +01:00
fourn Fix phan 2024-11-12 17:32:54 +01:00
ftp add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
holiday Qual: Fix FunctionArray phan notices (#31754) 2024-11-11 14:48:18 +01:00
hrm Qual: Fix FunctionArray phan notices (#31754) 2024-11-11 14:48:18 +01:00
imports Qual: Fix FunctionArray phan notices (#31754) 2024-11-11 14:48:18 +01:00
includes Debug v21 2024-11-09 16:57:23 +01:00
install fix column is_also_delivery_note belongs to llx_facture table (#31779) 2024-11-12 13:46:45 +01:00
intracommreport The deprecated GET parameter "&sall=" has been removed, use now the 2024-11-07 12:26:42 +01:00
knowledgemanagement add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
langs Trans 2024-11-12 17:05:15 +01:00
loan fix phpstan in loan cards (#31758) 2024-11-10 17:55:36 +01:00
mailmanspip/class Qual: Fix phan/phpstan notices in class files (part 5) (#31617) 2024-11-06 20:15:15 +01:00
margin add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
modulebuilder Qual: Fix FunctionArray phan notices (#31754) 2024-11-11 14:48:18 +01:00
mrp Doc 2024-11-11 14:45:30 +01:00
multicurrency The deprecated GET parameter "&sall=" has been removed, use now the 2024-11-07 12:26:42 +01:00
opensurvey fix customreports.lib.php (#31771) 2024-11-12 03:38:38 +01:00
partnership Qual: Fix phan/phpstan notices in class files (part 5) (#31617) 2024-11-06 20:15:15 +01:00
paybox fix phpstan (#31761) 2024-11-10 23:47:14 +01:00
paypal fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
printing fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
product Clean code 2024-11-12 12:57:08 +01:00
projet Qual: Fix FunctionArray phan notices (#31754) 2024-11-11 14:48:18 +01:00
public fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
reception The deprecated GET parameter "&sall=" has been removed, use now the 2024-11-07 12:26:42 +01:00
recruitment Qual: Fix phan/phpstan notices in class files (part 6) (#31634) 2024-11-06 23:57:45 +01:00
resource Qual: Fix phan/phpstan notices in class files (part 6) (#31634) 2024-11-06 23:57:45 +01:00
salaries fix phpstan (#31761) 2024-11-10 23:47:14 +01:00
societe Develop new facture rec field societe rib management (#31698) 2024-11-11 17:53:35 +01:00
stripe fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
supplier_proposal fix phpstan (#31763) 2024-11-11 14:33:53 +01:00
takepos Close #24828 2024-11-12 02:24:25 +01:00
theme css 2024-11-10 11:55:18 +01:00
ticket fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
user Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-10 11:56:32 +01:00
variants fix phpstan (#31761) 2024-11-10 23:47:14 +01:00
webhook The deprecated GET parameter "&sall=" has been removed, use now the 2024-11-07 12:26:42 +01:00
webportal Qual: Fix phan/phpstan notices in class files (part 6) (#31634) 2024-11-06 23:57:45 +01:00
webservices Qual: Fix FunctionArray phan notices (#31754) 2024-11-11 14:48:18 +01:00
website fix phpstan and fix CI (#31739) 2024-11-10 11:16:23 +01:00
workstation Update workstation_list.php (#25707) 2024-11-12 02:43:46 +01:00
zapier fix phpstan (#31761) 2024-11-10 23:47:14 +01:00
.gitignore
document.php add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
favicon.ico
filefunc.inc.php Prepare 20.0.1 2024-10-07 15:25:19 +02:00
index.php add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00
main.inc.php Debug v21 2024-11-09 14:28:26 +01:00
master.inc.php
opcachepreload.php
robots.txt
security.txt
viewimage.php add baseline exclude for phpstan (#31632) 2024-11-04 23:53:20 +01:00