From d18a0c180aebf7712c6175848073a12dd676e376 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 6 Aug 2026 07:55:51 -0400 Subject: [PATCH] added name function to estimate --- app/models/estimate.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/estimate.rb b/app/models/estimate.rb index c7e2f17..1f2c2f8 100644 --- a/app/models/estimate.rb +++ b/app/models/estimate.rb @@ -16,6 +16,10 @@ class Estimate < QboBaseModel self.primary_key = :id qbo_sync push: false + def name + to_s + end + # returns a human readable string def to_s return self[:doc_number]