hello there, my name is ade and i need help on a task, am working on project in vb.net. i have a listview on a form, the listview has 4 fixed columns and as many rows as possible based on user entries at the click several buttons. if a user clicks a garment button a row is inserted and it looks like this:
Desc, Amount Quantity No. Piece
-----------------------------------------------
2pc suit 500 2 2
(inserting a garment with its cost, the quantity of garments brought and how many pieces makes that garment type)
when he clicks a color button another row is inserted now making the list view look like this:
Desc, Amount Quantity No. Pieces
-----------------------------------------------------------
2pc suit 500 2 2
black
when he clicks a fabric button another row is inserted now making the list view look like this:
Desc, Amount Quantity No. Pieces
------------------------------------------------
2pc suit 500 2 2
black
wool
The above mentioned tasks i can achieve, but now at the click of a button i need to generate a ticket or invoice along with some tags(short descriptive/details) report . Generating these tag is the issue, from the above you can see that two 2piece suit has been entered (inserted) and 2 items make up a 2pc suit( 2 piece suit) this implies 4 tags (that is 2piece times quantity 2).
these tags will carry name of item, color, fabric, amount and total quantity (listing it as 1of4,2of4,3of4 and 4of4).
something like this:
===================================================
= (1/4) Due date 23/05/2017 User:2 =
= customer name: Tom Jones Contact No: 08023345677=
= 2pc Suit 500/blue/cotton =
===================================================
It gets more complicated when you now have something like this,
Desc, Amount Quantity No. Pieces
-------------------------------------------------
2pc suit 500 2 2
black
wool
-------------------------------------------------
Shirt 200 1 1
blue
cotton
-------------------------------------------------
Shirt 200 1 1
white
cotton
-------------------------------------------------
Shirt 200 1 1
pink
cotton
-------------------------------------------------
please will appreciate any assistance , as am stuck and don't know where to start. on generating these tags
warm regards
What I have tried:
i have not tried anything yet on this very issue
please will appreciate any assistance , as am stuck and don't know where to start. on generating these tags