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)
|
||||
*
|
||||
* @param int $id thirdparty id
|
||||
* @param int $companybankid companybankid
|
||||
* @param string $model model of document to generate
|
||||
* @param int $id Thirdparty id
|
||||
* @param int $companybankid Companybank id
|
||||
* @param string $model Model of document to generate
|
||||
* @return void
|
||||
*
|
||||
* @url GET {id}/generateBankAccountDocument/{companybankid}/{model}
|
||||
@ -1186,19 +1186,7 @@ class Thirdparties extends DolibarrApi
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$this->langs->load("database");
|
||||
$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->langs->loadLangs(array("main","dict","commercial","products","companies","banks","bills","withdrawals"));
|
||||
|
||||
$this->company->fetch($id);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user