mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
date the archives
This commit is contained in:
parent
b940ae0327
commit
2a32bc4752
@ -52,7 +52,8 @@ class AccountingPeriod < ActiveRecord::Base
|
||||
code_checksum: code_checksum,
|
||||
last_archive_checksum: last_archive_checksum,
|
||||
previous_file: previous_file,
|
||||
software_version: Version.current
|
||||
software_version: Version.current,
|
||||
date: Time.now.iso8601
|
||||
},
|
||||
formats: [:json],
|
||||
handlers: [:jbuilder]
|
||||
|
@ -67,3 +67,4 @@ json.previous_archive do
|
||||
end
|
||||
|
||||
json.period_footprint period_footprint
|
||||
json.archive_date date
|
||||
|
Loading…
x
Reference in New Issue
Block a user