Skip to content
Snippets Groups Projects
Commit ed74b696 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Add TODO

parent dc547cbb
No related branches found
No related tags found
No related merge requests found
......@@ -1185,7 +1185,7 @@ class CommonObject
}
/**
* \brief Fetch field list
* Fetch field list
*/
function getFieldList()
{
......@@ -1309,13 +1309,15 @@ class CommonObject
// All functions here must be moved into a hhtml class file
// TODO: All functions here must be moved into a lib file and included into page as they are not business code
// but only "view" code.
/**
* Show add predefined products/services form
* TODO This should be moved into a html.class file instead of a business class.
* TODO Move this into page (into a lib.php file if mutualized. No code for output must be present into a business class).
* But for the moment we don't know if it'st possible as we keep a method available on overloaded objects.
* @param $dateSelector 1=Show also date range input fields
*/
......@@ -1330,7 +1332,7 @@ class CommonObject
/**
* Show add free products/services form
* TODO This should be moved into a html.class file instead of a business class. But for
* TODO Move this into page (into a lib.php file if mutualized. No code for output must be present into a business class).
* But for the moment we don't know if it'st possible as we keep a method available on overloaded objects.
* @param $dateSelector 1=Show also date range input fields
*/
......@@ -1345,7 +1347,7 @@ class CommonObject
/**
* Show linked object block
* TODO This must be moved into a html.class file instead of a business class.
* TODO Move this into page (into a lib.php file if mutualized. No code for output must be present into a business class).
* But for the moment we don't know if it'st possible as we keep a method available on overloaded objects.
* @param $objecttype Type of object (invoice, propal, order, invoice_supplier, order_supplier, ...)
* @param $objectid
......@@ -1380,7 +1382,7 @@ class CommonObject
/**
* Return HTML table with title list
* TODO This must be moved into a html.class file instead of a business class.
* TODO Move this into page (into a lib.php file if mutualized. No code for output must be present into a business class).
* But for the moment we don't know if it'st possible as we keep a method available on overloaded objects.
*/
function print_title_list()
......@@ -1407,7 +1409,7 @@ class CommonObject
* @param $dateSelector Show date input fields (if service)
* @param $seller Object of seller third party
* @param uyer Object of buyer third party
* TODO This must be moved into a html.class file instead of a business class.
* TODO Move this into page (into a lib.php file if mutualized. No code for output must be present into a business class).
*/
function printLinesList($dateSelector=0,$seller,$buyer)
{
......@@ -1441,8 +1443,8 @@ class CommonObject
* @param $dateSelector 1=Show also date range input fields
* @param $seller Object of seller third party
* @param $buyer Object of buyer third party
* TODO This must be moved into a html.class file instead of a business class.
* But for the moment we don't know if it'st possible as we keep a method available on overloaded objects.
* TODO Move this into page (into a lib.php file if mutualized. No code for output must be present into a business class).
* But for the moment we don't know if it's possible as we keep a method available on overloaded objects.
*/
function printLine($line,$var=true,$num=0,$i=0,$dateSelector=0,$seller,$buyer)
{
......@@ -1504,6 +1506,7 @@ class CommonObject
/**
* Return HTML with list of origin lines
* TODO Move this into page (into a lib.php file if mutualized. No code for output must be present into a business class).
*/
function printOriginLinesList()
{
......@@ -1530,6 +1533,7 @@ class CommonObject
/**
* Return HTML with origin line
* TODO Move this into page (into a lib.php file if mutualized. No code for output must be present into a business class).
* @param element Element type
* @param id Element id
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment