f4b80e8abc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
{% extends "erp_base.html" %}
|
|
{% import "vacation/_macros.html" as vm %}
|
|
|
|
{% block head_extra %}<link rel="stylesheet" href="/static/vacation.css?v=20261102c" />{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="vac vac-options">
|
|
<div class="vac-actions">
|
|
<div class="vac-actions-main">
|
|
<a class="erp-btn erp-btn-outline" href="/vacation/">◀ 달력</a>
|
|
<a class="erp-btn erp-btn-primary" href="/vacation/new">+ 휴가 신청</a>
|
|
</div>
|
|
</div>
|
|
<div class="erp-card">
|
|
{% if items %}
|
|
<div class="erp-table-wrap">
|
|
<table class="erp-table">
|
|
<thead><tr><th>휴가종류</th><th>기간</th><th>일수</th><th>상태</th><th>결재 진행</th></tr></thead>
|
|
<tbody>
|
|
{% for r in items %}
|
|
<tr>
|
|
<td><a href="/vacation/{{ r.id }}">{{ r.vacation_type }}</a></td>
|
|
<td>{{ r.start_date }}{% if r.end_date != r.start_date %} ~ {{ r.end_date }}{% endif %}</td>
|
|
<td>{{ r.days }}</td>
|
|
<td>{{ vm.status_badge(r.status) }}</td>
|
|
<td>{{ vm.progress(r, people) }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% else %}
|
|
<p class="erp-muted">휴가 신청 내역이 없습니다.</p>
|
|
{% endif %}
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|