{% extends "erp_base.html" %} {#- 라이브 커머스 달력 보기(2026-11-04) — 줄 = 2시간 칸, 열 = 날짜, 맨 아래 = 날짜별 합계. 카드 머리 = 호스트 간단한 이름 + 그 방송의 틱톡 계정. 카드 머리를 끌어 빈 칸으로 옮기거나 다른 카드 위에 놓아 맞바꾼다(live.js). 문구 = t()(i18n.py), 영문은 CSS 로 대문자(받은 화면과 같게). -#} {% block head_extra %} {% endblock %} {% block content %}
{% include "live/_bar.html" %}
{{ t('총 판매금액') }}RM {{ cal.totals.sales }}
{{ t('광고비') }}RM {{ cal.totals.spend }}
{{ t('호스트 비용') }}RM {{ cal.totals.fee }}
ROAS{{ cal.totals.roas }}

{{ t('팁: 카드 머리를 끌어 옮기거나 맞바꿀 수 있습니다. 오른쪽으로 스크롤하면 이달 {n}일을 모두 볼 수 있습니다.').format(n=cal.days | length) }}

{% for d in cal.days %} {% endfor %} {% for slot in cal.slots %} {% for cell in slot.cells %} {% endfor %} {% endfor %} {% for d in cal.days %} {% endfor %}
{{ t('시간') }}
{{ d.weekday }} {{ d.count }}
{{ d.label }}
{{ slot.label }}{{ cal.slot_note }} {% for c in cell.cards %}
{{ c.label }}{% if c.tiktok_handle %}@{{ c.tiktok_handle }}{% endif %}
{{ t('판매금액') }}{{ c.card_sales }}
{{ t('커미션') }} ({{ cal.commission_percent }}%){{ c.card_commission }}
{% endfor %} {% if not cell.cards and hosts | selectattr('is_active') | list %} {% endif %}
{{ t('합계 & ROAS') }}
{{ t('총 판매금액') }}:
RM {{ d.sales_text }}
{{ t('광고비') }}:
RM {{ d.spend_text }}
{{ t('호스트 비용') }}:
RM {{ d.fee_text }}
ROAS:
{{ d.roas }}
{#- 오른쪽 달력 — 날짜를 누르면 그 날이 표 맨 왼쪽(live.js), 말레이시아 공휴일(holidays.py) -#}
{% include "live/_dialog.html" %} {% endblock %} {% block scripts %} {% include "live/_scripts.html" %}{% endblock %}