This commit is contained in:
KONE SOREL 2026-01-17 09:48:54 +00:00
parent 82a91ba1d1
commit 3c9a7d6a08
4 changed files with 11 additions and 11 deletions

View File

@ -71,13 +71,13 @@ class ControleurAjaxexporterunequittanceclient extends Controleurrequete
// 2eme ligne // 2eme ligne
$pdf->Cell(25,$ht,convertirc(_('Effet')),0,0,'L',false); $pdf->Cell(25,$ht,convertirc(_('Effet')),0,0,'L',false);
$pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['dateEffet'])),0,0,'L',false); $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['dateEffet']), $_SESSION['lang']),0,0,'L',false);
$pdf->Cell(25,$ht,convertirc(_('Echéance')),0,0,'L',false); $pdf->Cell(25,$ht,convertirc(_('Echéance')),0,0,'L',false);
$pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['dateEcheance'])),0,0,'L',false); $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['dateEcheance']), $_SESSION['lang']),0,0,'L',false);
$pdf->Cell(25,$ht,convertirc(_('Edition')),0,0,'L',false); $pdf->Cell(25,$ht,convertirc(_('Edition')),0,0,'L',false);
$pdf->Cell(0,$ht,convertirc(' : '.heureCouranteLang($_SESSION['lang'])),0,1,'L',false); $pdf->Cell(0,$ht,convertirc(' : '.heureCouranteLang($_SESSION['lang']), $_SESSION['lang']),0,1,'L',false);
// 3eme ligne // 3eme ligne
$pdf->Cell(25,$ht,convertirc(_("P Nette Com")),0,0,'L',false); $pdf->Cell(25,$ht,convertirc(_("P Nette Com")),0,0,'L',false);
@ -119,7 +119,7 @@ class ControleurAjaxexporterunequittanceclient extends Controleurrequete
$pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['nbAliment'])),0,0,'L',false); $pdf->Cell(35,$ht,convertirc(" : ".format_N($quittance['nbAliment'])),0,0,'L',false);
$pdf->Cell(25,$ht,convertirc(_("A Payer avant")),0,0,'L',false); $pdf->Cell(25,$ht,convertirc(_("A Payer avant")),0,0,'L',false);
$pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['datePaiement'])),0,1,'L',false); $pdf->Cell(35,$ht,convertirc(" : ".dateLang($quittance['datePaiement']), $_SESSION['lang']),0,1,'L',false);
// 7eme ligne // 7eme ligne

View File

@ -41,7 +41,7 @@ function dateLang($d, $lang=null)
if (isset($lang) && $lang=="en_US") if (isset($lang) && $lang=="en_US")
{ {
// return dateEng($d); // return dateEng($d);
return dateFr($d); return dateEng($d);
} }
else else
{ {

View File

@ -169,7 +169,7 @@ function dateLang($d, $lang=null)
if (isset($lang) && $lang=="en_US") if (isset($lang) && $lang=="en_US")
{ {
// return dateEng($d); // return dateEng($d);
return dateFr($d); return dateEng($d);
} }
else else
{ {
@ -194,7 +194,7 @@ function dateheureLang($d, $lang=null)
if (isset($lang) && $lang=="en_US") if (isset($lang) && $lang=="en_US")
{ {
// return dateheureEng($d); // return dateheureEng($d);
return dateheureFr($d); return dateheureEng($d);
} }
else else
{ {
@ -212,7 +212,7 @@ function heureCouranteLang($lang=null)
if (isset($lang) && $lang=="en_US") if (isset($lang) && $lang=="en_US")
{ {
// return heureCouranteEng(); // return heureCouranteEng();
return heureCouranteFr(); return heureCouranteEng();
} }
else else
{ {
@ -235,7 +235,7 @@ function dateCouranteLang($lang=null)
if (isset($lang) && $lang=="en_US") if (isset($lang) && $lang=="en_US")
{ {
// return dateCouranteEng(); // return dateCouranteEng();
return dateCouranteFr(); return dateCouranteEng();
} }
else else
{ {

View File

@ -36,8 +36,8 @@
</div> </div>
<div class="col-md-3 text-end border-start"> <div class="col-md-3 text-end border-start">
<h6 class="text-muted small fw-bold mb-1 text-uppercase"><?= _("Période") ?></h6> <h6 class="text-muted small fw-bold mb-1 text-uppercase"><?= _("Période") ?></h6>
<div class="small fw-bold">Du <?= dateLang($this->nettoyer($police['dateEffet']),$_SESSION['lang']) ?></div> <div class="small fw-bold"><?= _('Du').' '.dateLang($this->nettoyer($police['dateEffet']),$_SESSION['lang']) ?></div>
<div class="small fw-bold">Au <?= dateLang($this->nettoyer($police['dateEcheance']),$_SESSION['lang']) ?></div> <div class="small fw-bold"><?= _('Au').' '.dateLang($this->nettoyer($police['dateEcheance']),$_SESSION['lang'])?></div>
</div> </div>
</div> </div>
</div> </div>