{% extends "dashboard.html" %}
{% load static %}
{% load tz %}

{% block content %}
<article>
    <h1><img src="{% static "images/store.png" %}" alt=""> Port Townsend Coffee</h1>
    <section class="store__info">
        <div class="orders">
            <h5>Orders</h5>
            <small>Today {% now "" %}</small>
            <h3>{{order_count}}</h3>
        </div>
        <div class="sales">
            <h5>Sales</h5>
            <small>Today</small>
            <h3>${{todays_sales|default_if_none:"0"|floatformat:2}}</h3>
        </div>
    </section>

    <section>
        <a class="store__action" href="{% url 'dashboard:order-list' %}?status=unfulfilled">{{orders_unfulfilled}} orders ready to fulfill &rarr;</a>
    </section>
</article>
{% endblock %}
