Skip to content

Commit

Permalink
fix: default empty Quote
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasleger committed Nov 15, 2024
1 parent f61c590 commit 3e8a524
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/views/quotes/check.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

<h1>Attributs détecté du Devis :</h1>
<pre><%= JSON.pretty_generate @quote_attributes %></pre>
<h1>Texte du Devis :</h1>
<pre><%= @quote_attributes.fetch(:full_text) %></pre>

<% if @quote_attributes.key?(:full_text) %>
<h1>Texte du Devis :</h1>
<pre><%= @quote_attributes.fetch(:full_text) %></pre>
<% end %>
<% end %>

0 comments on commit 3e8a524

Please sign in to comment.