Clean code
This commit is contained in:
parent
118ff2d8d0
commit
b2576305c1
@ -1175,9 +1175,9 @@ class Thirdparties extends DolibarrApi
|
|||||||
/**
|
/**
|
||||||
* Generate a Document from a bank account record (like SEPA mandate)
|
* Generate a Document from a bank account record (like SEPA mandate)
|
||||||
*
|
*
|
||||||
* @param int $id thirdparty id
|
* @param int $id Thirdparty id
|
||||||
* @param int $companybankid companybankid
|
* @param int $companybankid Companybank id
|
||||||
* @param string $model model of document to generate
|
* @param string $model Model of document to generate
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @url GET {id}/generateBankAccountDocument/{companybankid}/{model}
|
* @url GET {id}/generateBankAccountDocument/{companybankid}/{model}
|
||||||
@ -1186,19 +1186,7 @@ class Thirdparties extends DolibarrApi
|
|||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
$this->langs->load("database");
|
$this->langs->loadLangs(array("main","dict","commercial","products","companies","banks","bills","withdrawals"));
|
||||||
$this->langs->load("main");
|
|
||||||
$this->langs->load("dict");
|
|
||||||
$this->langs->load("agenda");
|
|
||||||
$this->langs->load("margins");
|
|
||||||
$this->langs->load("resource");
|
|
||||||
$this->langs->load("commercial");
|
|
||||||
$this->langs->load("ecm");
|
|
||||||
$this->langs->load("products");
|
|
||||||
$this->langs->load("companies");
|
|
||||||
$this->langs->load("banks");
|
|
||||||
$this->langs->load("bills");
|
|
||||||
$this->langs->load("withdrawals");
|
|
||||||
|
|
||||||
$this->company->fetch($id);
|
$this->company->fetch($id);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user