STR - States of reports
Issue: http://issues.qcadoo.org/browse/QCADOOMES-430
Action & flow
- After entering the initial data the document is in draft state
- In the draft state we should be able do download a preview PDF
- In the draft state we can click the "Generate and download PDF" button. This generates the report and downloads the PDF in one action.
- 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