dolibarr
x.y.z
|
( ) More...
Go to the source code of this file.
Functions | |
is_empty ($var, $allow_false=false, $allow_ws=false) | |
Check if a value is empty with some options. More... | |
accounting_prepare_head (AccountingAccount $object) | |
Prepare array with list of tabs. More... | |
clean_account ($account) | |
Return accounting account without zero on the right. More... | |
length_accountg ($account) | |
Return General accounting account with defined length (used for product and miscellaneous) More... | |
length_accounta ($accounta) | |
Return Auxiliary accounting account of thirdparties with defined length. More... | |
journalHead ($nom, $variante, $period, $periodlink, $description, $builddate, $exportlink='', $moreparam=array(), $calcmode='', $varlink='') | |
Show header of a page used to transfer/dispatch data in accounting. More... | |
getDefaultDatesForTransfer () | |
Return Default dates for transfer based on periodicity option in accountancy setup. More... | |
accounting_prepare_head | ( | AccountingAccount | $object | ) |
Prepare array with list of tabs.
AccountingAccount | $object | Accounting account |
Definition at line 52 of file accounting.lib.php.
clean_account | ( | $account | ) |
Return accounting account without zero on the right.
string | $account | Accounting account |
Definition at line 81 of file accounting.lib.php.
getDefaultDatesForTransfer | ( | ) |
Return Default dates for transfer based on periodicity option in accountancy setup.
Definition at line 273 of file accounting.lib.php.
is_empty | ( | $var, | |
$allow_false = false , |
|||
$allow_ws = false |
|||
) |
Check if a value is empty with some options.
mixed | $var | Value to test |
int | null | $allow_false | Setting this to true will make the function consider a boolean value of false as NOT empty. This parameter is false by default. |
int | null | $allow_ws | Setting this to true will make the function consider a string with nothing but white space as NOT empty. This parameter is false by default. |
Definition at line 38 of file accounting.lib.php.
journalHead | ( | $nom, | |
$variante, | |||
$period, | |||
$periodlink, | |||
$description, | |||
$builddate, | |||
$exportlink = '' , |
|||
$moreparam = array() , |
|||
$calcmode = '' , |
|||
$varlink = '' |
|||
) |
Show header of a page used to transfer/dispatch data in accounting.
string | $nom | Name of report |
string | $variante | Link for alternate report |
string | $period | Period of report |
string | $periodlink | Link to switch period |
string | $description | Description |
integer | $builddate | Date of generation |
string | $exportlink | Link for export or '' |
array | $moreparam | Array with list of params to add into form |
string | $calcmode | Calculation mode |
string | $varlink | Add a variable into the address of the page |
Definition at line 183 of file accounting.lib.php.
length_accounta | ( | $accounta | ) |
Return Auxiliary accounting account of thirdparties with defined length.
string | $accounta | Auxiliary accounting account |
Definition at line 133 of file accounting.lib.php.
length_accountg | ( | $account | ) |
Return General accounting account with defined length (used for product and miscellaneous)
string | $account | General accounting account |
Definition at line 94 of file accounting.lib.php.