<?php
$CURRENT_SECTION = 'process';
include '../inc/header.php';
?>
    <div class="container" style="max-width:1280px; margin-top:24px;">
        <div class="d-flex align-items-center justify-content-between mb-3">
            <h2 class="m-0">작업 관리 <small class="text-muted">(공정명: 스크린)</small></h2>
            <div class="d-flex gap-2">
                <a class="btn btn-outline-secondary" href="/tenant/process/processes.php">공정 목록</a>
                <a class="btn btn-primary" href="/tenant/process/task_form.php">+ 작업 생성</a>
            </div>
        </div>

        <div class="table-responsive">
            <table class="table table-bordered table-hover align-middle">
                <thead class="table-light">
                <tr>
                    <th>작업명</th>
                    <th style="width:14%;">작업 시작 피드백</th>
                    <th style="width:14%;">작업 완료 피드백</th>
                    <th style="width:14%;">등록일</th>
                    <th style="width:8%;">수정</th>
                    <th style="width:8%;">삭제</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>절단작업</td>
                    <td>사용</td>
                    <td>사용</td>
                    <td>2025-08-07</td>
                    <td><a class="btn btn-sm btn-info" href="/tenant/process/task_form.php">수정</a></td>
                    <td><button class="btn btn-sm btn-danger">삭제</button></td>
                </tr>
                <tr>
                    <td>미싱작업</td>
                    <td>미사용</td>
                    <td>사용</td>
                    <td>2025-08-07</td>
                    <td><a class="btn btn-sm btn-info" href="/tenant/process/task_form.php">수정</a></td>
                    <td><button class="btn btn-sm btn-danger">삭제</button></td>
                </tr>
                <tr>
                    <td>포장</td>
                    <td>사용</td>
                    <td>미사용</td>
                    <td>2025-08-07</td>
                    <td><a class="btn btn-sm btn-info" href="/tenant/process/task_form.php">수정</a></td>
                    <td><button class="btn btn-sm btn-danger">삭제</button></td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
<?php include '../inc/footer.php'; ?>
