commit
9f6610a421
@ -517,7 +517,6 @@ abstract class CommonInvoice extends CommonObject
|
|||||||
|
|
||||||
|
|
||||||
return dolGetStatus($labelstatut, $labelstatutShort, '', $statusType, $mode);
|
return dolGetStatus($labelstatut, $labelstatutShort, '', $statusType, $mode);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||||
|
|||||||
@ -4168,7 +4168,7 @@ class Product extends CommonObject
|
|||||||
case 2:
|
case 2:
|
||||||
return $this->LibStatut($status, 3, 2).' '.$this->LibStatut($status, 1, 2);
|
return $this->LibStatut($status, 3, 2).' '.$this->LibStatut($status, 1, 2);
|
||||||
case 3:
|
case 3:
|
||||||
return dolGetStatus($langs->trans('ProductStatusNotOnBatch'), '','',empty($status)?'status5':'status4',3,'dot');
|
return dolGetStatus($langs->trans('ProductStatusNotOnBatch'), '', '', empty($status)?'status5':'status4', 3, 'dot');
|
||||||
case 4:
|
case 4:
|
||||||
return $this->LibStatut($status, 3, 2).' '.$this->LibStatut($status, 0, 2);
|
return $this->LibStatut($status, 3, 2).' '.$this->LibStatut($status, 0, 2);
|
||||||
case 5:
|
case 5:
|
||||||
@ -4213,7 +4213,7 @@ class Product extends CommonObject
|
|||||||
|
|
||||||
|
|
||||||
if($mode>6){
|
if($mode>6){
|
||||||
return dolGetStatus($langs->trans('Unknown'),'', '', 'status0', 0);
|
return dolGetStatus($langs->trans('Unknown'), '', '', 'status0', 0);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
return dolGetStatus($labelstatut, $labelstatutShort, '', $statuttrans, $mode);
|
return dolGetStatus($labelstatut, $labelstatutShort, '', $statuttrans, $mode);
|
||||||
|
|||||||
@ -1630,7 +1630,7 @@ a.tmenuimage:hover{
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
|
print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
|
||||||
$url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.(min($generic,4))."_over.png", 1);
|
$url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.(min($generic, 4))."_over.png", 1);
|
||||||
print "div.mainmenu.".$val." {\n";
|
print "div.mainmenu.".$val." {\n";
|
||||||
print " background-image: url(".$url.");\n";
|
print " background-image: url(".$url.");\n";
|
||||||
print "}\n";
|
print "}\n";
|
||||||
|
|||||||
@ -1824,7 +1824,7 @@ foreach($mainmenuusedarray as $val)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
|
print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
|
||||||
$url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.(min($generic,4))."_over.png", 1);
|
$url=dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.(min($generic, 4))."_over.png", 1);
|
||||||
print "div.mainmenu.".$val." {\n";
|
print "div.mainmenu.".$val." {\n";
|
||||||
print " background-image: url(".$url.");\n";
|
print " background-image: url(".$url.");\n";
|
||||||
print "}\n";
|
print "}\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user