codeforamerica / health

Meta repo to view all health project issues
12 stars 4 forks source link

Have all later docs processing commands record submitted date #593

Closed ondrae closed 7 years ago

ondrae commented 7 years ago

We know if later docs are submitted by looking for a submitted at date on the dashboard. Our commands to process and submit these documents should record this date, so we dont need to do it manually.

Its one more step before automating them.

When we mark as submitted, we do:

    @later_document_submitter = LaterDocumentSubmitter.find(later_document_submitter_id)
    @later_document_submitter.update({ submitted_to_county_at: Time.zone.now })
    @later_document_submitter.save
ondrae commented 7 years ago

This got posted in the health repo accidentally because Waffle is waffle.