마이페이지
다른 번호로 조회
{{ user.nickname }}님
{{ user.phone[:3] }}-{{ user.phone[3:7] }}-{{ user.phone[7:] if user.phone|length > 7 else '' }}
보유 포인트
{{ "{:,}".format(user.mileage_balance) }}P
약국에서 1P = 1원으로 사용 가능
적립 내역
{% if transactions %}
{% for tx in transactions %}
{% if tx.reason == 'CLAIM' %} 영수증 적립 {% elif tx.reason == 'USE' %} 포인트 사용 {% else %} {{ tx.reason }} {% endif %}
{{ "{:,}".format(tx.points) }}P
{% if tx.description %}
{{ tx.description }}
{% endif %}
{{ tx.created_at[:16].replace('T', ' ') }}
{% endfor %}
{% else %}
📭
아직 적립 내역이 없습니다
{% endif %}