2
0
forked from Wavyzz/dolibarr

Merge remote-tracking branch 'origin/new_branch_20_09_2018' into new_branch_21_09_2018

This commit is contained in:
Philippe GRAND
2018-09-21 09:07:17 +02:00
99 changed files with 1571 additions and 327 deletions

View File

@@ -3,6 +3,7 @@
* Copyright (C) 2012 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2016 Charlie Benke <charlie@patas-monkey.com>
* Copyright (C) 2018 Philippe Grand <philippe.grand@atoo-net.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -38,9 +39,22 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/doc.lib.php';
*/
class doc_generic_order_odt extends ModelePDFCommandes
{
public $emetteur; // Objet societe qui emet
/**
* Issuer
* @var Societe
*/
public $emetteur;
public $phpmin = array(5,4,0); // Minimum version of PHP required by module
/**
* @var array() Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.4 = array(5, 4)
*/
public $phpmin = array(5, 4);
/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';

View File

@@ -115,9 +115,9 @@ class pdf_einstein extends ModelePDFCommandes
public $marge_basse;
/**
* Issuer
* @var Societe
*/
* Issuer
* @var Societe
*/
public $emetteur; // Objet societe qui emet

View File

@@ -29,13 +29,30 @@ require_once DOL_DOCUMENT_ROOT .'/core/modules/commande/modules_commande.php';
*/
class mod_commande_marbre extends ModeleNumRefCommandes
{
var $version='dolibarr'; // 'development', 'experimental', 'dolibarr'
var $prefix='CO';
/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
public $prefix='CO';
/**
* @var string Error code (or message)
*/
public $error='';
var $nom='Marbre';
/**
* @var string
* @deprecated
* @see name
*/
public $nom='Marbre';
/**
* @var string name
*/
public $name='Marbre';
/**

View File

@@ -33,9 +33,28 @@ require_once DOL_DOCUMENT_ROOT .'/core/modules/commande/modules_commande.php';
*/
class mod_commande_saphir extends ModeleNumRefCommandes
{
var $version='dolibarr'; // 'development', 'experimental', 'dolibarr'
var $error = '';
var $nom = 'Saphir';
/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
/**
* @var string Error message
*/
public $error = '';
/**
* @var string nom
* @deprecated
* @see name
*/
public $nom='Saphir';
/**
* @var string name
*/
public $name='Saphir';
/**
@@ -45,7 +64,7 @@ class mod_commande_saphir extends ModeleNumRefCommandes
*/
function info()
{
global $conf,$langs;
global $conf, $langs;
$langs->load("bills");