Class: Inventory

Inherits:
ApplicationRecord show all
Includes:
InventoryTrait
Defined in:
app/models/inventory.rb

Overview

typed: ignore encoding: utf-8 frozen_string_literal: true

Defined Under Namespace

Modules: Constants Classes: CreateOrUpdateInventoriesWorker, GenerateSummaryWorker, InvCheckerBaseService, InvCheckerBistrochatService, InvCheckerHungryHubService, InvCheckerMyMenuService, InvCheckerSevenRoomsService, InvCheckerTablecheckService, InvCheckerWeeloyService, MigrationWorker, UpdateCacheWorker, UpdateInBgWorker

Constant Summary

Constants included from InventoryTrait

InventoryTrait::QUANTITY_AVAILABLE_DEFAULT

Method Summary

Methods included from InventoryTrait

#calc_total_booked_seat, #date_format, #date_format_ext, #end_time_format, #end_time_sql, #log_and_update_attributes, #overbooked?, #seat_left, #start_time_format, #start_time_hour, #start_time_sql

Methods inherited from ApplicationRecord

sync_carrierwave_url