Browse Source

add several methods to the sales log to allow subsequent work to be human readable

pull/1512/head
Arthur Campbell 3 years ago
parent
commit
d4f94641db
  1. 16
      app/models/sales_log.rb

16
app/models/sales_log.rb

@ -161,10 +161,26 @@ class SalesLog < Log
inc1mort == 1
end
def buyers_will_live_in?
buylivein == 1
end
def buyers_will_not_live_in?
buylivein == 2
end
def buyer_two_will_live_in_property?
buy2livein == 1
end
def buyer_two_will_not_live_in_property?
buy2livein == 2
end
def buyer_one_will_not_live_in_property?
buy1livein == 2
end
def buyer_two_not_already_living_in_property?
buy2living == 2
end

Loading…
Cancel
Save