<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Gelen Banka Kayıtları</title>
    <style>
      body {
        font-family: Arial, sans-serif;
        margin: 20px;
      }
      table {
        width: 100%;
        border-collapse: collapse;
      }
      table,
      th,
      td {
        border: 1px solid black;
      }
      th,
      td {
        padding: 10px;
        text-align: left;
      }
      th {
        background-color: #f2f2f2;
      }
    </style>
  </head>
  <body>
    <h1>Günaydın, Admin</h1>
    <br />
    <p>Banka Kayıtları : {{today}}</p>
    <p><b>Son Bakiye : {{bank_balance}} </b></p>
    <p>
      <b
        >{{"Status : İkinci Bakiye Hatalı" if balance_error else "Status
        :OK"}}</b
      >
    </p>
    <table border="1">
      <thead>
        <tr>
          {% for header in headers %}
          <th>{{ header }}</th>
          {% endfor %}
        </tr>
      </thead>
      <tbody>
        {% for row in rows %}
        <tr>
          {% for cell in row %}
          <td>{{ cell }}</td>
          {% endfor %}
        </tr>
        {% endfor %}
      </tbody>
    </table>
    <p>Teşekkür ederiz,<br />Evyos Yönetim<br />Saygılarımızla</p>
  </body>
</html>
