Docs Tab

From UG

Revision as of 15:58, 30 March 2010 by Montira (Talk | contribs)
Jump to: navigation, search


Contents

General Info and Scope

  • Classified As: (large) component
  • Parent Mantis: 1686

Scope

This document covers:

  • overall design of Doc Tab
  • List of saved pdfs table
  • pdf selection dropdown

It does not cover:

  • pdf template generation
  • pdf generation

Business Needs and Requirements

...

Save Pdf Draft feature

Add ability for operator to "save work". Common case: operator selects pdf; clicks "show template"; edits some info; get's distracted; opens some other CT, etc; opens that CT again - all edits from pdf template is gone. We need to be able to save and keep last changes to template for every doc.

Technical Specification

Summary

3 step process

There are 3 independent steps:

  • step 1) generate template based on CT record data
  • step 2) tweak template
  • step 3) generate pdf (based on template values) and print it

Important observation: generated pdf is defined only by template and not by default state of the template you get after step 1.


User Interface and Functionality

  • Please see #Figure 4: Edit Document
  • Docs Tab consists of
    • Existing Documents For CT for shipment reports(pdfs)
    • View Document button
    • Delete Document button
    • Edit Document button
    • Document option dropdown
    • Show template button
    • Show template (for a group)

Entities and Attributes

Special Cases and Misc

Look And Feel

Figures

Figure 1: Docs Tab, Default state

File:Docs Tab Default state No saved docs.JPG

Figure 2: Pdf template example

File:Pdf template example.JPG

Figure 3: Pdf preview

File:Pdf preview.JPG


Figure 4: Edit Document

File:EditTemplate3.JPG

Questions and RFC

Known Non Critical Bugs

History

Add file counter

DB

Personal tools