Ajuste, aplicando filtro de consulta por conter NF no relatório
This commit is contained in:
parent
7831b76c33
commit
a44c303e7c
1 changed files with 5 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ try{
|
|||
$printType = isset($_POST['printType']) ? (int)filter_input(INPUT_POST,'printType', FILTER_SANITIZE_SPECIAL_CHARS) : 0;
|
||||
$orientation = null;
|
||||
$dir = 'temp/';
|
||||
$title = "";
|
||||
|
||||
/** Controles */
|
||||
$i=0;
|
||||
|
|
@ -114,14 +115,17 @@ try{
|
|||
if ($FinancialMovementsValidate->getStatusSearch() == 3) {
|
||||
|
||||
$header .= 'NOTAS EMITIDAS';
|
||||
$title = "Relatório - Notas Emitidas";
|
||||
|
||||
}elseif($FinancialMovementsValidate->getType() == 'E'){
|
||||
|
||||
$header .= 'ENTRADAS';
|
||||
$title = "Relatório - Entradas";
|
||||
|
||||
}elseif($FinancialMovementsValidate->getType() == 'S'){
|
||||
|
||||
$header .= 'SAÍDAS';
|
||||
$title = "Relatório - Saídas";
|
||||
}
|
||||
|
||||
$header .= '</h2>';
|
||||
|
|
@ -372,7 +376,7 @@ try{
|
|||
$result = [
|
||||
|
||||
'cod' => 98,
|
||||
'title' => 'Visualizando o arquivo do boleto',
|
||||
'title' => $title,
|
||||
'file' => $dir.$nameFile
|
||||
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue