Closed zhaladshar closed 7 years ago
VendorWidget, InvoiceWidget, CompanyWidget, etc., all use a lot of the same methods. Combine for ease of maintenance and proper object orientation.
Currently pulling out nextIdNum(), insertIntoDatabase(), and stripAllButNumbers() as well as centralizing the dbConn and dbCur objects.
Started on VendorWidget. Removed duplicate methods and refactored ShowNewInvoiceDialog.
All major widgets have been converted.
VendorWidget, InvoiceWidget, CompanyWidget, etc., all use a lot of the same methods. Combine for ease of maintenance and proper object orientation.
Currently pulling out nextIdNum(), insertIntoDatabase(), and stripAllButNumbers() as well as centralizing the dbConn and dbCur objects.