Class: Comee::Core::CreditNoteItem
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Comee::Core::CreditNoteItem
- Defined in:
- app/models/comee/core/credit_note_item.rb
Instance Method Summary collapse
Instance Method Details
#update_credit_note ⇒ Object
14 15 16 17 |
# File 'app/models/comee/core/credit_note_item.rb', line 14 def update_credit_note credit_note.calculate_total_price credit_note.save! end |