[2093355 ] Small bugs in OpenXpertya POS
SOLVED LINE DELETE INCCORECT ROW
This commit is contained in:
parent
b3948e1d1c
commit
d306f4112b
|
@ -223,7 +223,6 @@ public class SubBPartner extends PosSubPanel
|
||||||
}
|
}
|
||||||
String Value = query;
|
String Value = query;
|
||||||
String Name = (allNumber ? null : query);
|
String Name = (allNumber ? null : query);
|
||||||
String Contact = (allNumber ? null : query);
|
|
||||||
String EMail = (query.indexOf('@') != -1 ? query : null);
|
String EMail = (query.indexOf('@') != -1 ? query : null);
|
||||||
String Phone = (noNumber ? null : query);
|
String Phone = (noNumber ? null : query);
|
||||||
String City = null;
|
String City = null;
|
||||||
|
|
|
@ -278,7 +278,7 @@ public class SubCurrentLine extends PosSubPanel implements ActionListener {
|
||||||
public void deleteLine (int row) {
|
public void deleteLine (int row) {
|
||||||
if (m_order != null && row != -1 )
|
if (m_order != null && row != -1 )
|
||||||
{
|
{
|
||||||
MOrderLine[] lineas = m_order.getLines();
|
MOrderLine[] lineas = m_order.getLines(true, null);
|
||||||
int numLineas = lineas.length;
|
int numLineas = lineas.length;
|
||||||
if (numLineas > row)
|
if (numLineas > row)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue