class Wco::InvoicesController
def new_pdf
def new_pdf authorize! :new, @invoice @leadset = Leadset.find params[:leadset_id] @products_list = Wco::Product.list end
def new_pdf authorize! :new, @invoice @leadset = Leadset.find params[:leadset_id] @products_list = Wco::Product.list end