lib/xeroizer/models/manual_journal.rb in xeroizer-2.20.0 vs lib/xeroizer/models/manual_journal.rb in xeroizer-3.0.0
- old
+ new
@@ -32,10 +32,11 @@
string :narration
string :url
string :external_link_provider_name # only seems to be read-only at the moment
boolean :show_on_cash_basis_reports
datetime_utc :updated_date_utc, :api_name => 'UpdatedDateUTC'
-
+ boolean :has_attachments
+
has_many :journal_lines, :model_name => 'ManualJournalLine', :complete_on_page => true
validates_presence_of :narration
validates_associated :journal_lines