current Year and current month for export thanato

This commit is contained in:
Tiavina 2024-12-31 09:13:24 +03:00
parent f5f5956e18
commit 8c2a9017cf

View File

@ -1899,8 +1899,8 @@ class Bdd {
if(empty($thanatoIds)){ if(empty($thanatoIds)){
return []; return [];
} }
$currentYear = '2025'; $currentYear = date('Y');
$currentMonth = '1'; $currentMonth = date('m');
$sqlConditionsPlaceholder = implode(',', array_fill(0, count($thanatoIds), '?')); $sqlConditionsPlaceholder = implode(',', array_fill(0, count($thanatoIds), '?'));
$sql = "SELECT $sql = "SELECT