Skip to content

Commit

Permalink
FIX: Supplier Order search on date valid (#30448)
Browse files Browse the repository at this point in the history
* FIX: Supplier Order search on date valid

* FIX: Supplier Order search on date valid
  • Loading branch information
FHenry authored Jul 24, 2024
1 parent 6c7bc18 commit 0982220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/fourn/commande/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,10 +856,10 @@
$sql .= " AND cf.date_livraison <= '".$db->idate($search_date_delivery_end)."'";
}
if ($search_date_valid_start) {
$sql .= " AND cf.date_commande >= '".$db->idate($search_date_valid_start)."'";
$sql .= " AND cf.date_valid >= '".$db->idate($search_date_valid_start)."'";
}
if ($search_date_valid_end) {
$sql .= " AND cf.date_commande <= '".$db->idate($search_date_valid_end)."'";
$sql .= " AND cf.date_valid <= '".$db->idate($search_date_valid_end)."'";
}
if ($search_date_approve_start) {
$sql .= " AND cf.date_livraison >= '".$db->idate($search_date_approve_start)."'";
Expand Down

0 comments on commit 0982220

Please sign in to comment.