daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Register < ActiveRecord::Base
  2.     has_many :additions
  3.    
  4.   def sales_total
  5.     used + new + medref + medsup + reference + insignia + coursepack + office + cards + greek + food + giftcard - (shipping + tax + voids
  6.     + onaccount + refunds + payouts + discounts)
  7.   end
  8.  
  9. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top