move companybankaccount class to societe directory
This commit is contained in:
parent
90e1903c95
commit
bf2e3e80df
@ -29,7 +29,7 @@
|
|||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/company.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/company.lib.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/bank.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/bank.lib.php");
|
||||||
require_once DOL_DOCUMENT_ROOT."/companybankaccount.class.php";
|
require_once DOL_DOCUMENT_ROOT."/societe/companybankaccount.class.php";
|
||||||
|
|
||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
$langs->load("banks");
|
$langs->load("banks");
|
||||||
|
|||||||
@ -1475,7 +1475,7 @@ class Societe extends CommonObject
|
|||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT . "/companybankaccount.class.php";
|
require_once DOL_DOCUMENT_ROOT . "/societe/companybankaccount.class.php";
|
||||||
|
|
||||||
$bac = new CompanyBankAccount($this->db);
|
$bac = new CompanyBankAccount($this->db);
|
||||||
$bac->socid = $this->id;
|
$bac->socid = $this->id;
|
||||||
@ -1498,7 +1498,7 @@ class Societe extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function load_ban()
|
function load_ban()
|
||||||
{
|
{
|
||||||
require_once DOL_DOCUMENT_ROOT . "/companybankaccount.class.php";
|
require_once DOL_DOCUMENT_ROOT . "/societe/companybankaccount.class.php";
|
||||||
|
|
||||||
$bac = new CompanyBankAccount($this->db, $this->id);
|
$bac = new CompanyBankAccount($this->db, $this->id);
|
||||||
$bac->fetch($this->id);
|
$bac->fetch($this->id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user