コード例 #1
0
  @Override
  public void writeAudit(AuditWriter w) throws JSONException {
    AccounterMessages messages = Global.get().messages();

    w.put(messages.type(), messages.brandingTheme()).gap();

    w.put(messages.name(), this.themeName);
  }
コード例 #2
0
  @Override
  public void writeAudit(AuditWriter w) throws JSONException {
    if (getSaveStatus() == STATUS_DRAFT) {
      return;
    }

    AccounterMessages messages = Global.get().messages();

    w.put(messages.type(), messages.journalEntry()).gap();
    w.put(messages.journalEntryNo(), this.number);

    w.put(messages.date(), this.transactionDate.toString()).gap().gap();
    w.put(messages.currency(), this.currencyFactor).gap().gap();

    w.put(messages.memo(), this.memo);

    w.put(messages.details(), this.transactionPayBills);
    w.put(messages.details(), this.transactionReceivePayments);
  }