zhaladshar / AssetLedger

0 stars 0 forks source link

Convert all major <OBJ>Widgets to ObjectWidget class #42

Closed zhaladshar closed 7 years ago

zhaladshar commented 8 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.

zhaladshar commented 8 years ago

Started on VendorWidget. Removed duplicate methods and refactored ShowNewInvoiceDialog.

zhaladshar commented 7 years ago

All major widgets have been converted.