dolibarr
16.0.5
Main Page
Related Pages
Modules
Classes
Files
Examples
File List
File Members
dolibarr_16.0
htdocs
hrm
core
tpl
objectline_title.tpl.php
1
<?php
2
/* Copyright (C) 2010-2013 Regis Houssin <regis.houssin@inodbox.com>
3
* Copyright (C) 2010-2011 Laurent Destailleur <eldy@users.sourceforge.net>
4
* Copyright (C) 2012-2013 Christophe Battarel <christophe.battarel@altairis.fr>
5
* Copyright (C) 2012 Cédric Salvador <csalvador@gpcsolutions.fr>
6
* Copyright (C) 2012-2014 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
7
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
8
* Copyright (C) 2017 Juanjo Menent <jmenent@2byte.es>
9
* Copyright (C) 2021 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr>
10
* Copyright (C) 2021 Greg Rastklan <greg.rastklan@atm-consulting.fr>
11
* Copyright (C) 2021 Jean-Pascal BOUDET <jean-pascal.boudet@atm-consulting.fr>
12
* Copyright (C) 2021 Grégory BLEMAND <gregory.blemand@atm-consulting.fr>
13
*
14
* This program is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation; either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This program is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
23
*
24
* You should have received a copy of the GNU General Public License
25
* along with this program. If not, see <https://www.gnu.org/licenses/>.
26
*
27
* Need to have following variables defined:
28
* $object (invoice, order, ...)
29
* $conf
30
* $langs
31
* $element (used to test $user->rights->$element->creer)
32
* $permtoedit (used to replace test $user->rights->$element->creer)
33
* $inputalsopricewithtax (0 by default, 1 to also show column with unit price including tax)
34
* $outputalsopricetotalwithtax
35
* $usemargins (0 to disable all margins columns, 1 to show according to margin setup)
36
*
37
* $type, $text, $description, $line
38
*/
39
40
// Protection to avoid direct call of template
41
if
(empty($object) || !is_object($object)) {
42
print
"Error, template page can't be called as URL"
;
43
exit;
44
}
45
46
print
"<!-- BEGIN PHP TEMPLATE objectline_title.tpl.php -->\n"
;
47
48
// Title line
49
print
"<thead>\n"
;
50
51
print
'<tr class="liste_titre nodrag nodrop">'
;
52
53
// Adds a line numbering column
54
if
(!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) {
55
print
'<td class="linecolnum center"> </td>'
;
56
}
57
58
// Skill type
59
print
'<td class="linecollabel">'
.$langs->trans(
'SkillType'
).
'</td>'
;
60
61
// Label skill
62
print
'<td class="linecollabel">'
.$langs->trans(
'Label'
).
'</td>'
;
63
64
// Description
65
print
'<td class="linecoldescription">'
.$langs->trans(
'Description'
).
'</td>'
;
66
67
// Note
68
print
'<td class="linecolrank right" style="width: 80px">'
.$langs->trans(
'EmployeeRank'
).
'</td>'
;
69
70
71
//print '<td class="linecoledit"></td>'; // No width to allow autodim
72
73
//print '<td class="linecoldelete" style="width: 10px"></td>';
74
75
//print '<td class="linecolmove" style="width: 10px"></td>';
76
77
print
"</tr>\n"
;
78
print
"</thead>\n"
;
79
80
print
"<!-- END PHP TEMPLATE objectline_title.tpl.php -->\n"
;
Generated on Sun Feb 4 2024 01:00:55 for
dolibarr
by Doxygen 1.8.17