24require_once DOL_DOCUMENT_ROOT.
'/core/class/commonobject.class.php';
25require_once DOL_DOCUMENT_ROOT.
'/core/class/commonobjectline.class.php';
26require_once DOL_DOCUMENT_ROOT.
'/core/class/commonincoterm.class.php';
47 $selected = (empty($arraydata[
'selected']) ? 0 : $arraydata[
'selected']);
49 $return =
'<div class="box-flex-item box-flex-grow-zero">';
50 $return .=
'<div class="info-box info-box-sm">';
51 $return .=
'<div class="info-box-icon bg-infobox-action">';
54 $return .=
'<div class="info-box-content">';
55 $return .=
'<span class="info-box-ref inline-block tdoverflowmax150 valignmiddle">'.(method_exists($this,
'getNomUrl') ? $this->getNomUrl() : $this->ref).
'</span>';
56 $return .=
'<input id="cb'.$this->id.
'" class="flat checkforselect fright" type="checkbox" name="toselect[]" value="'.$this->
id.
'"'.($selected ?
' checked="checked"' :
'').
'>';
58 if (property_exists($this,
'thirdparty') && is_object($this->thirdparty)) {
59 $return .=
'<br><div class="info-box-ref tdoverflowmax150">'.$this->thirdparty->getNomUrl(1).
'</div>';
61 if (property_exists($this,
'total_ht')) {
62 $return .=
'<div class="info-box-ref amount">'.price($this->total_ht, 0, $langs, 0, -1, -1, $conf->currency).
' '.$langs->trans(
'HT').
'</div>';
64 if (method_exists($this,
'getLibStatut')) {
65 $return .=
'<div class="info-box-status margintoponly">'.$this->getLibStatut(5).
'</div>';
116 public $product_label;
122 public $product_tosell=0;
128 public $product_tobuy=0;
134 public $product_desc;
140 public $product_tobatch;
146 public $product_barcode;
171 public $product_type = 0;
183 public $remise_percent;
189 public $vat_src_code;
201 public $localtax1_tx;
207 public $localtax2_tx;
209 public $localtax1_type;
210 public $localtax2_type;
218 public $info_bits = 0;
220 public $special_code = 0;
222 public $fk_multicurrency;
223 public $multicurrency_code;
224 public $multicurrency_subprice;
225 public $multicurrency_total_ht;
226 public $multicurrency_total_tva;
227 public $multicurrency_total_ttc;
Parent class of all other business classes (invoices, contracts, proposals, orders,...
Parent class for class inheritance lines of business objects This class is useless for the moment so ...
Superclass for orders classes.
getKanbanView($option='', $arraydata=null)
Return clicable link of object (with eventually picto)
Superclass for orders classes.
$label
Custom label of line.
trait CommonIncoterm
Superclass for incoterm classes.
img_picto($titlealt, $picto, $moreatt='', $pictoisfullpath=false, $srconly=0, $notitle=0, $alt='', $morecss='', $marginleftonlyshort=2)
Show picto whatever it's its name (generic function)