Class: ViewSalesCommission

Inherits:
ApplicationViewRecord show all
Includes:
Models::SearchableView
Defined in:
app/models/view_sales_commission.rb

Overview

== Schema Information

Table name: view_sales_commissions
Database name: primary

id :integer primary key
co_cm_bd :float
cogs :float
commission_date :date
commission_view :text
company :text
earned_commission :float
employee_name :string(255)
net_base :float
num_orders :integer
profit :float
review_date :date
reviewer_name :string
sales :float
state :string
tier1 :float
tier2 :float
tier3 :float
tier4 :float
tier5 :float
emp_comp_id :integer
employee_id :integer
updater_id :integer

Method Summary

Methods included from Models::SearchableView

#crm_link, #crm_link_subtitle, #has_columns?, #main_resource, #readonly?

Methods inherited from ApplicationViewRecord

create, create!, #readonly?

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Models::EventPublishable

#publish_event