]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
Fixed admin mailer
authorAidan Cornelius-Bell <[email protected]>
Tue, 8 Oct 2024 08:31:49 +0000 (19:01 +1030)
committerAidan Cornelius-Bell <[email protected]>
Tue, 8 Oct 2024 08:31:49 +0000 (19:01 +1030)
app/views/admin_mailer/new_paid_member.html.erb

index 43bb8ba2127406eabbef85b074de9d2f0a9f4e84..26212f10977e7b30c0c76fc301eff300240952bc 100644 (file)
@@ -1,5 +1,13 @@
-<h1>Admin#new_paid_member</h1>
+<h1>New Paid Member</h1>
 
-<p>
-  <%= @greeting %>, find me in app/views/admin_mailer/new_paid_member.html.erb
-</p>
+<p>A new user has become a paid member:</p>
+
+<ul>
+  <li><strong>Name:</strong> <%= @user.full_name %></li>
+  <li><strong>Email:</strong> <%= @user.email %></li>
+  <li><strong>Subscription Type:</strong> <%= @user.subscription_type %></li>
+  <li><strong>Payment Amount:</strong> $<%= @user.payment_amount %></li>
+  <li><strong>Payment Date:</strong> <%= @user.last_payment_at.strftime("%B %d, %Y") %></li>
+</ul>
+
+<p>Please ensure that their account is properly set up and they have access to all paid member benefits.</p>
\ No newline at end of file