readTicket(-1, jrbSales.isSelected() ? 0 : 1);
}//GEN-LAST:event_m_jKeysActionPerformed
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
JTicketsFinder finder = JTicketsFinder.getReceiptFinder(this, m_dlSales, dlCustomers);
finder.setVisible(true);
FindTicketsInfo selectedTicket = finder.getSelectedCustomer();
if (selectedTicket == null) {
m_jTicketEditor.reset();
m_jTicketEditor.activate();
} else {
readTicket(selectedTicket.getTicketId(), selectedTicket.getTicketType());