Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
ed74b696
Commit
ed74b696
authored
14 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Add TODO
parent
dc547cbb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/core/class/commonobject.class.php
+17
-13
17 additions, 13 deletions
htdocs/core/class/commonobject.class.php
with
17 additions
and
13 deletions
htdocs/core/class/commonobject.class.php
+
17
−
13
View file @
ed74b696
...
...
@@ -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's
t
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
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment