//    Posics Saleculator - Billing System.
//    Copyright (C) 2009 Posics
//
//    This file is part of Posics Saleculator.
//


//sales.savePrice(line.getSalePrice(), line.getProductID());

//Stop the line modification of sent products

if (!line.getProperty("sendstatus").equals("No") && !line.getProperty("sendstatus").equals("N/A")){
JOptionPane.showMessageDialog(null, "You cannot modify a sent item.", "Error", JOptionPane.ERROR_MESSAGE);
return "cancel";
}