Works on canvas integration in third party module

This commit is contained in:
Regis Houssin 2010-09-07 12:44:15 +00:00
parent 31de91ecca
commit 451ee7960b
6 changed files with 18 additions and 17 deletions

View File

@ -428,12 +428,13 @@ class Form
}
/**
* \brief Return list of types of lines (product or service)
* \param selected Preselected type
* \param htmlname Name of field in html form
* \param showempty Add an empty field
* \param hidetext Do not show label before combo box
* \param forceall Force to show products and services in combo list, whatever are activated modules
* Return list of types of lines (product or service)
* @param selected Preselected type
* @param htmlname Name of field in html form
* @param showempty Add an empty field
* @param hidetext Do not show label before combo box
* @param forceall Force to show products and services in combo list, whatever are activated modules
* @example 0=product, 1=service, 9=other (for external module)
*/
function select_type_of_lines($selected='',$htmlname='type',$showempty=0,$hidetext=0,$forceall=0)
{

View File

@ -17,17 +17,17 @@
*/
/**
* \file htdocs/societe/canvas/card.common.class.php
* \file htdocs/societe/canvas/actions_card_common.class.php
* \ingroup thirparty
* \brief Fichier de la classe Thirdparty card controller (common)
* \version $Id$
*/
/**
* \class CardCommon
* \class ActionsCardCommon
* \brief Classe permettant la gestion des tiers par defaut
*/
class CardCommon
class ActionsCardCommon
{
var $db;
@ -44,7 +44,7 @@ class CardCommon
* Constructeur de la classe
* @param DB Handler acces base de donnees
*/
function CardCommon($DB)
function ActionsCardCommon($DB)
{
$this->db = $DB;
}

View File

@ -17,7 +17,7 @@
*/
/**
* \file htdocs/societe/canvas/default/card.default.class.php
* \file htdocs/societe/canvas/default/actions_card_default.class.php
* \ingroup thirparty
* \brief Fichier de la classe Thirdparty card controller (default canvas)
* \version $Id$
@ -25,10 +25,10 @@
include_once(DOL_DOCUMENT_ROOT.'/societe/canvas/actions_card_common.class.php');
/**
* \class ThirdPartyCardDefault
* \class ActionsCardDefault
* \brief Classe permettant la gestion des tiers par defaut
*/
class ActionsCardDefault extends CardCommon
class ActionsCardDefault extends ActionsCardCommon
{
var $db;

View File

@ -17,7 +17,7 @@
*/
/**
* \file htdocs/societe/canvas/default/thirdparty.default.class.php
* \file htdocs/societe/canvas/default/dao_thirdparty_default.class.php
* \ingroup thirparty
* \brief Fichier de la classe des tiers par defaut
* \version $Id$

View File

@ -17,7 +17,7 @@
*/
/**
* \file htdocs/societe/canvas/individual/card.individual.class.php
* \file htdocs/societe/canvas/individual/actions_card_individual.class.php
* \ingroup thirparty
* \brief Fichier de la classe Thirdparty card controller (individual canvas)
* \version $Id$
@ -28,7 +28,7 @@ include_once(DOL_DOCUMENT_ROOT.'/societe/canvas/actions_card_common.class.php');
* \class ActionsCardIndividual
* \brief Classe permettant la gestion des particuliers
*/
class ActionsCardIndividual extends CardCommon
class ActionsCardIndividual extends ActionsCardCommon
{
var $db;

View File

@ -17,7 +17,7 @@
*/
/**
* \file htdocs/societe/canvas/default/thirdparty.individual.class.php
* \file htdocs/societe/canvas/default/dao_thirdparty_individual.class.php
* \ingroup thirparty
* \brief Fichier de la classe des particuliers
* \version $Id$