Debug
This commit is contained in:
parent
f7ebd661e7
commit
0dfb068d92
1 changed files with 2 additions and 5 deletions
7
vendor/model/FinancialCategories.class.php
vendored
7
vendor/model/FinancialCategories.class.php
vendored
|
|
@ -207,14 +207,12 @@ class FinancialCategories
|
|||
}else{//Se o ID não foi informado, grava-se um novo registro
|
||||
|
||||
/** Consulta SQL */
|
||||
$this->sql = 'insert into financial_categories(company_id,
|
||||
user_id,
|
||||
$this->sql = 'insert into financial_categories(user_id,
|
||||
description,
|
||||
active,
|
||||
type,
|
||||
reference
|
||||
) values (:company_id,
|
||||
:user_id,
|
||||
) values (:user_id,
|
||||
:description,
|
||||
:active,
|
||||
:type,
|
||||
|
|
@ -225,7 +223,6 @@ class FinancialCategories
|
|||
|
||||
/** Preencho os parâmetros do SQL */
|
||||
$this->stmt->bindParam('user_id', $_SESSION['USERSID']);/** Informa o usuário responsável pelo novo cliente cadastrado */
|
||||
$this->stmt->bindParam('company_id', $_SESSION['USERSCOMPANYID']);/** Informa a qual empresa pertence o cliente */
|
||||
$this->stmt->bindParam('description', $this->description);
|
||||
$this->stmt->bindParam('active', $this->active);
|
||||
$this->stmt->bindParam('type', $this->type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue