Skip to content

1. Creating First Ticket

Emre Eren edited this page Mar 21, 2018 · 6 revisions

PM-POS Demo

Visit http://emreeren.github.io/pmpos3 to start the demo application.

When you first start the application you'll see the login screen. Before logging in you need to setup a network for yourself.

Setting up the network

By default PM-POS will connect to DEMO network. To start a new network for yourself click on Change Network button and type a network name for yourself.

login page

I'm logging in to My Cafe network. Anyone logs in to My Cafe network will be able to join to your network and create tickets. You can type anything as the network name.

network name

Clicking Submit button will change the netwok name.

login

HINT: You can test multiple terminal connections by opening application URL on separate browser tabs. When you do that don't forget to change the network name for the new appliation instances.

We don't have a user configuration yet so any PIN will work fine. Type a random 4 digits PIN number and login to the application.

Setting up Ticket Card Type

When you first login you'll see the Dashboard page. There is a placeholder for the dashboard page fow now.

dashboard

Click Menu button to see the appliation menu.

application menu

Click on Management > Card Types menu item to list the current Card Types.

no card types

We don't have a card type yet. We need card types to be able to create new cards. Click on + button to add a new Card Type.

add card type

I entered Tickets as the Card Type name and Ticket as the Reference Name. That means I'd like to reference a card with Ticket name. Click Check Mark icon to save the new Card Type.

new card type

Now I can see Tickets Card Type listed on Card Types screen. Now I can create cards.

Creating a new Ticket

To create a Ticket We'll create a Card and set type of the Card as Tickets. To do this click on Cards menu item on main menu.

Cards

Cards page shows nothing at the moment. We need to change Card Type to Tickets by clicking drop down arrow and choose Tickets.

Choosing Tickets

Clicking on Tickets should display all Ticket Cards. We don't have a ticket now.

Adding Tickets

Click on + button to create a new Ticket Card.

Setting up Tickets

On the title of the screen we can see we're creating a new Ticket (remember the reference name of Card Type). We have an empty card on the screen. Click on Card Menu button to see the available Card Actions.

Card actions

These commands are useful to create & tag the cards. In production user will not be able to access this menu and executes these actions by using command buttons but for testing purposes we're giving direct access to these commands. Now Click on Set Card Tag Menu Item.

Tag Properties

We should see a popup dialog to setup the tag properties. Name tag have a special meaning and when used PM-POS uses this tag value while listing Cards. We can use it as Ticket Number for Ticket Cards. Since we don't have a number generator feature yet we'll type the ticket number manually. Type Name as the Tag Name and A0001 as the Tag Value. Other values are not needed now. Click on Submit button to close the dialog.

Tag Properties

Now our Card have a Name and Name also appears on title.

Adding Orders

Orders will be sub cards of Ticket Card. To create a Sub Card click on Card Menu and select Create Card menu Item.

Adding Sub Card

Clicking it will create an empty sub card under Ticket Card.

Empty Sub Card

To set order properties we'll tag the sub card. Click on Sub Card Menu and select Set Card Tag command.

Sub Card Menu

We'll see Tag Properties dialog.

Sub Card Tag

We don't need a Tag Name for now. We'll set Tag Value as Hamburger, Quantity as 1, Amount as 9 and Source as Kitchen. To create an sale transaction we need to set at least Quantity and Source values. That will be an inventory transaction. We'll use Amount value to set the Price. We need this value to make it an financial transaction. Financial transactions gives a value to cards so we can track card balances.

Click Submit button to close the dialog.

Ticket

Congratulations you created your first Ticket. However nothing submitted yet so other terminals will not be able to access this ticket. Click on Check Mark button to Submit the Ticket and return to the Cards Page.

Ticket List

We should see our ticket listed on Cards Page. You can create a new browser tab or open application on another device to see if this ticket is accessible on other terminals. Don't forget to setup the Network Name before logging in.