Class: ViewDelivery
- Inherits:
-
ApplicationViewRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ApplicationViewRecord
- ViewDelivery
- Includes:
- Models::SearchableView
- Defined in:
- app/models/view_delivery.rb
Overview
== Schema Information
Table name: view_deliveries
Database name: primary
id :integer primary key
currency :string(255)
customer_full_name :string(255)
destination_address :text
due_for_delivery :boolean
future_release_date :date
line_total :decimal(10, 2)
manual_release_only :boolean
master_tracking_number :string(255)
order_reference_number :string(255)
order_type :string(255)
origin_address :text
packaged_items_md5_hash :string(255)
primary_sales_rep_full_name :string(255)
shipped_date :datetime
state :string(255)
warehouse_pickup :boolean
created_at :datetime
updated_at :datetime
customer_id :integer
destination_address_id :integer
order_id :integer
origin_address_id :integer
primary_sales_rep_id :integer
store_id :integer
Instance Method Summary collapse
Methods included from Models::SearchableView
#crm_link, #crm_link_subtitle, #has_columns?, #main_resource, #readonly?
Methods inherited from ApplicationViewRecord
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::EventPublishable
Instance Method Details
#currency_symbol ⇒ Object
36 37 38 |
# File 'app/models/view_delivery.rb', line 36 def currency_symbol Money::Currency.new(currency).symbol end |