mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix phan error; Currently getExample has different signature defined
into parents
This commit is contained in:
parent
7e6f98625b
commit
c98273fed1
|
|
@ -165,12 +165,4 @@ abstract class CommonNumRefGenerator
|
|||
}
|
||||
return $langs->trans("NotAvailable");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return an example of numbering
|
||||
*
|
||||
* @return string Example
|
||||
*/
|
||||
abstract public function getExample();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -129,8 +129,6 @@ abstract class ModeleProductCode extends CommonNumRefGenerator
|
|||
*/
|
||||
public function getToolTip($langs, $product, $type)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$langs->loadLangs(array("admin", "companies"));
|
||||
|
||||
$strikestart = '';
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ foreach ($dirproduct as $dirroot) {
|
|||
print '<td>'.$modCodeProduct->info($langs).'</td>'."\n";
|
||||
print '<td class="nowrap"><span class="opacitymedium">'.$modCodeProduct->getExample($langs).'</span></td>'."\n";
|
||||
|
||||
if (getDolGlobalString('PRODUCT_CODEPRODUCT_ADDON') && $conf->global->PRODUCT_CODEPRODUCT_ADDON == $file) {
|
||||
if (getDolGlobalString('PRODUCT_CODEPRODUCT_ADDON') == $file) {
|
||||
print '<td class="center">'."\n";
|
||||
print img_picto($langs->trans("Activated"), 'switch_on');
|
||||
print "</td>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user