Fix: Maxi debug of project permissions
This commit is contained in:
parent
47288c77da
commit
c1b0318222
@ -71,7 +71,7 @@ class Notify
|
||||
$langs->load("mails");
|
||||
|
||||
$nb=$this->countDefinedNotifications($action,$socid);
|
||||
if ($nb <= 0) $texte=$langs->trans("NoNotificationsWillBeSent");
|
||||
if ($nb <= 0) $texte=img_object($langs->trans("Notifications"),'email').' '.$langs->trans("NoNotificationsWillBeSent");
|
||||
if ($nb == 1) $texte=img_object($langs->trans("Notifications"),'email').' '.$langs->trans("ANotificationsWillBeSent");
|
||||
if ($nb >= 2) $texte=img_object($langs->trans("Notifications"),'email').' '.$langs->trans("SomeNotificationsWillBeSent",$nb);
|
||||
return $texte;
|
||||
|
||||
@ -221,7 +221,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
$pdf->SetFont('','', 9);
|
||||
$pdf->SetXY ($this->posxdesc-1, $tab_top);
|
||||
//$pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($object->note_public), 0, 'J', false, 1, '', '', true, 0, false, false, 0, 'T', true);
|
||||
$pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($object->note_public), 0, 'J', false); // FPDF
|
||||
$pdf->MultiCell(190, 3, $outputlangs->convToOutputCharset($object->note_public), 0, 'J'); // FPDF
|
||||
$nexY = $pdf->GetY();
|
||||
$height_note=$nexY-$tab_top;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user