From c1a23c2b07a1bc0bb0c46b3e96bcea653999ea6f Mon Sep 17 00:00:00 2001 From: Thibault Richy Date: Mon, 20 May 2019 15:11:44 +0200 Subject: [PATCH] zfd --- app/Traits/GenerateBR.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Traits/GenerateBR.php b/app/Traits/GenerateBR.php index e8e3b49..c89dd87 100644 --- a/app/Traits/GenerateBR.php +++ b/app/Traits/GenerateBR.php @@ -262,7 +262,7 @@ trait GenerateBR { if($coupon->coupon_norme == 1 && strlen($contact->contact_cp)==4){ //BELGE $txt_mentions = $legalMentions[0]."\n\r".$legalMentions[1]." ".$coupon->coupon_rcs; - $ImageMentionFond = imagecreate(420, 150); + $ImageMentionFond = imagecreate(420, 145); $boxMentions = imagettfbbox(7, 0, $arial, $txt_mentions); $white = imagecolorallocate($ImageMentionFond, 255, 255, 255); imagefilledrectangle($ImageMentionFond, 0, 0, 414, 99, $white); @@ -274,7 +274,7 @@ trait GenerateBR { $y = $y +9; } //imagecolortransparent($ImageMentionFond, $white); - imagecopy($mask, $ImageMentionFond, 335, 230, 0, 0, imagesx($ImageMentionFond), imagesy($ImageMentionFond)); + imagecopy($mask, $ImageMentionFond, 335, 235, 0, 0, imagesx($ImageMentionFond), imagesy($ImageMentionFond)); } else { //FR $txt_mentions = $legalMentions[0]." ".$coupon->coupon_rcs;