Debug v11

This commit is contained in:
Laurent Destailleur 2020-12-11 02:12:39 +01:00
parent 2f8ee92c51
commit 4ec598d571
7 changed files with 19 additions and 19 deletions

View File

@ -141,8 +141,8 @@ class box_accountancy_last_manual_entries extends ModeleBoxes
} }
if ($num == 0) $this->info_box_contents[$line][0] = array( if ($num == 0) $this->info_box_contents[$line][0] = array(
'td' => 'class="center opacitymedium"', 'td' => 'class="center"',
'text'=>$langs->trans("NoRecordedManualEntries") 'text'=> '<span class="opacitymedium">'.$langs->trans("NoRecordedManualEntries").'</span>'
); );
$this->db->free($result); $this->db->free($result);
@ -155,8 +155,8 @@ class box_accountancy_last_manual_entries extends ModeleBoxes
} }
} else { } else {
$this->info_box_contents[0][0] = array( $this->info_box_contents[0][0] = array(
'td' => 'class="nohover opacitymedium left"', 'td' => 'class="nohover left"',
'text' => $langs->trans("ReadPermissionNotAllowed") 'text' => '<span class="opacitymedium">'.$langs->trans("ReadPermissionNotAllowed").'</span>'
); );
} }
} }

View File

@ -186,8 +186,8 @@ class box_contacts extends ModeleBoxes
} }
} else { } else {
$this->info_box_contents[0][0] = array( $this->info_box_contents[0][0] = array(
'td' => 'class="nohover opacitymedium left"', 'td' => 'class="nohover left"',
'text' => $langs->trans("ReadPermissionNotAllowed") 'text' => '<span class="opacitymedium">'.$langs->trans("ReadPermissionNotAllowed").'</span>'
); );
} }
} }

View File

@ -150,8 +150,8 @@ class box_customers_outstanding_bill_reached extends ModeleBoxes
} }
if ($num == 0 || $nboutstandingbillreachedcustomers == 0) $this->info_box_contents[$line][0] = array( if ($num == 0 || $nboutstandingbillreachedcustomers == 0) $this->info_box_contents[$line][0] = array(
'td' => 'class="center opacitymedium"', 'td' => 'class="center"',
'text'=>$langs->trans("NoRecordedCustomers") 'text'=> '<span class="opacitymedium">'.$langs->trans("NoRecordedCustomers").'</span>'
); );
$this->db->free($result); $this->db->free($result);
@ -164,8 +164,8 @@ class box_customers_outstanding_bill_reached extends ModeleBoxes
} }
} else { } else {
$this->info_box_contents[0][0] = array( $this->info_box_contents[0][0] = array(
'td' => 'class="nohover opacitymedium left"', 'td' => 'class="nohover left"',
'text' => $langs->trans("ReadPermissionNotAllowed") 'text' => '<span class="opacitymedium">'.$langs->trans("ReadPermissionNotAllowed").'</span>'
); );
} }
} }

View File

@ -269,8 +269,8 @@ class box_graph_invoices_permonth extends ModeleBoxes
} }
} else { } else {
$this->info_box_contents[0][0] = array( $this->info_box_contents[0][0] = array(
'td' => 'class="nohover opacitymedium left"', 'td' => 'class="nohover left"',
'text' => $langs->trans("ReadPermissionNotAllowed") 'text' => '<span class="opacitymedium">'.$langs->trans("ReadPermissionNotAllowed").'</span>'
); );
} }
} }

View File

@ -150,8 +150,8 @@ class box_mos extends ModeleBoxes
} }
if ($num == 0) $this->info_box_contents[$line][0] = array( if ($num == 0) $this->info_box_contents[$line][0] = array(
'td' => 'class="center opacitymedium"', 'td' => 'class="center"',
'text'=>$langs->trans("NoRecordedOrders") 'text'=> '<span class="opacitymedium">'.$langs->trans("NoRecordedOrders").'</span>'
); );
$this->db->free($result); $this->db->free($result);
@ -164,8 +164,8 @@ class box_mos extends ModeleBoxes
} }
} else { } else {
$this->info_box_contents[0][0] = array( $this->info_box_contents[0][0] = array(
'td' => 'class="nohover opacitymedium left"', 'td' => 'class="nohover left"',
'text' => $langs->trans("ReadPermissionNotAllowed") 'text' => '<span class="opacitymedium">'.$langs->trans("ReadPermissionNotAllowed").'</span>'
); );
} }
} }

View File

@ -172,8 +172,8 @@ class box_supplier_orders extends ModeleBoxes
} }
} else { } else {
$this->info_box_contents[0][] = array( $this->info_box_contents[0][] = array(
'td' => 'class="nohover opacitymedium left"', 'td' => 'class="nohover left"',
'text' => $langs->trans("ReadPermissionNotAllowed") 'text' => '<span class="opacitymedium">'.$langs->trans("ReadPermissionNotAllowed").'</span>'
); );
} }
} }

View File

@ -25,9 +25,9 @@
* Put detailed description here. * Put detailed description here.
*/ */
/** Includes */
include_once DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php"; include_once DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php";
/** /**
* Class to manage the box * Class to manage the box
* *