Debug
This commit is contained in:
parent
5472a86033
commit
b55d1c1186
2 changed files with 3 additions and 4 deletions
|
|
@ -25,10 +25,6 @@ try{
|
|||
$FinancialMovementsValidate->setPath($path);
|
||||
$FinancialMovementsValidate->setDocumentsCategorysId($documentsCategorysId);
|
||||
|
||||
|
||||
echo $FinancialMovementsValidate->getDocumentsCategorysId();
|
||||
exit;
|
||||
|
||||
/** Verifica se não existem erros a serem informados */
|
||||
if (!empty($FinancialMovementsValidate->getErrors())) {
|
||||
|
||||
|
|
|
|||
3
vendor/model/Documents.class.php
vendored
3
vendor/model/Documents.class.php
vendored
|
|
@ -273,6 +273,7 @@ class Documents
|
|||
/** Consulta SQL */
|
||||
$this->sql = 'insert into documents(user_id,
|
||||
company_id,
|
||||
documents_categorys_id,
|
||||
description,
|
||||
archive,
|
||||
extension,
|
||||
|
|
@ -280,6 +281,7 @@ class Documents
|
|||
tag
|
||||
) values (:user_id,
|
||||
:company_id,
|
||||
:documents_categorys_id,
|
||||
:description,
|
||||
:archive,
|
||||
:extension,
|
||||
|
|
@ -292,6 +294,7 @@ class Documents
|
|||
/** Preencho os parâmetros do SQL */
|
||||
$this->stmt->bindParam('user_id', $_SESSION['USERSID']);/** Informa o usuário responsável pelo novo arquivo cadastrado */
|
||||
$this->stmt->bindParam('company_id', $this->companyId);
|
||||
$this->stmt->bindParam('documents_categorys_id', $this->documentsCategorysId);
|
||||
$this->stmt->bindParam('description', $this->description);
|
||||
$this->stmt->bindParam('archive', $this->archive);
|
||||
$this->stmt->bindParam('extension', $this->extension);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue