Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Features] Label Format Functionality #6

Open
21 of 32 tasks
Tropicalrambler opened this issue Jul 12, 2020 · 0 comments
Open
21 of 32 tasks

[Features] Label Format Functionality #6

Tropicalrambler opened this issue Jul 12, 2020 · 0 comments
Assignees

Comments

@Tropicalrambler
Copy link
Contributor

Tropicalrambler commented Jul 12, 2020

Users currently have access to only one label style:
A 58mm x 38mm monochrome label.

Planned Functionality

  • Add a "Label Format" DocType.
    This doctype will house the basic data needed for the user to have some basic control over the labels.

  • Field name: "Title" Type: Data

  • Field name: "Dimensions" Type: Section Break

  • Field name: "Width" Type: Float.

  • Field name: "Width UOM" Type: Link Default: Millimeter

  • Field name: "" Type: Column Break

  • Field name: "Height" Type: Float.

  • Field name: "Height UOM" Type: Link Default: Millimeter

  • Field name: "Purpose" Type: Section Break

  • Field name: "Label Purpose" Type: Link. Options: Label Purpose

  • Field name: "Preview" Type: Section Break

  • Field name: "Label Image" Type: Image Options: attach_label_sample_image

  • Field name: "Attach Label Sample" Type: Attach Image. Name: attach_label_sample_image

  • Add a "Label Component" DocType.

  • Field name: "Title" Type: Data

  • Field name: "Description" Type: Text Edit

  • Field name: "Relative size" Type: Float. (Allows user to specify the size relative to the label size.)

  • Field name: "X position" Type: Float.

  • Field name: "X Position UOM" Type: Link Default: Millimeter

  • Field name: "" Type: Column Break

  • Field name: "Y position" Type: Float.

  • Field name: "Y Position UOM" Type: Link Default: Millimeter

  • Add a "Label Format Item" Childtable DocType.

  • Field name: "Title" Type: Link. Label Component

  • Field name: "Size" Type: Data.

  • Field name: "Position X" Type: Data.

  • Field name: "X Position UOM" Type: Link Default: Millimeter

  • Field name: "Position Y" Type: Data.

  • Field name: "Y Position UOM" Type: Link Default: Millimeter

  • Add a "Label Purpose" DocType.

  • Field name: "Title" Type: Data

  • Field name: "Description" Type: Text Edit

Fixtures:
Label Purpose
"Title": Barcode
"Serial Number":

@Tropicalrambler Tropicalrambler self-assigned this Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant