Partial estimates

Picking an estimate still fills in its labor hours; ticking Partial estimate lets the hours be lowered below them. Saved with the appointment and shown next to its hours. Adds migration 006.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-06 10:44:25 -05:00
1 parent 26685f0847
commit c3aab4a532
8 files changed
+46 -9

No files matched your search

@@ -124,7 +124,10 @@
<% unless @appointment.call_out? %>
<div class="attribute">
<div class="label"><%= l(:field_estimated_hours) %>:</div>
<div class="value"><%= @appointment.estimated_hours %> <%= l(:label_hours) %></div>
<div class="value">
<%= @appointment.estimated_hours %> <%= l(:label_hours) %>
<% if @appointment.partial_estimate? && @appointment.estimate %>(<%= l(:label_partial_estimate) %>)<% end %>
</div>
</div>
<% end %>
</div>