Merge branch 'master' into entreprise
This commit is contained in:
sparkyx 2021-03-12 19:19:00 +01:00
commit 3867346d28
297 changed files with 22561 additions and 7418 deletions

View file

@ -0,0 +1,68 @@
<?php
/**
* Autogenerated file
* This file is part of NOALYSS.
*
* NOALYSS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NOALYSS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_attr_def_sql.php
*
* @file
* @brief abstract of the table public.attr_def */
class Attr_def_SQL extends Noalyss_SQL
{
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.attr_def";
$this->primary_key="ad_id";
/*
* List of columns
*/
$this->name=array(
"id"=>"ad_id"
, "desc"=>"ad_text"
, "type"=>"ad_type"
, "size"=>"ad_size"
, "extra"=>"ad_extra"
, "search_followup"=>"ad_search_followup"
);
/*
* Type of columns
*/
$this->type=array(
"ad_id"=>"numeric"
, "ad_text"=>"text"
, "ad_type"=>"text"
, "ad_size"=>"text"
, "ad_extra"=>"text"
, "ad_search_followup"=>"numeric"
);
$this->default=array(
"ad_id"=>"auto"
);
$this->date_format="DD.MM.YYYY";
parent::__construct($p_cn, $p_id);
}
}

View file

@ -0,0 +1,66 @@
<?php
/**
* Autogenerated file
* This file is part of NOALYSS.
*
* NOALYSS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NOALYSS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// Copyright (2002-2020) Author Dany De Bontridder <danydb@noalyss.eu>
require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_contact_option_ref_sql.php
*
* @file
* @brief abstract of the table public.contact_option_ref */
class Contact_option_ref_SQL extends Noalyss_SQL
{
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.contact_option_ref";
$this->primary_key="cor_id";
/*
* List of columns
*/
$this->name=array(
"cor_id"=>"cor_id"
, "cor_label"=>"cor_label"
, "cor_type"=>"cor_type"
, "cor_value_select"=>"cor_value_select"
);
/*
* Type of columns
*/
$this->type=array(
"cor_id"=>"numeric"
, "cor_label"=>"text"
, "cor_type"=>"numeric"
, "cor_value_select"=>"text"
);
$this->default=array(
"cor_id"=>"auto"
);
$this->date_format="DD.MM.YYYY";
parent::__construct($p_cn, $p_id);
}
}

View file

@ -0,0 +1,62 @@
<?php
/**
* Autogenerated file
* This file is part of NOALYSS.
*
* NOALYSS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NOALYSS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_attr_def_sql.php
*
* @file
* @brief abstract of the table public.document_state */
class Document_State_SQL extends Noalyss_SQL
{
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.document_state";
$this->primary_key="s_id";
/*
* List of columns
*/
$this->name=array(
"s_id"=>"s_id"
, "s_value"=>"s_value"
, "s_status"=>"s_status"
);
/*
* Type of columns
*/
$this->type=array(
"s_id"=>"numeric"
, "s_value"=>"text"
, "s_status"=>"text"
);
$this->default=array(
"s_id"=>"auto"
);
$this->date_format="DD.MM.YYYY";
parent::__construct($p_cn, $p_id);
}
}

View file

@ -0,0 +1,68 @@
<?php
/**
* Autogenerated file
* This file is part of NOALYSS.
*
* NOALYSS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NOALYSS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_document_type_sql.php
*
* @file
* @brief abstract of the table public.document_type
*/
/**
* @class
* @brief abstract of the table public.document_type
*/
class Document_type_SQL extends Noalyss_SQL
{
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.document_type";
$this->primary_key="dt_id";
/*
* List of columns
*/
$this->name=array(
"dt_id"=>"dt_id"
, "dt_value"=>"dt_value"
, "dt_prefix"=>"dt_prefix"
);
/*
* Type of columns
*/
$this->type=array(
"dt_id"=>"numeric"
, "dt_value"=>"text"
, "dt_prefix"=>"text"
);
$this->default=array(
"dt_id"=>"auto"
);
$this->date_format="DD.MM.YYYY";
parent::__construct($p_cn, $p_id);
}
}

View file

@ -34,7 +34,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Fiche_def_ref_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn, $p_id=-1)
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.fiche_def_ref";
$this->primary_key="frd_id";

View file

@ -29,7 +29,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Jrn_def_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn, $p_id=-1)
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.jrn_def";
$this->primary_key="jrn_def_id";

View file

@ -34,7 +34,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Jrn_periode_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn, $p_id=-1)
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.jrn_periode";
$this->primary_key="id";

View file

@ -35,7 +35,7 @@ require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
class Menu_Ref_SQL extends Noalyss_SQL
{
function __construct(Database &$p_cn, $p_id=-1)
function __construct(DatabaseCore &$p_cn, $p_id=-1)
{
$this->table="public.menu_ref";
$this->primary_key="me_code";

View file

@ -0,0 +1,71 @@
<?php
/**
* Autogenerated file
* This file is part of NOALYSS.
*
* NOALYSS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NOALYSS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_op_predef_sql.php
*
*@file
*@brief abstract of the table public.op_predef */
class Op_predef_SQL extends Noalyss_SQL
{
function __construct(DatabaseCore $p_cn,$p_id=-1)
{
$this->table = "public.op_predef";
$this->primary_key = "od_id";
/*
* List of columns
*/
$this->name=array(
"od_id"=>"od_id"
,"jrn_def_id"=>"jrn_def_id"
,"od_name"=>"od_name"
,"od_item"=>"od_item"
,"od_jrn_type"=>"od_jrn_type"
,"od_direct"=>"od_direct"
,"od_description"=>"od_description"
);
/*
* Type of columns
*/
$this->type = array(
"od_id"=>"numeric"
,"jrn_def_id"=>"numeric"
,"od_name"=>"text"
,"od_item"=>"numeric"
,"od_jrn_type"=>"text"
,"od_direct"=>"boolean"
,"od_description"=>"text"
);
$this->default = array(
"od_id" => "auto"
);
$this->date_format = "DD.MM.YYYY";
parent::__construct($p_cn,$p_id);
}
}

View file

@ -35,7 +35,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Parm_periode_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn,$p_id=-1)
function __construct(DatabaseCore $p_cn,$p_id=-1)
{
$this->table = "public.parm_periode";
$this->primary_key = "p_id";

View file

@ -32,7 +32,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Payment_method_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn, $p_id=-1)
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.payment_method";
$this->primary_key="mp_id";

View file

@ -35,7 +35,7 @@ require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
class Poste_analytique_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn, $p_id=-1)
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.poste_analytique";
$this->primary_key="po_id";

View file

@ -0,0 +1,62 @@
<?php
/**
* Autogenerated file
* This file is part of NOALYSS.
*
* NOALYSS is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* NOALYSS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
require_once NOALYSS_INCLUDE.'/lib/noalyss_sql.class.php';
require_once NOALYSS_INCLUDE.'/class/database.class.php';
/**
* class_tag_group_sql.php
*
*@file
*@brief abstract of the table public.tag_group */
class Tag_group_SQL extends Noalyss_SQL
{
function __construct(DatabaseCore $p_cn,$p_id=-1)
{
$this->table = "public.tag_group";
$this->primary_key = "tg_id";
/*
* List of columns
*/
$this->name=array(
"tg_id"=>"tg_id"
,"tg_name"=>"tg_name"
);
/*
* Type of columns
*/
$this->type = array(
"tg_id"=>"numeric"
,"tg_name"=>"text"
);
$this->default = array(
"tg_id" => "auto"
);
$this->date_format = "DD.MM.YYYY";
parent::__construct($p_cn,$p_id);
}
}

View file

@ -37,12 +37,14 @@ class Tag_SQL extends Noalyss_SQL
, "t_tag" => "t_tag"
, "t_description" => "t_description"
,'t_actif'=>'t_actif'
,'t_color'=>'t_color'
);
$this->type = array(
"t_id" => "numeric"
, "t_tag" => "text"
, "t_description" => "text"
,'t_actif'=>"text"
,'t_color'=>"numeric"
);
$this->default = array(
"t_id" => "auto",

View file

@ -31,7 +31,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class Tva_rate_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn, $p_id=-1)
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.tva_rate";
$this->primary_key="tva_id";

View file

@ -31,7 +31,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class User_filter_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn, $p_id=-1)
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.user_filter";
$this->primary_key="id";
@ -56,6 +56,9 @@ class User_filter_SQL extends Noalyss_SQL
, "all_ledger"=>"all_ledger"
,"operation_filter"=>"operation_filter"
,'filter_name'=>"filter_name"
,'uf_tag'=>'uf_tag'
,'uf_tag_option'=>'uf_tag_option'
);
/*
* Type of columns
@ -78,6 +81,8 @@ class User_filter_SQL extends Noalyss_SQL
, "all_ledger"=>"numeric"
,"operation_filter"=>"text"
,"filter_name"=>"text"
,'uf_tag'=>'text'
,'uf_tag_option'=>'numeric'
);

View file

@ -31,7 +31,7 @@ require_once NOALYSS_INCLUDE.'/class/database.class.php';
class V_Tva_Rate_SQL extends Noalyss_SQL
{
function __construct(Database $p_cn, $p_id=-1)
function __construct(DatabaseCore $p_cn, $p_id=-1)
{
$this->table="public.v_tva_rate";
$this->primary_key="tva_id";