query("SELECT id, title, amount, expected_date FROM pf_expected_expenses WHERE is_paid = 0 ORDER BY expected_date ASC"); $provisions = $stmt->fetchAll(PDO::FETCH_ASSOC); if (empty($provisions)) { $html = '
' . tr('no_provisions') . '
'; } else { $html = '| ' . tr('provision_label') . ' | ' . tr('amount') . ' | ' . tr('expected_date') . ' | Actions |
|---|---|---|---|
| ' . htmlspecialchars($p['title']) . ' | '; $html .= '' . number_format($p['amount'], 2, ',', ' ') . ' € | '; $html .= '' . $dateFormated . ' | '; $html .= ''; $html .= ' |