summaryrefslogtreecommitdiff
path: root/LedgerSMB/DBObject.pm
AgeCommit message (Collapse)Author
2007-11-06Adding support for validation logic in DBObject moduleseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1856 4979c152-3d1c-0410-bac9-87ea11338e46
2007-10-19GL Vouchers are posting and saving correctly. Need to get listing and ↵einhverfr
approving but that is conceptually a lot easier and involves a lot less legacy code git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1796 4979c152-3d1c-0410-bac9-87ea11338e46
2007-10-19Some voucher fixeseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1795 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-26Moving Aurynn's set() function from DBObject to LedgerSMB namespaces since ↵einhverfr
it is not specific to database defined objects git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1670 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-26Applying David Mora's patch to DBObject.pmeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1661 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-25Few minor fixes to DBObject.pmeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1660 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-22For now, allow both hashref and hash args to constructortetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1643 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-20Removal of extra new_user function from admin.pl.aurynn_cmd
Updates to DBObject.pm to remove treatment of argument list as a hashref. Update to LedgerSMB.pm to add s bare sub DESTROY so as not to trigger weird behaviour from using AUTOLOAD. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1636 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-19Modifications to make New User screens under the new Admin work.aurynn_cmd
Minor documentation update on DBObject. Creation of get_salutations function in LedgerSMB::DBObject::Admin Expansion of edit_user html. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1635 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-14Adding n dimensional array support to DBObject::parse_arrayeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1602 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-13Correcting argument mismatch in function mappingeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1590 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-13Updates to admin.pm to correct for multiple Contact objects, instead of a ↵aurynn_cmd
single contact object. DBObject has ->set() added, which allows setting 1..n args in the object. Contact stub beginning to be expanded, ->get, ->save and ->search implemented. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1588 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-01More menu fixeseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1482 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-09Moving menu over to new template and stored proc model. THe menu ↵einhverfr
expansion/contraction doesn't quite work yet and there needs to be some additional help on the CSS/Javascript side of this. Also, this makes a few changes to the lower-level Perl API. Classes calling LedgerSMB::call_procedure() directly may need some editing but I believe I got them all. These changes were necessary to accomodate zero-argument stored procedures. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1355 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-21Fixed error updating custom fieldseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1292 4979c152-3d1c-0410-bac9-87ea11338e46
2007-05-17POD fixes and POD syntax teststetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1202 4979c152-3d1c-0410-bac9-87ea11338e46
2007-05-08Adding copy=> and merge=>\@list args to DBObject->neweinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1174 4979c152-3d1c-0410-bac9-87ea11338e46
2007-05-08Added stored procedure collation handling stubeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1172 4979c152-3d1c-0410-bac9-87ea11338e46
2007-04-26Doing a simple Perltidy commit so that I can evaluate differences between ↵einhverfr
the branches and make sure patches are up to date git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1103 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-15renamed LedgerSMB::callproc to call_procedure. Reworked a number of ↵einhverfr
functions. Reworked num_text_rows to account for line breaks. About half way done with LedgerSMB.pm, first pass git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@900 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-15LedgerSMB->callproc() now uses named argumentseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@899 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-14More documentation to DBObject, changed constructor format to use named ↵einhverfr
params, and consolidated conditionals in LedgerSMB::escape git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@898 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-14DBObject::AUTOLOAD known to be broken. Moved other modules to use named ↵einhverfr
arguments. for DBObject calls git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@897 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-14Added AUTOLOAD function to LedgerSMB::DBObject for raw DBObjects (useful in ↵einhverfr
custom scripting) git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@892 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-13LedgerSMB::DBObject LedgerSMB::Setting LedgerSMB::Employee, and ↵einhverfr
LedgerSMB::Location all now use strict git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@890 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-10More refactoringeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@878 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-10Fixing LedgerSMB::Merge()einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@874 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-09Employee.pm is now working as advertisedeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@872 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-09Fixing numerous issues with new orm codeeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@871 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-08renaming employee to employees and dropping insert tracking ruleeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@864 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-08refactoring some methods and getting rid of unnecessary multiple inheritanceeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@862 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-08More ORM changes and HR rewriteeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@861 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-08Porting DBObject to use AUTOLOADeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@860 4979c152-3d1c-0410-bac9-87ea11338e46
2007-03-07First draft of DBObject and LedgerSMB namespaceeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@858 4979c152-3d1c-0410-bac9-87ea11338e46