Anomalie #18589
closed[INPI] [REVIEW] Bordereau recommandé : Impression du descriptif de pli - informations manquantes
Description
Lors de l'impression du descriptif de pli, il manque le nom prénom du destinataire lorsqu'il n'y a pas de company.
En effet, soit on doit avoir avoir la raison sociale quand cela est renseigné, soit on a le prénom nom si la company n'est pas renseignée
Pour corriger le problème le temps d'avoir la correction, j'ai modifié le fichier src/app/registeredMail/controllers/RegisteredMailController.php
J'ai changé le code à partir de la ligne 1062
if (strlen($recipient[1] . " " . $recipient[4] . " " . $recipient[6] . " " . $recipient[7]) > 60) {
$pdf->Cell(95, 10, $recipient[1], 1);
$pdf->SetXY($pdf->GetX() - 95, $pdf->GetY() + 3);
$pdf->Cell(95, 10, $recipient[4] . " " . $recipient[6] . " " . $recipient[7], 0);
$pdf->SetXY($pdf->GetX() + 95, $pdf->GetY() - 3);
} else {
$pdf->Cell(95, 10, $recipient[1] . " " . $recipient[4] . " " . $recipient[6] . " " . $recipient[7], 1);
}
par
if (!empty($recipient[1])){
if (strlen($recipient[1] . " " . $recipient[4] . " " . $recipient[6] . " " . $recipient[7]) > 60) {
$pdf->Cell(95, 10, $recipient[1], 1);
$pdf->SetXY($pdf->GetX() - 95, $pdf->GetY() + 3);
$pdf->Cell(95, 10, $recipient[4] . " " . $recipient[6] . " " . $recipient[7], 0);
$pdf->SetXY($pdf->GetX() + 95, $pdf->GetY() - 3);
} else {
$pdf->Cell(95, 10, $recipient[1] . " " . $recipient[4] . " " . $recipient[6] . " " . $recipient[7], 1);
}
} else {
if (strlen($recipient[2] . " " . $recipient[4] . " " . $recipient[6] . " " . $recipient[7]) > 60) {
$pdf->Cell(95, 10, $recipient[2], 1);
$pdf->SetXY($pdf->GetX() - 95, $pdf->GetY() + 3);
$pdf->Cell(95, 10, $recipient[4] . " " . $recipient[6] . " " . $recipient[7], 0);
$pdf->SetXY($pdf->GetX() + 95, $pdf->GetY() - 3);
} else {
$pdf->Cell(95, 10, $recipient[2] . " " . $recipient[4] . " " . $recipient[6] . " " . $recipient[7], 1);
}
}
Updated by Support Maarch about 3 years ago
- Status changed from A traiter to R&D - A étudier
Bonjour,
Pouvez vous analyser la question de l'INPI s'il vous plait.
Il s'agit d'un client custom qui était géré par Laurent.
Merci d'avance
Updated by Support Maarch about 3 years ago
- Subject changed from [INPI] Bordereau recommandé : Impression du descriptif de pli - informations manquantes to [INPI] demande d'anlyse du code Bordereau recommandé : Impression du descriptif de pli - informations manquantes
- Status changed from R&D - A étudier to A traiter
- Priority changed from 3-Mineur to 1-Majeur
Updated by Emmanuel DILLARD about 3 years ago
- Tracker changed from Action to Anomalie
- Status changed from A traiter to R&D - A planifier
- Target version changed from 290 to 20.10
Updated by Emmanuel DILLARD about 3 years ago
- Related to Anomalie #18437: Bordereau recommandé : Impression du descriptif de pli impossible added
Updated by Emmanuel DILLARD about 3 years ago
- Subject changed from [INPI] demande d'anlyse du code Bordereau recommandé : Impression du descriptif de pli - informations manquantes to [INPI] [ANALYSE] Bordereau recommandé : Impression du descriptif de pli - informations manquantes
Updated by Emmanuel DILLARD about 3 years ago
- Subject changed from [INPI] [ANALYSE] Bordereau recommandé : Impression du descriptif de pli - informations manquantes to [INPI] [REVIEW] Bordereau recommandé : Impression du descriptif de pli - informations manquantes
- Due date set to 11/16/2021
- Status changed from R&D - A planifier to R&D - En cours
- Assignee deleted (
Support Maarch) - Priority changed from 1-Majeur to 2-Sérieux
Updated by GIT LAB about 3 years ago
Commit ajouté sur la branche fix/18589/20.10 de MaarchCourrier
FIX #18589 TIME 1:00 displaying recipientLabel correctly in deposit pdf
https://labs.maarch.org/maarch/MaarchCourrier/commit/f2b0c1fdc03bceeadcec6ac6eac009a286f1895a
Updated by GIT LAB about 3 years ago
Commit ajouté sur la branche fix/18589/20.10 de MaarchCourrier
FIX #18589 TIME 0:05 trimming recipientLabel
https://labs.maarch.org/maarch/MaarchCourrier/commit/51990a01aa09307c46ef641657bbcc7e6ec6938f
Updated by GIT LAB about 3 years ago
Commit ajouté sur la branche fix/18589/develop de MaarchCourrier
FIX #18589 TIME 0:10 display better recipient label in deposit list pdf
https://labs.maarch.org/maarch/MaarchCourrier/commit/eb6ad18f159cc9df9b637f2a24c8ff3d428cd643
Updated by GIT LAB about 3 years ago
Commit ajouté sur la branche fix/18589/21.03 de MaarchCourrier
FIX #18589 TIME 0:10 display better recipient label in deposit list pdf
https://labs.maarch.org/maarch/MaarchCourrier/commit/2c43d9020a5cf7c263a1a09a06d6ecf656aaf8f5
Updated by Quentin RIBAC about 3 years ago
- Status changed from R&D - En cours to R&D - En test
Updated by Hamza HRAMCHI about 3 years ago
- Status changed from R&D - En test to R&D - Terminé