Standardize and update code
This commit is contained in:
parent
803505b6b7
commit
cbda62b1ca
@ -41,7 +41,11 @@ class pdf_ban extends ModeleBankAccountDoc
|
||||
*/
|
||||
public $emetteur;
|
||||
|
||||
var $version = 'development';
|
||||
/**
|
||||
* Dolibarr version of the loaded document
|
||||
* @public string
|
||||
*/
|
||||
public $version = 'development';
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@ -41,7 +41,11 @@ class pdf_sepamandate extends ModeleBankAccountDoc
|
||||
*/
|
||||
public $emetteur;
|
||||
|
||||
var $version = 'dolibarr';
|
||||
/**
|
||||
* Dolibarr version of the loaded document
|
||||
* @public string
|
||||
*/
|
||||
public $version = 'dolibarr';
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
@ -50,7 +54,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc
|
||||
*/
|
||||
function __construct($db)
|
||||
{
|
||||
global $conf,$langs,$mysoc;
|
||||
global $conf, $langs, $mysoc;
|
||||
|
||||
// Translations
|
||||
$langs->loadLangs(array("main", "bank", "withdrawals", "companies"));
|
||||
|
||||
@ -32,8 +32,12 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/barcode.lib.php'; // This is to inc
|
||||
*/
|
||||
class modPhpbarcode extends ModeleBarCode
|
||||
{
|
||||
var $version='dolibarr'; // 'development', 'experimental', 'dolibarr'
|
||||
|
||||
/**
|
||||
* Dolibarr version of the loaded document
|
||||
* @public string
|
||||
*/
|
||||
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
|
||||
|
||||
/**
|
||||
* @var string Error code (or message)
|
||||
*/
|
||||
|
||||
@ -31,14 +31,18 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/barcode.lib.php'; // This is to inc
|
||||
*/
|
||||
class modTcpdfbarcode extends ModeleBarCode
|
||||
{
|
||||
var $version='dolibarr'; // 'development', 'experimental', 'dolibarr'
|
||||
|
||||
/**
|
||||
* Dolibarr version of the loaded document
|
||||
* @public string
|
||||
*/
|
||||
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
|
||||
|
||||
/**
|
||||
* @var string Error code (or message)
|
||||
*/
|
||||
public $error='';
|
||||
|
||||
var $is2d = false;
|
||||
|
||||
public $is2d = false;
|
||||
|
||||
/**
|
||||
* Return description of numbering model
|
||||
|
||||
Loading…
Reference in New Issue
Block a user