12 Added notes and colours to customers
This commit is contained in:
@@ -19,6 +19,14 @@
|
||||
<%= customer.notes %>
|
||||
</p>
|
||||
|
||||
<p class="my-5">
|
||||
<strong class="block font-medium mb-1">Color:</strong>
|
||||
<span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium"
|
||||
style="background-color: <%= customer.color_hex %>20; color: <%= customer.color_hex %>; border: 1px solid <%= customer.color_hex %>;">
|
||||
<%= customer.color_emoji %> <%= (customer.color || 'green').humanize %>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p class="my-5">
|
||||
<strong class="block font-medium mb-1">Email:</strong>
|
||||
<%= customer.email %>
|
||||
|
||||
Reference in New Issue
Block a user