def admin_print
      return if !user_is_allowed('orders', 'edit')    
       
      pdf = OrderPdf.new
      pdf.order = Order.find(params[:id])             
      send_data pdf.to_pdf, :filename => "order_#{pdf.order.id}.pdf", :type => "application/pdf", :disposition => "inline"
      
      #@order = Order.find(params[:id])
      #render :layout => 'caboose/admin'
    end
def admin_print
      return if !user_is_allowed('orders', 'edit')    
       
      pdf = OrderPdf.new
      pdf.order = Order.find(params[:id])             
      send_data pdf.to_pdf, :filename => "order_#{pdf.order.id}.pdf", :type => "application/pdf", :disposition => "inline"
      
      #@order = Order.find(params[:id])
      #render :layout => 'caboose/admin'
    end
GET /admin/orders/:id/print