21if (empty($conf) || !is_object($conf)) {
22 print
"Error, template page can't be called as URL";
28<!-- BEGIN PHP TEMPLATE originproductline.tpl.php -->
30print
'<tr data-id="'.$this->tpl[
'id'].
'" class="oddeven'.(empty($this->tpl[
'strike']) ?
'' :
' strikefordisabled').
'">';
31print
'<td class="linecolref">'.$this->tpl[
'label'].
'</td>';
32print
'<td class="linecoldescription">'.$this->tpl[
'description'].
'</td>';
33print
'<td class="linecolvat right">'.$this->tpl[
'vat_rate'].
'</td>';
34print
'<td class="linecoluht right">'.$this->tpl[
'price'].
'</td>';
35if (isModEnabled(
"multicurrency")) {
36 print
'<td class="linecoluht_currency right">'.$this->tpl[
'multicurrency_price'].
'</td>';
39print
'<td class="linecolqty right">'.$this->tpl[
'qty'].
'</td>';
41 print
'<td class="linecoluseunit left">'.$langs->trans($this->tpl[
'unit']).
'</td>';
44print
'<td class="linecoldiscount right">'.$this->tpl[
'remise_percent'].
'</td>';
45print
'<td class="linecolht right">'.$this->tpl[
'total_ht'].
'</td>';
48if (!empty($selectedLines) && !in_array($this->tpl[
'id'], $selectedLines)) {
51print
'<td class="center">';
52print
'<input id="cb'.$this->tpl[
'id'].
'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$this->tpl[
'id'].
'"'.($selected ?
' checked="checked"' :
'').
'>';
56<!-- END PHP TEMPLATE originproductline.tpl.php -->
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.