search for: debtortranstax

Displaying 2 results from an estimated 2 matches for "debtortranstax".

Did you mean: debtortranstaxes
2009 Jul 28
1
complex find
I have class Debtortrans < ActiveRecord::Base has_many :debtortranstaxes, :foreign_key => ''debtortransid'', :class_name => ''debtortranstaxes'' belongs_to :debtor, :foreign_key => ''debtorno'' and class Debtortranstaxes < ActiveRecord::Base belongs_to :debtortrans, :foreign_key => ''...
2009 Jul 29
9
partials...
...from the controller, my erb file which is fairly basic... <% # City of Scottsdale @taxauthids = [ "32", "40" ] @report_title = "Scottsdale Sales Tax Detail Report for the Period Ending " + @period.lastdate_in_period.strftime("%m-%d-%Y") @taxes = Debtortranstaxes.find(:all, :conditions => ["trandate BETWEEN :begin AND :end AND taxauthid IN (:ids)", {:begin => @per1, :end => @per2, :ids => @taxauthids}], :joins => ''LEFT JOIN debtortrans ON debtortrans.id=debtortransid'', :include => ''debtortra...