{% extends 'email/base.html.twig' %} {% block title %}Daily Business Summary - {{ date|date('F d, Y') }}{% endblock %} {% block content %}
📈

Daily Business Summary

Here's your business overview for {{ date|date('l, F d, Y') }}

{# Revenue Summary #}

Revenue Overview

Today's Revenue {{ currency.symbol }}{{ todayRevenue|number_format(2, '.', ',') }}
This Week {{ currency.symbol }}{{ weekRevenue|number_format(2, '.', ',') }}
This Month {{ currency.symbol }}{{ monthRevenue|number_format(2, '.', ',') }}
{# Invoice Statistics #}

Invoice Activity

Metric Today This Month
New Invoices {{ invoices.todayNew }} {{ invoices.monthNew }}
Invoices Sent {{ invoices.todaySent }} {{ invoices.monthSent }}
Invoices Paid {{ invoices.todayPaid }} {{ invoices.monthPaid }}
Overdue Invoices {{ invoices.overdue }} -
{# Payments #} {% if payments|length > 0 %}

Payments Received Today

{% for payment in payments %} {% endfor %}
Invoice Customer Amount
#{{ payment.invoice.displayInvoiceNumber }} {{ payment.invoice.customer.name }} {{ payment.currency.symbol }}{{ payment.amount|number_format(2, '.', ',') }}
{% endif %} {# Outstanding Balance #}

Outstanding Balance

Total unpaid invoices: {{ currency.symbol }}{{ outstandingBalance|number_format(2, '.', ',') }}

{# Expenses #}

Expenses

Today's Expenses {{ currency.symbol }}{{ todayExpenses|number_format(2, '.', ',') }}
This Week {{ currency.symbol }}{{ weekExpenses|number_format(2, '.', ',') }}
This Month {{ currency.symbol }}{{ monthExpenses|number_format(2, '.', ',') }}
{# Net Profit #} {% set todayProfit = todayRevenue - todayExpenses %}

Today's Net {% if todayProfit >= 0 %}Profit{% else %}Loss{% endif %}

{{ currency.symbol }}{{ todayProfit|abs|number_format(2, '.', ',') }}

{# Low Stock Warning #} {% if lowStockCount > 0 %}

Inventory Alert

{{ lowStockCount }} product{{ lowStockCount > 1 ? 's are' : ' is' }} running low on stock.

{% endif %} {# Action Items #} {% if invoices.overdue > 0 or lowStockCount > 0 %}

Action Items

{% endif %}
Go to Dashboard

This is your automated daily summary. Data is calculated as of {{ 'now'|date('g:i A') }}.

{% endblock %} {% block contact_section %}{% endblock %}