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';
120 $langs->load(
"bills");
121 return $langs->trans(
"NoDescription");
132 $langs->load(
"bills");
133 return $langs->trans(
"NoExample");
157 return $langs->trans(
"NotAvailable");
168 $langs->load(
"admin");
170 if ($this->version ==
'development') {
171 return $langs->trans(
"VersionDevelopment");
172 } elseif ($this->version ==
'experimental') {
173 return $langs->trans(
"VersionExperimental");
174 } elseif ($this->version ==
'dolibarr') {
176 } elseif ($this->version) {
177 return $this->version;
179 return $langs->trans(
"NotAvailable");