Commit iniziale di eminuxCRM: CRM Rails con pipeline, campagne email e Docker.
Include autenticazione, progetti isolati, mail marketing HTML con SMTP, test A/B e editor WYSIWYG. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class PipelineController < ApplicationController
|
||||
before_action :require_current_project!
|
||||
|
||||
def show
|
||||
@page_title = "Pipeline"
|
||||
@opportunities_by_stage = Catalog::PIPELINE_ORDER.index_with do |stage|
|
||||
opportunities_for_current_project.where(pipeline_stage: stage)
|
||||
.includes(:organization, :assigned_user, :tasks, organization: :contacts)
|
||||
.order(updated_at: :desc)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user