loadEmptyForm();
}//GEN-LAST:event_btNewActionPerformed
private void btAddActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddActionPerformed
POSItem sd = new POSItem();
sd.setItemWarehouse(itemWarehouse);
sd.setQuantity(tfQuantity.getText());
sd.setPrice(itemWarehouse.getItem().getPrice());
posItems.add(sd);
model.addRow(new Object[]{sd.getItemWarehouse().getItem().getItemsName()!=null?sd.getItemWarehouse().getItem().getItemsName():"",
sd.getQuantity(),
sd.getPrice(),
""+(Long.parseLong(sd.getQuantity())*Long.parseLong(sd.getPrice()))
});
countSum();
}//GEN-LAST:event_btAddActionPerformed