-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix phpstan * fix phpstan * fix phpstan
- Loading branch information
1 parent
96ef01c
commit 895aa5e
Showing
6 changed files
with
33 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
* Copyright (C) 2015 Florian Henry <[email protected]> | ||
* Copyright (C) 2015 Raphaël Doursenaud <[email protected]> | ||
* Copyright (C) 2016 Pierre-Henry Favre <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -519,12 +520,12 @@ public static function getIdFromCode($dbs, $code) | |
/** | ||
* Get id and rate of currency from code | ||
* | ||
* @param DoliDB $dbs Object db | ||
* @param string $code Code value search | ||
* @param integer $date_document Date from document (propal, order, invoice, ...) | ||
* @param DoliDB $dbs Object db | ||
* @param string $code Code value search | ||
* @param integer|string $date_document Date from document (propal, order, invoice, ...) | ||
* | ||
* @return array [0] => id currency | ||
* [1] => rate | ||
* @return array [0] => id currency | ||
* [1] => rate | ||
*/ | ||
public static function getIdAndTxFromCode($dbs, $code, $date_document = '') | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters