Skip to content
Snippets Groups Projects
Commit 403948e8 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #57 - disable editing of payment rest

parent d3fdfbdd
Branches
Tags
1 merge request!58merge new_database_structure into master
......@@ -66,9 +66,13 @@ public class PaymentController implements Refreshable
if(event.getClickCount() == 2)
{
PaymentCell c = (PaymentCell)event.getSource();
//don't allow editing of payment "rest"
if(c.getItem().getCategoryID() != 2)
{
payment(!c.getItem().isIncome(), true, c.getItem());
}
}
}
});
return cell;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment