Ajuste, aplicando filtro de consulta por conter NF no relatório

This commit is contained in:
Kenio 2025-09-29 11:30:48 -03:00
parent 7831b76c33
commit a44c303e7c

View file

@ -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
];