Ajuste, aplicando filtro de consulta por conter NF no relatório
This commit is contained in:
parent
c7ae6022be
commit
cd08834336
1 changed files with 24 additions and 14 deletions
|
|
@ -321,26 +321,36 @@ try{
|
|||
$body .= ' </tbody>';
|
||||
$body .= '</table>';
|
||||
|
||||
/** Verifica se o status */
|
||||
if($FinancialMovementsValidate->getStatusSearch() == 3){
|
||||
|
||||
/** Verifica o tipo da impressão */
|
||||
switch($FinancialMovementsValidate->getType()){
|
||||
|
||||
|
||||
case 'E':
|
||||
$body .= '<br/>';
|
||||
$body .= 'Total de itens: '.$i.'<br/>';
|
||||
$body .= 'Total Geral R$ '.number_format(($totalGeneral-$totalFees), 2, ',', '.').'<br/>';
|
||||
|
||||
$body .= '<br/>';
|
||||
$body .= 'Total R$ '.number_format($totalGeneral, 2, ',', '.').'<br/>';
|
||||
$body .= '<span style="color:red">Total Taxas - R$ '.number_format($totalFees, 2, ',', '.').'</span><br/>';
|
||||
$body .= 'Total Geral R$ '.number_format(($totalGeneral-$totalFees), 2, ',', '.').'<br/>';
|
||||
} else {
|
||||
|
||||
break;
|
||||
/** Verifica o tipo da impressão */
|
||||
switch($FinancialMovementsValidate->getType()){
|
||||
|
||||
|
||||
case 'E':
|
||||
|
||||
case 'S':
|
||||
$body .= '<br/>';
|
||||
$body .= 'Total R$ '.number_format($totalGeneral, 2, ',', '.').'<br/>';
|
||||
$body .= '<span style="color:red">Total Taxas - R$ '.number_format($totalFees, 2, ',', '.').'</span><br/>';
|
||||
$body .= 'Total Geral R$ '.number_format(($totalGeneral-$totalFees), 2, ',', '.').'<br/>';
|
||||
|
||||
$body .= '<br/>';
|
||||
$body .= 'Total R$ '.number_format($totalGeneral, 2, ',', '.').'<br/>';
|
||||
break;
|
||||
|
||||
break;
|
||||
case 'S':
|
||||
|
||||
$body .= '<br/>';
|
||||
$body .= 'Total R$ '.number_format($totalGeneral, 2, ',', '.').'<br/>';
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue