Class: ViewBudget

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

Overview

== Schema Information

Table name: view_budgets
Database name: primary

id :integer primary key
all_ledger_company_account_ids_1 :text is an Array
all_ledger_company_account_ids_2 :text is an Array
amount :decimal(12, 2)
business_unit_name :text
company_name :string(255)
consolidated_amount :decimal(12, 2)
currency :string
description :string
exchange_rate :decimal(, )
is_revenue :boolean
ledger_account_name :text
ledger_project_name :text
month :integer
quarter :integer
supplier_name :string(255)
year :integer
created_at :datetime
updated_at :datetime
business_unit_id :integer
company_id :integer
creator_id :integer
ledger_account_id :integer
ledger_project_id :integer
supplier_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