Print a requisition

Description

As a storeroom manager, I would like be able to print out my empty or completed requisition form (see screen shot) so that I can fill it in on paper or print out for my records.

Acceptance Criteria
Verify that:

  • create the appropriate endpoint (v2.0 has /requisitions/{id}/print)

  • print/display a table for appropriate full supply items

  • print/display a table for non-full supply (if any)

  • print/display all column headers (do not print out columns which are not configured for the specific requisition)

  • display non-skipped products

  • do not print/display skipped products

  • do not print/display "approved quantities" if the action of print is done from the initiated and submitted states

  • appropriate user permissions enforced

  • PDF is generated based on 'printing' service using the Jasper template and the JasperReportsViewFactory

Attachments

13
  • 09 Feb 2017, 08:04 AM
  • 09 Feb 2017, 08:03 AM
  • 07 Feb 2017, 01:54 PM
  • 07 Feb 2017, 01:51 PM
  • 31 Jan 2017, 05:40 PM
  • 27 Jan 2017, 12:46 PM
  • 27 Jan 2017, 12:46 PM
  • 27 Jan 2017, 11:08 AM
  • 27 Jan 2017, 10:14 AM
  • 27 Jan 2017, 10:13 AM
  • 27 Jan 2017, 10:13 AM
  • 18 Jan 2017, 03:24 AM

QAlity Plus - Test Management

Checklists

Activity

Show:

Lucyna Laska February 15, 2017 at 2:13 PM

Oh, finally, ticket can be closed!

1. The skipped products are not displayed.
2. The approved quantity is not displayed when requisition is initiated/submitted.
3. The summary section shows cost of: full supply items, non full supply items. The details of who created/submitted/authorized the requisition is also displayed.
4. The columns order is based on the requisition template.
5. When column is hidden in requisition template, the headers of column will be visible on the print. But values will not be presented.
6. The right: requisition_view is required for printing the requisition.

Paweł Nawrocki February 15, 2017 at 11:13 AM

Please verify if that's still the case.

Lucyna Laska February 15, 2017 at 10:58 AM

The problems with packsToShip occurred again, so please, take a look on that.

Lucyna Laska February 10, 2017 at 9:59 AM

Currently, the values in summary section look like that: 6585307.28. Can you try to modify that for that format 6,585,307.28 ?

Paweł Nawrocki February 9, 2017 at 1:18 PM

So, the issue with packsToShip was actually a bug in requisition backend, sincethis property was only updated on initiate/submit/authorize steps, and not on simple updates. I've fixed this, moving back to review.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

3w 4d 5h logged

Components

Sprint

Fix versions

Priority

Time Assistant

Created September 7, 2016 at 12:13 AM
Updated March 20, 2017 at 4:56 PM
Resolved February 15, 2017 at 2:13 PM