Debug
This commit is contained in:
parent
289a175be8
commit
60fc3836ef
2 changed files with 3 additions and 2 deletions
|
|
@ -534,6 +534,7 @@ class DocumentsValidate
|
|||
|
||||
/** Trata a entrada da informação */
|
||||
$this->path = isset($path) ? (string)$this->Main->antiInjection($path) : null;
|
||||
$this->dirCompany = $this->getCompanyId();
|
||||
|
||||
/** Verifica se a informação não foi informada */
|
||||
if( (empty($this->path)) && ($this->documentsId == 0) )
|
||||
|
|
|
|||
4
vendor/view/documents/documents_view.php
vendored
4
vendor/view/documents/documents_view.php
vendored
|
|
@ -41,8 +41,8 @@ try{
|
|||
|
||||
/** Diretório do arquivo */
|
||||
$dirGeral = $config->app->ged;//Caminho aonde serão gravados os arquivos
|
||||
$dirDocument = (int)$DocumentsResult->financial_movements_id > 0 ? 'financial' : "documents";
|
||||
$dirCompany = isset($_SESSION['USERSCOMPANYID']) && $_SESSION['USERSCOMPANYID'] > 0 ? $Main->setzeros($_SESSION['USERSCOMPANYID'], 8) : 0;
|
||||
$dirDocument = ((int)$DocumentsResult->financial_movements_id) > 0 ? 'financial' : "documents";
|
||||
$dirCompany = $DocumentsResult->company_id;
|
||||
$dirYear = date('Y', strtotime($DocumentsResult->date_register));
|
||||
$dirMonth = date('m', strtotime($DocumentsResult->date_register));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue