From c2068fb75fde165326901e1596f3a52a7f307967 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 18 Oct 2019 10:36:15 +0200 Subject: [PATCH] suite --- app/views/admin/p_documents/send_by_mail.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/p_documents/send_by_mail.html.haml b/app/views/admin/p_documents/send_by_mail.html.haml index 1e459ba..6f22c6c 100644 --- a/app/views/admin/p_documents/send_by_mail.html.haml +++ b/app/views/admin/p_documents/send_by_mail.html.haml @@ -64,7 +64,7 @@ - -if p_contacts.uniq.size > 0 + -if p_contacts.uniq.size > 0 or @p_customer.email? =submit_tag "Envoyer le document par mail", :class => "btn btn-primary" -else Aucun contact pour ce client. \ No newline at end of file