Skip to content

Commit

Permalink
Merge branch 'develop' into fix_updatelines_propal
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 authored Nov 26, 2024
2 parents 2df8305 + 4d3a42a commit 722fa49
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
3 changes: 2 additions & 1 deletion htdocs/admin/security_other.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@
print '<tr class="oddeven">';
print '<td>'.$langs->trans("SessionTimeOut").'</td><td class="right">';
if (ini_get("session.gc_probability") == 0) {
print $form->textwithpicto('', $langs->trans("SessionsPurgedByExternalSystem", ini_get("session.gc_maxlifetime")));
// For external cleaning of session, the delay used may be the one into the ini file, so get_cfg_var("session.gc_maxlifetime"), not the one overloaded in runtime.
print $form->textwithpicto('', $langs->trans("SessionsPurgedByExternalSystem", get_cfg_var("session.gc_maxlifetime")));
} else {
print $form->textwithpicto('', $langs->trans("SessionExplanation", ini_get("session.gc_probability"), ini_get("session.gc_divisor"), ini_get("session.gc_maxlifetime")));
}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/facture/doc/pdf_crabe.modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ protected function _tableau_info(&$pdf, $object, $posy, $outputlangs, $outputlan
}

// If France, show VAT mention if not applicable
if ($this->emetteur->country_code == 'FR' && empty($mysoc->tva_assuj)) {
if ($this->emetteur->country_code == 'FR' && empty($object->total_tva) && (empty($mysoc->tva_assuj) || ($this->emetteur->isInEEC() && $object->thirdparty->isInEEC()))) {
$pdf->SetFont('', 'B', $default_font_size - 2);
$pdf->SetXY($this->marge_gauche, $posy);
if ($mysoc->forme_juridique_code == 92) {
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/facture/doc/pdf_octopus.modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ protected function drawInfoTable(&$pdf, $object, $posy, $outputlangs, $outputlan
}

// If France, show VAT mention if not applicable
if ($this->emetteur->country_code == 'FR' && empty($mysoc->tva_assuj)) {
if ($this->emetteur->country_code == 'FR' && empty($object->total_tva) && (empty($mysoc->tva_assuj) || ($this->emetteur->isInEEC() && $object->thirdparty->isInEEC()))) {
$pdf->SetFont('', 'B', $default_font_size - 2);
$pdf->SetXY($this->marge_gauche, $posy);
if ($mysoc->forme_juridique_code == 92) {
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/facture/doc/pdf_sponge.modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ protected function drawInfoTable(&$pdf, $object, $posy, $outputlangs, $outputlan
}

// If France, show VAT mention if not applicable
if ($this->emetteur->country_code == 'FR' && empty($mysoc->tva_assuj)) {
if ($this->emetteur->country_code == 'FR' && empty($object->total_tva) && (empty($mysoc->tva_assuj) || ($this->emetteur->isInEEC() && $object->thirdparty->isInEEC()))) {
$pdf->SetFont('', '', $default_font_size - 2);
$pdf->SetXY($this->marge_gauche, $posy);
if ($mysoc->forme_juridique_code == 92) {
Expand Down
11 changes: 10 additions & 1 deletion htdocs/theme/eldy/global.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -4277,7 +4277,16 @@
table.noborder {
background: var(--colorbacktabcard1);
}
.fichehalfright table.noborder , .fichehalfleft table.noborder{
<?php if (getDolGlobalString('THEME_ELDY_SHADOW_ON_SMALL_BOXES')) { // TODO Disable on smartphone ?>
.firstcolumn .div-table-responsive-no-min, .secondcolumn .div-table-responsive-no-min {
overflow-x: unset;
}
.firstcolumn table.noborder, .secondcolumn table.noborder {
box-shadow: 5px 5px 5px #f0f0f0;
}
<?php } ?>

.fichehalfright table.noborder, .fichehalfleft table.noborder {
margin: 0px 0px 0px 0px;
}
table.liste, table.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact), table.formdoc, div.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact) {
Expand Down

0 comments on commit 722fa49

Please sign in to comment.