<%- include('partials/header') %>

Private Lessons

Özel Ders & Başvuru <% if (lastSynced) { %> • Synced: <%= new Date(lastSynced).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }) %> <% } %>

<% if (formMeta) { %>
<% if (formMeta.photoUrl) { %> <%= formMeta.studentName %> <% } %>

<%= formMeta.studentName %>

<%= formMeta.schoolName %> • <%= formMeta.className %>

<% if (detectedAdvisor) { %>
Advisor: <%= detectedAdvisor %>
<% } %>
ℹ Başkası adına özel ders almayınız, seçtiğiniz öğretmen onayladığı takdirde özel derse alınacaksınız.
<% } %>

New Lesson Request (Özel Ders İstek)

Online Başvuru
<% if (formMeta) { %> <% } else { %> <% } %>

My Lessons (Özel Derslerim)

<%= allLessons.length %>
<% if (subjects.length > 0) { %>
<% subjects.forEach(function(sub) { %> <% }); %>
<% } %>
<% if (upcomingLessons.length > 0) { %>
Upcoming / Approved Lessons <%= upcomingLessons.length %> Active
<% upcomingLessons.forEach(function(item) { %>
Upcoming <%= item.date %>
<% if (item.teacherPhoto) { %> <%= item.teacherName %> <% } else { %>
<%= item.teacherName ? item.teacherName[0] : 'Ö' %>
<% } %>

<%= item.subject %>

<%= item.teacherName %>

<% }); %>
<% } %>
Lesson History <%= pastLessons.length %> Past
<% if (pastLessons.length === 0 && upcomingLessons.length === 0) { %>

No private lessons recorded yet. Submit a request above or click Sync Lessons to fetch from the portal.

<% } else { %>
<% pastLessons.forEach(function(item) { %>
Completed <%= item.date %>
<% if (item.teacherPhoto) { %> <%= item.teacherName %> <% } else { %>
<%= item.teacherName ? item.teacherName[0] : 'Ö' %>
<% } %>

<%= item.subject %>

<%= item.teacherName %>

<% }); %>
<% } %>
<%- include('partials/footer') %>