[2093355 ] Small bugs in OpenXpertya POS

SOLVED LINE DELETE INCCORECT ROW
This commit is contained in:
Redhuan D. Oon 2008-12-01 13:40:43 +00:00
parent b3948e1d1c
commit d306f4112b
2 changed files with 1 additions and 2 deletions

View File

@ -223,7 +223,6 @@ public class SubBPartner extends PosSubPanel
}
String Value = query;
String Name = (allNumber ? null : query);
String Contact = (allNumber ? null : query);
String EMail = (query.indexOf('@') != -1 ? query : null);
String Phone = (noNumber ? null : query);
String City = null;

View File

@ -278,7 +278,7 @@ public class SubCurrentLine extends PosSubPanel implements ActionListener {
public void deleteLine (int row) {
if (m_order != null && row != -1 )
{
MOrderLine[] lineas = m_order.getLines();
MOrderLine[] lineas = m_order.getLines(true, null);
int numLineas = lineas.length;
if (numLineas > row)
{