Ejemplo n.º 1
0
 /** Constructor which will set the importable_fields as $this->importable_fields[$key]=1 in this object where key is the fieldname in the field table
  */
 function ImportAccount()
 {
     parent::Accounts();
     $this->log = LoggerManager::getLogger('import_account');
     $this->db = PearDatabase::getInstance();
     $this->db->println("IMP ImportAccount");
     $this->initImportableFields("Accounts");
     $this->db->println($this->importable_fields);
 }
Ejemplo n.º 2
0
 function BankAndCashAccounts($where_clause, $enddate, $open_or_close_bal)
 {
     $this->open_or_close_bal = $open_or_close_bal;
     $bank_ac3 = get_bank_ac3();
     $cash_ac3 = get_cash_ac3();
     parent::Accounts("{$where_clause} AND (AC_ID3={$bank_ac3} OR AC_ID3={$cash_ac3})", "", $enddate, "");
 }