47 print
"Error, template page can't be called as URL";
52global $forceall, $senderissupplier, $inputalsopricewithtax, $outputalsopricetotalwithtax;
55$domData =
' data-element="'.$line->element.
'"';
56$domData .=
' data-id="'.$line->id.
'"';
57$domData .=
' data-qty="'.$line->qty.
'"';
58$domData .=
' data-product_type="'.$line->product_type.
'"';
62<!-- BEGIN PHP TEMPLATE htm/core/tpl/objectline_view.tpl.php -->
63<tr
id=
"row-<?php print $line->id?>" class=
"drag drop oddeven" <?php print $domData; ?> >
65 <td
class=
"linecolnum center"><span
class=
"opacitymedium"><?php $coldisplay++; ?><?php print($i + 1); ?></span></td>
67 <td
class=
"linecollabel"><?php $coldisplay++; ?><div
id=
"line_<?php print $line->id; ?>"></div>
69if ($line->fk_skill > 0) {
70 $skill =
new Skill($this->db);
71 $resSkill = $skill->fetch($line->fk_skill);
80if ($line->fk_skill > 0) {
81 print $skill->getNomUrl(1);
86 <td
class=
"linecoldescription minwidth300imp"><?php $coldisplay++; ?>
90if ($line->fk_skill > 0 && $resSkill > 0) {
96 <td
class=
"linecolrank nowrap right"><?php $coldisplay++; ?>
99 global $permissiontoadd;
102print
displayRankInfos($line->rankorder, $line->fk_skill,
'TNote', ($this->status == 0 && $permissiontoadd) ?
'edit' :
'view');
111if ($action ==
'selectlines') { ?>
112 <td
class=
"linecolcheck center"><input
type=
"checkbox" class=
"linecheckbox" name=
"line_checkbox[<?php print $i + 1; ?>]" value=
"<?php print $line->id; ?>" ></td>
117print
"<!-- END PHP TEMPLATE objectline_view.tpl.php -->\n";
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
static typeCodeToLabel($code)
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
displayRankInfos($selected_rank, $fk_skill, $inputname='TNote', $mode='view')
Used to print ranks of a skill into several case, view or edit pour js necessary to select a rank.
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
$conf db name
Only used if Module[ID]Name translation string is not found.