dolibarr 21.0.0-alpha
commonincoterm.class.php File Reference

File of the superclass of object classes that support incoterm (customer and supplier) More...

Go to the source code of this file.

Functions

 display_incoterms ()
 Return incoterms information TODO Use a cache for label get.
 
 getIncotermsForPDF ()
 Return incoterms information for pdf display.
 
 setIncoterms ($id_incoterm, $location)
 Define incoterms values of current object.
 

Detailed Description

File of the superclass of object classes that support incoterm (customer and supplier)

Definition in file commonincoterm.class.php.

Function Documentation

◆ display_incoterms()

display_incoterms ( )

Return incoterms information TODO Use a cache for label get.

Returns
string incoterms info

Definition at line 65 of file commonincoterm.class.php.

◆ getIncotermsForPDF()

getIncotermsForPDF ( )

Return incoterms information for pdf display.

Returns
string|boolean Incoterms info or false

Definition at line 92 of file commonincoterm.class.php.

◆ setIncoterms()

setIncoterms ( $id_incoterm,
$location )

Define incoterms values of current object.

Parameters
int$id_incotermId of incoterm to set or '' to remove
string$locationlocation of incoterm
Returns
int Return integer <0 if KO, >0 if OK

Definition at line 121 of file commonincoterm.class.php.

References dol_syslog().