From 233f488ae08ad254d07c1f4134aca6425f266cba Mon Sep 17 00:00:00 2001 From: Felipe Santt <33626716+Fesantt@users.noreply.github.com> Date: Mon, 18 Sep 2023 14:27:38 -0500 Subject: [PATCH] Update formato data Financeiro.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit correção linah 48 financeiro.php --- application/controllers/Financeiro.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/Financeiro.php b/application/controllers/Financeiro.php index beb05cd77..3bcf24bd6 100644 --- a/application/controllers/Financeiro.php +++ b/application/controllers/Financeiro.php @@ -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'"; }