mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-02-13 17:13:59 -05:00
Inverted conditionals in estimates and invoices lists to use 'unless'
This commit is contained in:
@@ -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