@@ -10950,10 +10950,10 @@ discard block |
||
| 10950 | 10950 | // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
| 10951 | 10951 | |
| 10952 | 10952 | /** |
| 10953 | - * Load into cache list of invoice subtypes |
|
| 10954 | - * |
|
| 10955 | - * @return int Nb of lines loaded, <0 if KO |
|
| 10956 | - */ |
|
| 10953 | + * Load into cache list of invoice subtypes |
|
| 10954 | + * |
|
| 10955 | + * @return int Nb of lines loaded, <0 if KO |
|
| 10956 | + */ |
|
| 10957 | 10957 | public function load_cache_invoice_subtype() |
| 10958 | 10958 | { |
| 10959 | 10959 | // phpcs:enable |
@@ -10996,15 +10996,15 @@ discard block |
||
| 10996 | 10996 | |
| 10997 | 10997 | |
| 10998 | 10998 | /** |
| 10999 | - * Return list of invoice subtypes. |
|
| 11000 | - * |
|
| 11001 | - * @param int $selected Id of invoice subtype to preselect by default |
|
| 11002 | - * @param string $htmlname Select field name |
|
| 11003 | - * @param int<0,1> $addempty Add an empty entry |
|
| 11004 | - * @param int<0,1> $noinfoadmin 0=Add admin info, 1=Disable admin info |
|
| 11005 | - * @param string $morecss Add more CSS on select tag |
|
| 11006 | - * @return string String for the HTML select component |
|
| 11007 | - */ |
|
| 10999 | + * Return list of invoice subtypes. |
|
| 11000 | + * |
|
| 11001 | + * @param int $selected Id of invoice subtype to preselect by default |
|
| 11002 | + * @param string $htmlname Select field name |
|
| 11003 | + * @param int<0,1> $addempty Add an empty entry |
|
| 11004 | + * @param int<0,1> $noinfoadmin 0=Add admin info, 1=Disable admin info |
|
| 11005 | + * @param string $morecss Add more CSS on select tag |
|
| 11006 | + * @return string String for the HTML select component |
|
| 11007 | + */ |
|
| 11008 | 11008 | public function getSelectInvoiceSubtype($selected = 0, $htmlname = 'subtypeid', $addempty = 0, $noinfoadmin = 0, $morecss = '') |
| 11009 | 11009 | { |
| 11010 | 11010 | global $langs, $user; |