Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

History 

As a user I need to change the state of some documents. I expect that some documents might have the two states:

  • draft: all new documents are creating with this state
  • accepted: documents could be accepted, it  influences on future possibility and behaviour
  • declined: documents declined, it  influences on future possibility and behaviour

This functionality is provided for the following documents:

  • material requirement 
  • work plan
  • cost calculation 
  • production counting 

Action & flow

Gliffy
nameSTD diag

Logging 

Each state changing should be logged with informations who and when the action executedIssue: http://issues.qcadoo.org/browse/QCADOOMES-430

Action & flow

Gliffy
nameSTD diag

  1. After entering the initial data the document is in draft state
  2. In the draft state we should be able do download a preview PDF
  3. In the draft state we can click the "Generate and download PDF" button. This generates the report and downloads the PDF in one action.
  4. After the generation we can Accept or Decline the document.

Notes

  • as you can see from the diagram we removed the Generate button and Download PDF; it should be combined in one 'Generate and download PDF'
  • every document should have 4 non-editable fields:
    • Generated by
    • Generation date
    • Accepted/Declined by
    • Acceptation/Declination date
  • Generated reports cannot be edited