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