Skip to content

Commit

Permalink
Update formato data Financeiro.php (#2205)
Browse files Browse the repository at this point in the history
correção linah 48 financeiro.php
  • Loading branch information
Fesantt authored Sep 19, 2023
1 parent 5af4997 commit 0c5308d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/controllers/Financeiro.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public function lancamentos()
$date = DateTime::createFromFormat('d/m/Y', $vencimento_de);

if (empty($where)) {
$where = "data_vencimento >= '$date'";
$dateString = $date->format('Y-m-d');
$where = "data_vencimento >= '$dateString'";
} else {
$where .= " AND data_vencimento >= '$date'";
}
Expand Down

0 comments on commit 0c5308d

Please sign in to comment.