mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Inverted conditionals in estimates and invoices lists to use 'unless'
This commit is contained in:
1 parent
92460392b9
commit
6f33e9d23d
2 files changed
+2
-2
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<% if estimates.empty? %>
|
||||
<% unless estimates.empty? %>
|
||||
|
||||
<% estimates.sort.reverse.each do |estimate| %>
|
||||
<div class="row">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<% if invoices.empty? %>
|
||||
<% unless invoices.empty? %>
|
||||
|
||||
<%= form_with(url: invoice_path, method: :get) do |form| %>
|
||||
|
||||
|
||||
Reference in new issue
Block a user