forked from Wavyzz/dolibarr
Update functions2.lib.php
This commit is contained in:
committed by
GitHub
parent
1487158082
commit
cbe396b97c
@@ -2320,9 +2320,9 @@ function getModuleDirForApiClass($module)
|
|||||||
/*
|
/*
|
||||||
* Return 2 hexa code randomly
|
* Return 2 hexa code randomly
|
||||||
*
|
*
|
||||||
* @param $min int Between 0 and 255
|
* @param int $min Between 0 and 255
|
||||||
* @param $max int Between 0 and 255
|
* @param int $max Between 0 and 255
|
||||||
* @return String
|
* @return String Color string
|
||||||
*/
|
*/
|
||||||
function random_color_part($min=0,$max=255)
|
function random_color_part($min=0,$max=255)
|
||||||
{
|
{
|
||||||
@@ -2332,9 +2332,9 @@ function random_color_part($min=0,$max=255)
|
|||||||
/*
|
/*
|
||||||
* Return hexadecimal color randomly
|
* Return hexadecimal color randomly
|
||||||
*
|
*
|
||||||
* @param $min int Between 0 and 255
|
* @param int $min Between 0 and 255
|
||||||
* @param $max int Between 0 and 255
|
* @param int $max Between 0 and 255
|
||||||
* @return String
|
* @return String Color string
|
||||||
*/
|
*/
|
||||||
function random_color($min=0, $max=255)
|
function random_color($min=0, $max=255)
|
||||||
{
|
{
|
||||||
@@ -2346,9 +2346,8 @@ function random_color($min=0, $max=255)
|
|||||||
* Function used into accountancy FEC export
|
* Function used into accountancy FEC export
|
||||||
*
|
*
|
||||||
* @param float $amount Amount to format
|
* @param float $amount Amount to format
|
||||||
* @return string Chain with formatted upright
|
* @return string Chain with formatted upright
|
||||||
*
|
* @see price2num() Format a numeric into a price for FEC files
|
||||||
* @see price2num() Revert function of price2fec
|
|
||||||
*/
|
*/
|
||||||
function price2fec($amount)
|
function price2fec($amount)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user