message: Options on Manual Journals and using ManualJournalID instead of JournalID
diff: @@ -66,27 +66,29 @@ const ManualJournal = Entity.extend(ManualJournalSchema, {
  options
  );
  },
  - save: function() {
  + save: function(opts) {
  const self = this;
  let path;
  let method;
  - if (this.JournalID) {
  - path = `ManualJournals/${this.JournalID}`;
  + if (this.ManualJournalID) {
  + path = `ManualJournals/${this.ManualJournalID}`;
  method = 'post';
  } else {
  path = 'ManualJournals';
  method = 'put';
  }
  + const options = opts || {};
  + options.entityPath = 'ManualJournals';
  + options.entityConstructor = function(data) {
  + return self.application.core.manualjournals.newManualJournal(data);
  + };
  +
  return this.application.putOrPostEntity(
  method,
  path,
  JSON.stringify(self),
  - {
  - entityPath: 'ManualJournals',
  - entityConstructor: data =>
  - self.application.core.manualjournals.newManualJournal(data),
  - }
  + options
  );
  },
  });
  