Skip to content

Commit

Permalink
Update formato data Financeiro.php
Browse files Browse the repository at this point in the history
correção linah 48 financeiro.php
  • Loading branch information
Fesantt authored Sep 18, 2023
1 parent 5af4997 commit 233f488
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 233f488

Please sign in to comment.