Merge branch 'fixes/fixe/fixe-logo-attestaion' into staging
This commit is contained in:
commit
5e95562f84
@ -593,7 +593,7 @@ class PageController extends Controller {
|
|||||||
$pdf->SetMargins(0,0,0);
|
$pdf->SetMargins(0,0,0);
|
||||||
|
|
||||||
// logo : 80 de largeur et 55 de hauteur
|
// logo : 80 de largeur et 55 de hauteur
|
||||||
$pdf->Image($this->src_path."logo.png", 10, 10, 55, 30);
|
$pdf->Image($this->src_path."logo.png", 10, 10, 75, 25);
|
||||||
// adresse du facture
|
// adresse du facture
|
||||||
$pdf->SetFont('Arial','B',11); $_x = 122 ; $_y = 40;
|
$pdf->SetFont('Arial','B',11); $_x = 122 ; $_y = 40;
|
||||||
$pdf->SetXY( $_x, $_y ); $pdf->Cell( 100, 8, utf8_decode('Groupe COGF'), 0, 0, ''); $_y += 8;
|
$pdf->SetXY( $_x, $_y ); $pdf->Cell( 100, 8, utf8_decode('Groupe COGF'), 0, 0, ''); $_y += 8;
|
||||||
@ -648,7 +648,7 @@ class PageController extends Controller {
|
|||||||
$pdf->SetAutoPagebreak(False);
|
$pdf->SetAutoPagebreak(False);
|
||||||
$pdf->SetMargins(0,0,0);
|
$pdf->SetMargins(0,0,0);
|
||||||
|
|
||||||
$pdf->Image($this->src_path."logo.png", 10, 10, 55, 30);
|
$pdf->Image($this->src_path."logo.png", 10, 10, 75, 25);
|
||||||
|
|
||||||
// n° page en haute à droite
|
// n° page en haute à droite
|
||||||
if($nb_page>1){
|
if($nb_page>1){
|
||||||
@ -831,7 +831,7 @@ class PageController extends Controller {
|
|||||||
$pdf->AddFont('ComicSans','B','comic-sans-bold.php');
|
$pdf->AddFont('ComicSans','B','comic-sans-bold.php');
|
||||||
$current_client = '';
|
$current_client = '';
|
||||||
$adresse = '';
|
$adresse = '';
|
||||||
$date_facture;
|
$date_facture = '';
|
||||||
$j=1;
|
$j=1;
|
||||||
foreach ($client as $key => $facture) {
|
foreach ($client as $key => $facture) {
|
||||||
if($j==1) {
|
if($j==1) {
|
||||||
@ -855,7 +855,7 @@ class PageController extends Controller {
|
|||||||
$pdf->SetMargins(0,0,0);
|
$pdf->SetMargins(0,0,0);
|
||||||
|
|
||||||
// logo : 80 de largeur et 55 de hauteur
|
// logo : 80 de largeur et 55 de hauteur
|
||||||
$pdf->Image($this->src_path."logo.png", 10, 10, 55, 30);
|
$pdf->Image($this->src_path."logo.png", 10, 10, 75, 25);
|
||||||
// adresse du facture
|
// adresse du facture
|
||||||
$pdf->SetFont('ComicSans','B',11); $_x = 122 ; $_y = 40;
|
$pdf->SetFont('ComicSans','B',11); $_x = 122 ; $_y = 40;
|
||||||
$pdf->SetXY( $_x, $_y ); $pdf->Cell( 100, 8, utf8_decode($current_client), 0, 0, ''); $_y += 8;
|
$pdf->SetXY( $_x, $_y ); $pdf->Cell( 100, 8, utf8_decode($current_client), 0, 0, ''); $_y += 8;
|
||||||
@ -910,7 +910,7 @@ class PageController extends Controller {
|
|||||||
$pdf->SetAutoPagebreak(False);
|
$pdf->SetAutoPagebreak(False);
|
||||||
$pdf->SetMargins(0,0,0);
|
$pdf->SetMargins(0,0,0);
|
||||||
|
|
||||||
$pdf->Image($this->src_path."logo.png", 10, 10, 55, 30);
|
$pdf->Image($this->src_path."logo.png", 10, 10, 75, 25);
|
||||||
|
|
||||||
// n° page en haute à droite
|
// n° page en haute à droite
|
||||||
if($nb_page>1){
|
if($nb_page>1){
|
||||||
|
|||||||
@ -42,7 +42,7 @@ class CareCertificatePdfHandler extends FPDF {
|
|||||||
function Header()
|
function Header()
|
||||||
{
|
{
|
||||||
if($this->logo != "nothing"){
|
if($this->logo != "nothing"){
|
||||||
$this->Image($this->imagePath."logo.png", 10, 10,50,35);
|
$this->Image($this->imagePath."logo.png", 10, 10, 75, 25);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$this->Cell(55,30,'');
|
$this->Cell(55,30,'');
|
||||||
|
|||||||
@ -42,7 +42,7 @@ class PacemakerCertificatePdfHandler extends FPDF {
|
|||||||
function Header()
|
function Header()
|
||||||
{
|
{
|
||||||
if($this->logo != "nothing"){
|
if($this->logo != "nothing"){
|
||||||
$this->Image($this->imagePath."logo.png", 10, 10, 50,35);
|
$this->Image($this->imagePath."logo.png", 10, 10, 75, 25);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$this->Cell(55,30,'');
|
$this->Cell(55,30,'');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user