mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-02-13 09:13:58 -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| %>
|
<% estimates.sort.reverse.each do |estimate| %>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<% if invoices.empty? %>
|
<% unless invoices.empty? %>
|
||||||
|
|
||||||
<%= form_with(url: invoice_path, method: :get) do |form| %>
|
<%= form_with(url: invoice_path, method: :get) do |form| %>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user