TavernerPOS - Source Code

Clone: 

git clone http://www.librarysmith.co.uk/tavernerPOS

 

package com.floreantpos.model;

import com.floreantpos.Messages;

public enum TicketStatus {
	PAID, HOLD, PAID_AND_HOLD, UNKNOWN;

	public String toString() {
		switch (this) {
			case PAID_AND_HOLD:
				return Messages.getString("TicketStatus.0"); //$NON-NLS-1$

			default:
				return name();
		}
	};
}

Add comment
These comments are moderated so so won't be published until reviewed.