53 print
"Error, template page can't be called as URL";
58global $forceall, $senderissupplier, $inputalsopricewithtax, $outputalsopricetotalwithtax;
61$domData =
' data-element="'.$line->element.
'"';
62$domData .=
' data-id="'.$line->id.
'"';
63$domData .=
' data-qty="'.$line->qty.
'"';
64$domData .=
' data-product_type="'.$line->product_type.
'"';
68<!-- BEGIN PHP TEMPLATE htm/core/tpl/objectline_view.tpl.php -->
69<tr
id=
"row-<?php print $line->id?>" class=
"drag drop oddeven" <?php print $domData; ?> >
71 <td
class=
"linecolnum center"><span
class=
"opacitymedium"><?php $coldisplay++; ?><?php print($i + 1); ?></span></td>
73 <td
class=
"linecollabel"><?php $coldisplay++; ?><div
id=
"line_<?php print $line->id; ?>"></div>
75if ($line->fk_skill > 0) {
76 $skill =
new Skill($this->db);
77 $resSkill = $skill->fetch($line->fk_skill);
86if ($line->fk_skill > 0) {
87 print $skill->getNomUrl(1);
92 <td
class=
"linecoldescription minwidth300imp"><?php $coldisplay++; ?>
96if ($line->fk_skill > 0 && $resSkill > 0) {
102 <td
class=
"linecolrank nowrap right"><?php $coldisplay++; ?>
105 global $permissiontoadd;
108print
displayRankInfos($line->rankorder, $line->fk_skill,
'TNote', ($this->status == 0 && $permissiontoadd) ?
'edit' :
'view');
117if ($action ==
'selectlines') { ?>
118 <td
class=
"linecolcheck center"><input
type=
"checkbox" class=
"linecheckbox" name=
"line_checkbox[<?php print $i + 1; ?>]" value=
"<?php print $line->id; ?>" ></td>
123print
"<!-- 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.