const
This commit is contained in:
parent
adc6f883e2
commit
366625f300
@ -349,6 +349,18 @@ if ($conf->use_javascript_ajax) {
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// Document ref in title
|
||||||
|
|
||||||
|
print '<tr class="oddeven"><td>'.$langs->trans("MAIN_PDF_REF_IN_TITLE");
|
||||||
|
print '</td><td>';
|
||||||
|
if ($conf->use_javascript_ajax) {
|
||||||
|
print ajax_constantonoff('MAIN_PDF_REF_IN_TITLE');
|
||||||
|
} else {
|
||||||
|
$arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes"));
|
||||||
|
print $form->selectarray("MAIN_PDF_REF_IN_TITLE", $arrval, $conf->global->MAIN_PDF_REF_IN_TITLE);
|
||||||
|
}
|
||||||
|
print '</td></tr>';
|
||||||
|
|
||||||
// Place customer adress to the ISO location
|
// Place customer adress to the ISO location
|
||||||
|
|
||||||
print '<tr class="oddeven"><td>'.$langs->trans("PlaceCustomerAddressToIsoLocation").'</td><td>';
|
print '<tr class="oddeven"><td>'.$langs->trans("PlaceCustomerAddressToIsoLocation").'</td><td>';
|
||||||
|
|||||||
@ -103,16 +103,6 @@ if ($conf->use_javascript_ajax) {
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr class="oddeven"><td>'.$langs->trans("PDF_REF_IN_TITLE");
|
|
||||||
print '</td><td>';
|
|
||||||
if ($conf->use_javascript_ajax) {
|
|
||||||
print ajax_constantonoff('PDF_REF_IN_TITLE');
|
|
||||||
} else {
|
|
||||||
$arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes"));
|
|
||||||
print $form->selectarray("PDF_REF_IN_TITLE", $arrval, $conf->global->PDF_REF_IN_TITLE);
|
|
||||||
}
|
|
||||||
print '</td></tr>';
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
print '<tr class="oddeven"><td>'.$langs->trans("MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING").'</td><td>';
|
print '<tr class="oddeven"><td>'.$langs->trans("MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING").'</td><td>';
|
||||||
if ($conf->use_javascript_ajax) {
|
if ($conf->use_javascript_ajax) {
|
||||||
|
|||||||
@ -1473,7 +1473,7 @@ class pdf_azur extends ModelePDFPropales
|
|||||||
$pdf->SetXY($posx, $posy);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->SetTextColor(0, 0, 60);
|
$pdf->SetTextColor(0, 0, 60);
|
||||||
$title = $outputlangs->transnoentities("PdfCommercialProposalTitle");
|
$title = $outputlangs->transnoentities("PdfCommercialProposalTitle");
|
||||||
if (!empty($conf->global->PDF_REF_IN_TITLE)) {
|
if (!empty($conf->global->MAIN_PDF_REF_IN_TITLE)) {
|
||||||
$title .= " " . $outputlangs->convToOutputCharset($object->ref);
|
$title .= " " . $outputlangs->convToOutputCharset($object->ref);
|
||||||
}
|
}
|
||||||
$pdf->MultiCell(100, 4, $title, '', 'R');
|
$pdf->MultiCell(100, 4, $title, '', 'R');
|
||||||
@ -1481,7 +1481,7 @@ class pdf_azur extends ModelePDFPropales
|
|||||||
$pdf->SetFont('', 'B', $default_font_size);
|
$pdf->SetFont('', 'B', $default_font_size);
|
||||||
|
|
||||||
$posy += 5;
|
$posy += 5;
|
||||||
if (empty($conf->global->PDF_REF_IN_TITLE)) {
|
if (empty($conf->global->MAIN_PDF_REF_IN_TITLE)) {
|
||||||
$pdf->SetXY($posx, $posy);
|
$pdf->SetXY($posx, $posy);
|
||||||
$pdf->SetTextColor(0, 0, 60);
|
$pdf->SetTextColor(0, 0, 60);
|
||||||
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("Ref")." : ".$outputlangs->convToOutputCharset($object->ref), '', 'R');
|
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("Ref")." : ".$outputlangs->convToOutputCharset($object->ref), '', 'R');
|
||||||
|
|||||||
@ -1992,7 +1992,7 @@ MAIN_PDF_MARGIN_TOP=Top margin on PDF
|
|||||||
MAIN_PDF_MARGIN_BOTTOM=Bottom margin on PDF
|
MAIN_PDF_MARGIN_BOTTOM=Bottom margin on PDF
|
||||||
MAIN_DOCUMENTS_LOGO_HEIGHT=Height for logo on PDF
|
MAIN_DOCUMENTS_LOGO_HEIGHT=Height for logo on PDF
|
||||||
MAIN_GENERATE_PROPOSALS_WITH_PICTURE=Add picture on proposal line
|
MAIN_GENERATE_PROPOSALS_WITH_PICTURE=Add picture on proposal line
|
||||||
PDF_REF_IN_TITLE=Document ref in title
|
MAIN_PDF_REF_IN_TITLE=Document ref in title
|
||||||
MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING=Add electronic sign in PDF
|
MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING=Add electronic sign in PDF
|
||||||
NothingToSetup=There is no specific setup required for this module.
|
NothingToSetup=There is no specific setup required for this module.
|
||||||
SetToYesIfGroupIsComputationOfOtherGroups=Set this to yes if this group is a computation of other groups
|
SetToYesIfGroupIsComputationOfOtherGroups=Set this to yes if this group is a computation of other groups
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user