{% apply inline_css %}
<h3>Müşteri Menü Değişikliği</h3>
<table class="ust-bilgi">
<tr>
<th>Cari Kodu</th>
<td>{{ app.user.cari.FirmaKodu }}</td>
</tr>
<tr>
<th>Cari Adı</th>
<td>{{ app.user.cari.FirmaAdi }} ({{ app.user.cari.Unvan2 }})</td>
</tr>
<tr>
<th>Dönem</th>
<td>{{ filter.ay }} {{ filter.yil }}</td>
</tr>
<tr>
<th>Öğün</th>
<td>{{ filter.ogun }}</td>
</tr>
<tr>
<th>Tür</th>
<td>{{ filter.turu }}</td>
</tr>
</table><br>
<table>
<tr>
<th rowspan="2">Tarih</th>
<th colspan="3" class="eski">ESKİ MENÜ</th>
<th colspan="3" class="yeni">GÜNCELLEME</th>
</tr>
<tr>
<th class="eski">Reçete Kodu</th>
<th class="eski">Reçete Adı</th>
<th class="eski">Oran</th>
<th class="yeni">Reçete Kodu</th>
<th class="yeni">Reçete Adı</th>
<th class="yeni">Oran</th>
</tr>
{% for yemek in fark %}
<tr>
<td>{{ yemek.TARIH | date("d.m.Y") }}</td>
<td>{{ yemek.ESKI.RECKODU }}</td>
<td>{{ yemek.ESKI.RECADI }}</td>
<td>{{ yemek.ESKI.ORAN }}</td>
<td>{{ yemek.RECKODU }}</td>
<td>{{ yemek.RECADI }}</td>
<td>{{ yemek.ORAN }}</td>
</tr>
{% endfor %}
</table>
<style>
table, th, td {
border: 1px solid #777;
border-collapse: collapse
}
th, td {
padding: 2px 4px
}
th {
color: #FFF;
background-color: #555;
text-align: center;
}
th.yeni {
background-color: #080;
}
th.eski {
background-color: #A00;
}
tr:nth-child(even) {
background-color: #DDD;
}
.ust-bilgi th {
color: #FFF;
background-color: #000;
text-align: left;
border: 1px solid #eee;
}
.ust-bilgi td {
font-weight: bold;
border: 1px solid #666;
}
</style>
{% endapply %}