19 require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
79 $type =
'supplier_payment';
82 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
119 $langs->load(
"bills");
120 return $langs->trans(
"NoDescription");
131 $langs->load(
"bills");
132 return $langs->trans(
"NoExample");
156 return $langs->trans(
"NotAvailable");
167 $langs->load(
"admin");
169 if ($this->version ==
'development') {
170 return $langs->trans(
"VersionDevelopment");
171 } elseif ($this->version ==
'experimental') {
172 return $langs->trans(
"VersionExperimental");
173 } elseif ($this->version ==
'dolibarr') {
175 } elseif ($this->version) {
176 return $this->version;
178 return $langs->trans(
"NotAvailable");