Skip to content

Commit

Permalink
Standardize and update code
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Sep 19, 2018
1 parent 7f59328 commit 52533a0
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
Expand Up @@ -45,6 +45,10 @@ class doc_generic_supplier_proposal_odt extends ModelePDFSupplierProposal

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
7 changes: 6 additions & 1 deletion htdocs/core/modules/ticket/mod_ticket_simple.php
Expand Up @@ -30,7 +30,12 @@
*/
class mod_ticket_simple extends ModeleNumRefTicket
{
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'

public $prefix = 'TS';
public $error = '';
public $nom = "Simple";
Expand Down
7 changes: 6 additions & 1 deletion htdocs/core/modules/ticket/mod_ticket_universal.php
Expand Up @@ -29,7 +29,12 @@
*/
class mod_ticket_universal extends ModeleNumRefTicket
{
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'

public $error = '';
public $nom = 'Universal';
public $name = 'Universal';
Expand Down
4 changes: 4 additions & 0 deletions htdocs/core/modules/user/doc/doc_generic_user_odt.modules.php
Expand Up @@ -43,6 +43,10 @@ class doc_generic_user_odt extends ModelePDFUser

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down
Expand Up @@ -45,6 +45,10 @@ class doc_generic_usergroup_odt extends ModelePDFUserGroup

public $phpmin = array(5,4,0); // Minimum version of PHP required by module

/**
* Dolibarr version of the loaded document
* @public string
*/
public $version = 'dolibarr';


Expand Down

0 comments on commit 52533a0

Please sign in to comment.