Fix missing param
This commit is contained in:
parent
eb2faed656
commit
8d65dff93d
@ -578,9 +578,10 @@ class Paiement extends CommonObject
|
|||||||
* @param string $emetteur_nom Name of transmitter
|
* @param string $emetteur_nom Name of transmitter
|
||||||
* @param string $emetteur_banque Name of bank
|
* @param string $emetteur_banque Name of bank
|
||||||
* @param int $notrigger No trigger
|
* @param int $notrigger No trigger
|
||||||
|
* @param string $accountancycode When we record a free bank entry, we must provide accounting account if accountancy module is on.
|
||||||
* @return int <0 if KO, bank_line_id if OK
|
* @return int <0 if KO, bank_line_id if OK
|
||||||
*/
|
*/
|
||||||
public function addPaymentToBank($user, $mode, $label, $accountid, $emetteur_nom, $emetteur_banque, $notrigger = 0)
|
public function addPaymentToBank($user, $mode, $label, $accountid, $emetteur_nom, $emetteur_banque, $notrigger = 0, $accountancycode = '')
|
||||||
{
|
{
|
||||||
global $conf, $langs, $user;
|
global $conf, $langs, $user;
|
||||||
|
|
||||||
@ -625,7 +626,8 @@ class Paiement extends CommonObject
|
|||||||
'',
|
'',
|
||||||
$user,
|
$user,
|
||||||
$emetteur_nom,
|
$emetteur_nom,
|
||||||
$emetteur_banque
|
$emetteur_banque,
|
||||||
|
$accountancycode
|
||||||
);
|
);
|
||||||
|
|
||||||
// Mise a jour fk_bank dans llx_paiement
|
// Mise a jour fk_bank dans llx_paiement
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user