Code documentation

This commit is contained in:
sparkyx 2025-06-21 16:13:15 +02:00
parent 0819798509
commit 6f2cb34e6e
18 changed files with 60 additions and 22 deletions

View file

@ -18,6 +18,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
/**
* @file
* @brief display list of other concerned person in Follow Up
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$http=new HttpInput(); $http=new HttpInput();
try { try {

View file

@ -20,7 +20,8 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
/* !\file /*!
* \file
* \brief respond ajax request, the get contains * \brief respond ajax request, the get contains
* the value : * the value :
* - l for ledger * - l for ledger
@ -29,7 +30,8 @@
*/ */
/* !\file /*!
* \file
* \brief get the saldo of a account * \brief get the saldo of a account
* the get variable are : * the get variable are :
* - l the jrn id * - l the jrn id

View file

@ -18,7 +18,10 @@
*/ */
// Copyright Author Dany De Bontridder danydb@noalyss.eu // Copyright Author Dany De Bontridder danydb@noalyss.eu
/**
* @file
* @brief FORECAST Edition
*/
if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); if (!defined('ALLOWED')) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE . "/database/forecast_sql.class.php"; require_once NOALYSS_INCLUDE . "/database/forecast_sql.class.php";

View file

@ -25,7 +25,7 @@ if (!defined('ALLOWED'))
/** /**
* @file * @file
* @brief * @brief for module C0TAG , add or remove a set of tags
*/ */
global $g_user; global $g_user;
$g_user->can_request('C0TAG'); $g_user->can_request('C0TAG');

View file

@ -24,8 +24,7 @@ if (!defined('ALLOWED'))
/** /**
* @file * @file
* @brief * @brief For the module C0TVA, save info
* @param type $name Descriptionara
*/ */
if ( $g_user->check_module('C0TVA') ==0 ) if ( $g_user->check_module('C0TVA') ==0 )

View file

@ -19,12 +19,13 @@
*/ */
/*** /**
* @file * @file
* @brief display or export operations in HTML , PDF or CSV * @brief display or export operations in HTML , PDF or CSV
* *
*/ */
/** /**
* @class
* @brief Display history of operation * @brief Display history of operation
* @see acc_ledger_historyTest.php * @see acc_ledger_historyTest.php
*/ */

View file

@ -21,12 +21,13 @@
/** /**
* @file * @file
* @brief Acc_Ledger_History : Manage the list (history) of operations for display * @brief Acc_Ledger_History_Sale : Manage the list (history) of operations for display
* display or export operations in HTML , PDF or CSV * display or export operations in HTML , PDF or CSV
*/ */
/** /**
* @brief Acc_Ledger_History : Manage the list (history) of operations for display *@class Acc_Ledger_History_Sale
*@brief Acc_Ledger_History : Manage the list (history) of operations for display
*/ */
class Acc_Ledger_History_Sale extends Acc_Ledger_History class Acc_Ledger_History_Sale extends Acc_Ledger_History
{ {

View file

@ -19,14 +19,14 @@
*/ */
/*** /**
* @file * @file
* @brief this class let you insert reconcilied operation from Lettering::save without calling auto_letter * @brief this class let you insert reconcilied operation from Lettering::save without calling auto_letter
* *
*/ */
/*** /**
* @class * @class Acc_Reconciliation_Lettering
* @brief this class let you insert reconcilied operation from Lettering::save without calling auto_letter * @brief this class let you insert reconcilied operation from Lettering::save without calling auto_letter
* *
*/ */

View file

@ -19,7 +19,15 @@
// Copyright 2022 Author Dany De Bontridder dany@alchimerys.be // Copyright 2022 Author Dany De Bontridder dany@alchimerys.be
/**
* @file
* @brief Class Additional_Tax : for additional class (France)
*/
/**
* @class Additional_Tax
* @brief Additional tax , Canada and France on sales
*/
class Additional_Tax class Additional_Tax
{ {
private $tax_amount; private $tax_amount;

View file

@ -20,7 +20,7 @@
*/ */
/*** /**
* @file * @file
* @brief class Document_State_MTable * @brief class Document_State_MTable
* @see Manage_Table_SQL * @see Manage_Table_SQL
@ -28,6 +28,7 @@
*/ */
require_once NOALYSS_INCLUDE.'/database/document_state_sql.class.php'; require_once NOALYSS_INCLUDE.'/database/document_state_sql.class.php';
/** /**
* @class Document_State_MTable
* @brief this instance extends Manage_Table_SQL and aims to manage * @brief this instance extends Manage_Table_SQL and aims to manage
* the Table tmp_pcmn thanks a web interface (add , delete, display...) * the Table tmp_pcmn thanks a web interface (add , delete, display...)
* *

View file

@ -19,7 +19,11 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu 6/01/24 // Copyright Author Dany De Bontridder danydb@aevalys.eu 6/01/24
/*! /*!
* \file * \file
* \brief * \brief Closing operation
*/
/*!
* \class Operation_Closing
* \brief closing operation , end of exercice for French accountancy
*/ */
class Operation_Closing extends Operation_Exercice class Operation_Closing extends Operation_Exercice
{ {

View file

@ -18,10 +18,14 @@
*/ */
// Copyright Author Dany De Bontridder danydb@aevalys.eu 6/01/24 // Copyright Author Dany De Bontridder danydb@aevalys.eu 6/01/24
/*! /*!
* \file * \file
* \brief * \brief Special operations end or start of exercice
*/ */
/**
* @class Operation_Exercice
* @brief Special operations end or start of exercice
*/
class Operation_Exercice class Operation_Exercice
{ {
protected $operation_exercice_sql; protected $operation_exercice_sql;

View file

@ -17,7 +17,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
/**
* @file
* @brief define constant related to the security
*/
define ('FICADD',800); /* Ajout de fiche */ define ('FICADD',800); /* Ajout de fiche */
define ("FIC",805); //Création, modification et effacement de fiche define ("FIC",805); //Création, modification et effacement de fiche
define ("FICCAT",910); //création, modification et effacement de catégorie de fiche define ("FICCAT",910); //création, modification et effacement de catégorie de fiche

View file

@ -17,7 +17,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
/**
* @file
* @brief Export Main Ledger in CSV
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public'); header('Pragma: public');
header('Content-type: application/csv'); header('Content-type: application/csv');

View file

@ -20,6 +20,10 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
// Copyright Author Dany De Bontridder danydb@aevalys.eu // Copyright Author Dany De Bontridder danydb@aevalys.eu
/**
* @file
* @brief export ANC Receipt with detail of operation and documents in PDF
*/
if (!defined('ALLOWED')) if (!defined('ALLOWED'))
die('Appel direct ne sont pas permis'); die('Appel direct ne sont pas permis');
@ -27,7 +31,7 @@ if (!defined('ALLOWED'))
session_write_close(); session_write_close();
/** /**
* export all the selected documents for Ana Accountancy in PDF * export all the selected documents for Anc Accountancy in PDF
*/ */
$http=new HttpInput(); $http=new HttpInput();
$ck = $http->get('ck',"string", 0); $ck = $http->get('ck',"string", 0);

View file

@ -1,5 +1,5 @@
<?php <?php
/*** /**
* @file * @file
* @brief output a PDF with card info * @brief output a PDF with card info
* *

View file

@ -21,7 +21,7 @@
// Copyright Author Dany De Bontridder danydb@noalyss.eu // Copyright Author Dany De Bontridder danydb@noalyss.eu
/** /**
* @file * @file
* @brief * @brief export in CSV P0TVA , Tax Summary
* *
*/ */
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');

View file

@ -3,7 +3,8 @@
//see licence.txt //see licence.txt
/** /**
* Export to CSV the operations asked in impress_rec.inc.php * @file
* @brief Export to CSV the operations asked in impress_rec.inc.php
* variable set $g_user,$cn * variable set $g_user,$cn
* @see impress_rec.inc.php * @see impress_rec.inc.php
*/ */