From dcf47aff301472a0cbaf182af6d234efefccefde Mon Sep 17 00:00:00 2001 From: Thibault Richy Date: Mon, 20 May 2019 15:05:41 +0200 Subject: [PATCH] Fix size --- app/Traits/GenerateBR.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Traits/GenerateBR.php b/app/Traits/GenerateBR.php index 627c520..452d925 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(415, 200); + $ImageMentionFond = imagecreate(420, 180); $boxMentions = imagettfbbox(7, 0, $arial, $txt_mentions); $white = imagecolorallocate($ImageMentionFond, 255, 255, 255); imagefilledrectangle($ImageMentionFond, 0, 0, 414, 99, $white);