diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index db2e50b..36c18c5 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -23,6 +23,10 @@ body { background: #fffefe; } +.container { + max-width: 960px; +} + .bg-primary { background-color: $red !important; } .btn { diff --git a/app/views/home/_fee_listing.html.erb b/app/views/home/_fee_listing.html.erb index f2ec0a5..bcda159 100644 --- a/app/views/home/_fee_listing.html.erb +++ b/app/views/home/_fee_listing.html.erb @@ -3,7 +3,7 @@
<%= fee.fee_description %>
-
<%= fee.item_title %>
+
<%= fee.item_title %>
diff --git a/app/views/process_payments/new.html.erb b/app/views/process_payments/new.html.erb index 06f94f2..df8c8f9 100644 --- a/app/views/process_payments/new.html.erb +++ b/app/views/process_payments/new.html.erb @@ -7,7 +7,7 @@
<%= record.fee.fee_description %>
-
<%= record.fee.item_title %>
+
<%= record.fee.item_title %>
diff --git a/app/views/transactions/_transaction.html.erb b/app/views/transactions/_transaction.html.erb index a22d207..c1d1b89 100644 --- a/app/views/transactions/_transaction.html.erb +++ b/app/views/transactions/_transaction.html.erb @@ -1,8 +1,8 @@
-

<%= format_date transaction.created_at %>

+

<%= transaction.created_at.strftime("%A, %b %d %I:%M:%S %p") %>

-
+
<% transaction.records.each do |record| %>
@@ -12,11 +12,11 @@ <%= number_to_currency record.fee.balance %> <% end %>
-
<%= record.fee.nil? || record.fee.item_title.nil? ? 'Item title not available.' : record.fee.item_title %>
+
<%= record.fee.nil? || record.fee.item_title.nil? ? 'Item title not available.' : record.fee.item_title %>
<% end %>
-
+
<%= transaction.status %>