Sha256: caafa4608a686a8b7d0ede857dfe2b28b660b6dae84f96e361d5d86784693195
Contents?: true
Size: 552 Bytes
Versions: 5
Compression:
Stored size: 552 Bytes
Contents
# frozen_string_literal: true module MyTankInfo class TankReconciliationRecord < Object def name [tank_number, product_name].join(" - ") end def tank_number tank_numbers.join(", ") end def started_at DateTime.parse(start_date_time) end def is_missing? is_missing end def book_inventory (start_volume + deliveries_volume) - sales_volume end # Used for Weekly reconciliation def removed_from_ust (start_volume + deliveries_volume) - end_volume end end end
Version data entries
5 entries across 5 versions & 1 rubygems