Files
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
..
2024-11-12 13:46:13 +01:00
2024-11-12 12:57:08 +01:00
2024-11-12 11:51:14 +01:00
2024-11-10 11:16:23 +01:00
2024-11-12 04:00:37 +01:00
2024-11-12 14:42:07 +01:00
2024-09-13 14:49:28 +02:00
2024-11-11 14:33:53 +01:00
2024-11-12 00:33:28 +01:00
2024-11-10 23:47:14 +01:00
2024-11-11 14:33:53 +01:00
2024-11-10 11:16:23 +01:00
2024-11-12 03:17:55 +01:00
2024-11-12 18:55:56 +01:00
2024-11-10 23:47:14 +01:00
2024-11-12 17:32:54 +01:00
2024-11-09 16:57:23 +01:00
2024-11-12 17:05:15 +01:00
2024-11-10 17:55:36 +01:00
Doc
2024-11-11 14:45:30 +01:00
2024-11-10 23:47:14 +01:00
2024-11-10 11:16:23 +01:00
2024-11-10 11:16:23 +01:00
2024-11-12 12:57:08 +01:00
2024-11-10 11:16:23 +01:00
2024-11-10 23:47:14 +01:00
2024-11-10 11:16:23 +01:00
2024-11-11 14:33:53 +01:00
2024-11-12 02:24:25 +01:00
css
2024-11-10 11:55:18 +01:00
2024-11-10 11:16:23 +01:00
2024-11-10 23:47:14 +01:00
2024-11-10 11:16:23 +01:00
2024-11-10 23:47:14 +01:00
2024-10-07 15:25:19 +02:00
2024-11-09 14:28:26 +01:00