TavernerPOS - Source Code

Clone: 

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

 

package com.floreantpos.actions;

import com.floreantpos.POSConstants;
import com.floreantpos.main.Application;
import com.floreantpos.ui.dialog.CashDropDialog;
import com.floreantpos.ui.dialog.POSMessageDialog;

public class DrawerBleedAction extends PosAction {

	public DrawerBleedAction() {
		super(POSConstants.DRAWER_BLEED); //$NON-NLS-1$
	}

	@Override
	public void execute() {
		try {
			CashDropDialog dialog = new CashDropDialog();
			dialog.initDate();
			dialog.open();
		} catch (Exception e) {
			POSMessageDialog.showError(Application.getPosWindow(),e.getMessage(), e);
		}
	}

}

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