{% extends 'base.html.twig' %}
{% import "macros/widgets.html.twig" as widgets %}
{% import "macros/datatables.html.twig" as tables %}
{% block page_title %}{{ 'admin_customer.title'|trans }}{% endblock %}
{% block page_subtitle %}{{ 'admin_customer.subtitle'|trans }}{% endblock %}
{% block main %}
{% set params = {
'%activity%': '' ~ stats.activityAmount ~ '',
'%project%': '' ~ stats.projectAmount ~ '',
'%customer%': '' ~ customer.name ~ '',
'%records%': '' ~ stats.recordAmount ~ '',
'%duration%': '' ~ stats.recordDuration|duration ~ ''
} %}
{{ include('default/_form_delete.html.twig', {
'message': "admin_customer.delete_confirm"|trans(params)|raw,
'form': form,
'back': path('admin_customer')
}) }}
{% endblock %}