This commit is contained in:
Thibault Richy 2019-02-25 11:59:22 +01:00
parent 50dbc9e0f4
commit f484fc388c

View file

@ -44,7 +44,7 @@ trait GenerateBR {
// ----- Mentions légales + RCS
$txt_mentions = $coupon->coupon_legal_mentions." ".$coupon->coupon_rcs;
$ImageMentionFond = imagecreate(415, 90);
$boxMentions = imagettfbbox(6, 0, $arial, $txt_mentions);
$boxMentions = imagettfbbox(7, 0, $arial, $txt_mentions);
$white = imagecolorallocate($ImageMentionFond, 255, 255, 255);
$black = imagecolorallocate($ImageMentionFond, 0, 0, 0);
$lines_mentions = explode("\r\n", $txt_mentions);