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