Correction chargement des langs
This commit is contained in:
parent
3d1ff4fd17
commit
584f8ad395
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -44,7 +44,7 @@ class pdf_bernique extends ModelePDFFactures {
|
|||||||
|
|
||||||
function write_pdf_file($facid)
|
function write_pdf_file($facid)
|
||||||
{
|
{
|
||||||
global $user,$langs,$user;
|
global $user,$langs,$conf;
|
||||||
|
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
@ -229,6 +229,11 @@ class pdf_bernique extends ModelePDFFactures {
|
|||||||
|
|
||||||
function _tableau_tot(&$pdf, $fac, $top, $height)
|
function _tableau_tot(&$pdf, $fac, $top, $height)
|
||||||
{
|
{
|
||||||
|
global $langs;
|
||||||
|
$langs->load("main");
|
||||||
|
$langs->loads("bills");
|
||||||
|
|
||||||
|
|
||||||
$tab2_top = $top + $height;
|
$tab2_top = $top + $height;
|
||||||
$tab2_hl = 5;
|
$tab2_hl = 5;
|
||||||
$tab2_height = $tab2_hl * 4;
|
$tab2_height = $tab2_hl * 4;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user