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;
102 print
displayRankInfos($line->rankorder, $line->fk_skill,
'TNote', ($this->status == 0 && $permissiontoadd) ?
'edit' :
'view');
110if ($this->
statut == 0 && !empty($object_rights->creer) && $action !=
'selectlines') {
111 print
'<td class="linecoledit center">';
113 if (($line->info_bits & 2) == 2 || !empty($disableedit)) {
115 <a
class=
"editfielda reposition" href=
"<?php print $_SERVER["PHP_SELF
"].'?id='.$this->id.'&action=editline&lineid='.$line->id.'#line_'.$line->id; ?>">
141 $coldisplay = $coldisplay + 3;
144if ($action ==
'selectlines') { ?>
145 <td
class=
"linecolcheck center"><input
type=
"checkbox" class=
"linecheckbox" name=
"line_checkbox[<?php print $i + 1; ?>]" value=
"<?php print $line->id; ?>" ></td>
150print
"<!-- 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 dolibarr global constant string value.
img_edit($titlealt='default', $float=0, $other='')
Show logo edit/modify fiche.
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.
publicphonebutton2 phonegreen basiclayout basiclayout TotalHT VATCode TotalVAT TotalLT1 TotalLT2 TotalTTC TotalHT clearboth nowraponall TAKEPOS_SHOW_SUBPRICE right right right takeposterminal SELECT e e e e e statut