Add test code for invoicing
Merge branch 'master' into add_invoicing
Make sure every db connection gets closed after using it | Remove unused imports | Do not catch exceptions on HBDaos
Update method to check unit price according to the changes made on Lib_InvoicesAndReders lib
Add gross income entities mappings
Add config file for log4j
Remove ListNonPaidWorkOrders and replace it with CollectionCenter
Add get() method to retrieve selcted workorder
Add button to register a workorder payment on CollectionCenter
Add a button to open the workorder from the CollectionCenter
Change generateInvoice into generateInvoiceItems, and make it only do that task
Add a convenience method to create a Payment from an InvoicePayment
Add a method to generate multiple WorkOrder payments from a List of Invoice Payments
Assign a default date to payments when creating them based on an invoice payment
Move the code to generate an invoice to invoice controller
Reload the list of pending work orders after issuing an invoice
Only generate new work order payments if there are new payments on the invoice
Add invoice attribute to workorder payments | Set the correspondent invoice when creating a payment from an invoice
Fix: Call the correct method to refresh the workorder list
Set the invoice on every payment that is invoiced, even those that existed previously