{% extends "erp_base.html" %} {% block head_extra %} {% endblock %} {% block topbar_after_logout %}{% include "project/_help_btn.html" %}{% endblock %} {%- macro won(v) -%}{% if v is not none %}{{ "{:,}".format(v) }}{% endif %}{%- endmacro -%} {%- macro num(v) -%}{% if v is not none %}{% if v == v | int %}{{ "{:,}".format(v | int) }}{% else %}{{ "{:,.2f}".format(v) }}{% endif %}{% endif %}{%- endmacro -%} {% block content %} {# 주간 회의록 — 목표 표 월 머리를 누르면 열린다(/project/goals/{연도}/meetings/{월}?week=월요일). 주(월~일)마다 회의록 하나: 머리(월 목표·지난주까지 누적·주당 필요 매출, 전주 목표·결과, 금주 목표·현재) + 구역(목표 표 업무 영역)별 줄 — 이번주 할 일·목표 금액 | 전주 할 일·목표·결과·달성률·평가. 전주 칸은 지난 회의록의 같은 줄(carry_from). 쇼핑몰 연결 줄의 결과·전주/금주 매출·누적은 실적 모듈에서 자동. 입력은 관리자만(칸별 즉시 저장, project.js initGoalMeeting). DB: project_db 015 (goal_meetings·goal_meeting_items). #}
{% with current_pid = 0, side_active = "goals" %}{% include "project/_side.html" %}{% endwith %}
arrow_back

{{ goal_year }}년 {{ goal_month }}월 주간 회의록

{% set pm = goal_month - 1 if goal_month > 1 else 12 %}{% set py = goal_year if goal_month > 1 else goal_year - 1 %} {% set nm = goal_month + 1 if goal_month < 12 else 1 %}{% set ny = goal_year if goal_month < 12 else goal_year + 1 %} ‹ {{ pm }}월 {{ nm }}월 ›
{% if meeting and is_admin %}
{% elif meeting %}
회의록은 관리자만 입력할 수 있습니다.
{% endif %}
{# 주차 탭 — 주 = 월요일~일요일, 1주차 = 1일이 들어 있는 주. 점 = 회의록 있음 #} {% if not meetings_enabled %}
주간 회의록이 아직 준비되지 않았습니다(DB 마이그레이션 015 필요).
{% elif not meeting %}

{{ week_n }}주차({{ week }} ~ {{ week_end }}) 회의록이 아직 없습니다.

{% if is_admin %}

만들면 앞선 회의록의 줄(구역·항목·쇼핑몰 연결)을 이어받아, 지난주 할 일·목표·결과를 나란히 리뷰할 수 있습니다. 처음이면 {{ goal_year }}년 목표 표의 업무 영역과 기본 양식 줄로 시작합니다.

{% endif %}
{% else %} {% set h = head %} {% set edit = is_admin %} {# ── 머리 — 월 목표 대비 누적·남은 주 필요 매출 / 전주 리뷰 / 금주 목표 ── #}
월 목표 매출 {% if h.sales_target is not none %}{{ num(h.sales_target) }}{{ h.sales_unit }}{% else %}목표 표에 없음{% endif %} {% if h.month_target_won is not none and h.sales_unit and h.sales_unit != '원' %}= {{ won(h.month_target_won) }}원{% endif %}
월 누적 실적 (지난주까지) {% if h.mtd is not none %}{{ won(h.mtd) }}원{% else %}—{% endif %} {% if h.month_target_won and h.mtd is not none %}달성 {{ "%.1f" | format(h.mtd / h.month_target_won * 100) }}%{% endif %}
주당 필요 매출 (남은 {{ h.weeks_left }}주) {% if h.need_per_week is not none %}{{ won(h.need_per_week) }}원{% else %}—{% endif %} 월 목표 − 누적을 이번 주 포함 남은 주로 나눈 값
목표 ROAS {% if h.roas_target is not none %}{{ num(h.roas_target) }}%{% else %}—{% endif %}
전주 목표 {% if h.prev_target is not none %}{{ won(h.prev_target) }}원{% else %}—{% endif %}
전주 결과 ({{ prev_week[5:] | replace('-', '/') }}~ 실적) {% if h.prev_result is not none %}{{ won(h.prev_result) }}원{% else %}—{% endif %}
전주 달성률 {% if h.prev_target and h.prev_result is not none %}{% set r = h.prev_result / h.prev_target * 100 %} {{ "%.1f" | format(r) }}% {% else %}—{% endif %}
금주 목표 {% if edit %} 원 {% else %} {% if meeting.week_target is not none %}{{ won(meeting.week_target) }}원{% else %}—{% endif %} {% endif %} {% if h.need_per_week is not none %}필요 {{ won(h.need_per_week) }}원{% endif %}
금주 현재 실적 {% if h.week_result is not none %}{{ won(h.week_result) }}원{% else %}—{% endif %} {% if meeting.week_target and h.week_result is not none %}목표의 {{ "%.1f" | format(h.week_result / meeting.week_target * 100) }}%{% endif %}
{% if not h.perf %}

실적 모듈이 연결되지 않아 실적·누적·쇼핑몰 자동 결과는 비어 있습니다(결과는 직접 입력).

{% endif %} {# ── 구역별 줄 — 왼쪽: 이번주 / 오른쪽: 전주 리뷰(지난 회의록 같은 줄) ── #} {# table-layout: fixed 는 첫 줄(묶음 머리, colspan)로 너비를 정하므로 열 너비는 colgroup 으로 #} {% for sec in meeting.sections %} {% for it in sec.rows %} {% set p = it.prev %} {% if loop.first %} {% endif %} {% if p %} {% else %} {% endif %} {% endfor %} {% endfor %}
이번주 ({{ week[5:] | replace('-', '/') }} ~ {{ week_end[5:] | replace('-', '/') }}) 지난주 리뷰
구역 항목 이번주 할 일 · 행사 목표 금액 지난주 할 일 지난주 목표 결과 달성률 평가
{{ sec.name }} {% if edit %}{% endif %} {{ it.label }} {% if it.market_name %}{{ it.market_name }}{% endif %} {% if edit %}{% endif %} {% if edit %} {% else %}
{{ it.content }}
{% endif %}
{% if edit %} {% else %}{{ won(it.target_amount) }}{% endif %}
{{ p.content }}
{{ won(p.target_amount) }} {% if p.auto_result is not none %} {{ won(p.auto_result) }} {% elif edit %} {% else %}{{ won(p.result_amount) }}{% endif %} {% if it.rate is not none %}{{ it.rate }}%{% endif %} {% if edit %} {% else %}{{ meeting_status[p.status] or '—' }}{% endif %} 지난 회의록에 없는 줄
{% if edit %}
칸을 고치면 바로 저장됩니다. 금액은 원 단위(120만·1.5억도 됨). 항목을 우클릭하거나 ⋯ 를 누르면 줄 추가·순서·삭제·쇼핑몰 연결(결과를 실적에서 자동). 지난주 결과·평가는 지난 회의록 줄에 저장됩니다.
{% endif %}

결정 사항 · 메모

{% if edit %} {% else %}
{{ meeting.notes or '—' }}
{% endif %}
{% endif %}
{% if markets %}{% endif %} {% include "project/_side_modals.html" %} {% include "project/_member_tasks_modal.html" %} {% endblock %}