summaryrefslogtreecommitdiff
path: root/LedgerSMB/Form.pm
AgeCommit message (Collapse)Author
2006-10-27Fixed number parsing for (n), n DR and n CR formatseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@338 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-27Fix parsing of (n.m) form in parse_amounttetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@337 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-27Added (n) handling to parse_mamounteinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@335 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-24Fixing breadead mistakes when moving variables to new namespaceeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@284 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-24Made sure the LedgerSMB::Sysconfig namespace was available where necessaryeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@269 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-24Moved all scalars out of ledger-smb.confeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@268 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-23Convert locales to Locale::Maketext::Lexicontetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@264 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Removing Locale::findsubtetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@261 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Reverse function translation lookup removaltetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@259 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Fifth batch of files prepared for RFTL removaltetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@258 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Modified parsing to return undef on empty string.einhverfr
Modified CT to use 0 credit limit if none provided. Added On Hand column to invoices. Dropped foreign key constrant on acc_trans.trans_id due to limitations in current API (will be in a future version). git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@250 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Removing old code to test for reparsingeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@249 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Fix formatting of negative numbers with formats '1000,00' and '1.000,00'tetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@248 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Corrected a number of amount parsing problemseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@247 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Correcting braindead logic....einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@246 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21Moved double-parsing detection to UNIVERSAL::isa()einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@245 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-21fixed eval line in parse_amounteinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@243 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-20Moved ->parse_amount() to use Math::BigFloats to avoid issues of double-parsingeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@242 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-20Fixing braindead codingeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@241 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-20Applied fix to Form.pm's format_amount to handle double formatingeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@240 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-20Added formating for 1 000.00 numberseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@239 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-19Fixed user creation bugeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@232 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-18Fixed issues with parsing numbers in "1 000.00" format and in double parsing ↵einhverfr
them. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@226 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-16`cat svn-commit.2.tmp`einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@219 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-16Added error of ->{dbh} fails to connecteinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@218 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-16run_custom_queries update recursion fixedeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@216 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-13removing bin/lynx and bin/mozilla folders. All scripts are now at bin/ with ↵christopherm
bin/custom for custom scripts (user specific or otherwise) git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@208 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-13Removed utf formatting removing characters.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@206 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-13Fixed $ substitution in format_lineeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@205 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-11Preprocess the callproc procname so that the first () becomes the argstr.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@203 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-08First round of tax code replacement, adds cumulative tax supporttetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@195 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-03Merged SL-POS.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@185 4979c152-3d1c-0410-bac9-87ea11338e46
2006-10-02Renamed "get_custom_queries" to "run_custom_queries" for semantic clarity.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@181 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-30added $form->callproc($procname, @args) returns @hashrefs as wrapper for ↵einhverfr
stored procs. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@169 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-29Simplified custom fields API.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@164 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-27Fixed a few more issues with the new Form.einhverfr
OE is now almost working but not quite. Line items aren't being saved properly (wrong trans_id). git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@158 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-27Fixed update_defaults which was broken when I added the new template system.einhverfr
Got OE working again, for now.... git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@157 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-26Fixed a bug in Form.pmeinhverfr
OE.pm is known to be broken, but will be fixed tomorrow AM. It is 30% migrated to the new db framework (and 30% reformatted) git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@154 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-25Fix and simplify rounding in round_amount using Math::BigFloattetragon
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@149 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-25Moved Form.pm to parameterized queries. Did some basic testing, but can'teinhverfr
guarantee that nothing broke. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@146 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-25Revides the dbquote to use DBI::quote.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@145 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-24Changes templates from <% %> to <?lsmb ?>einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@141 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-24Fixed bug in custom fields handlingeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@140 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-24Added support for custom fields to IS, OE, and corrected API bugs in Form.einhverfr
Also AA now partially supports the custom fields. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@139 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-24Fixed version for now.einhverfr
Added an API to the Form object for creating SELECT, INSERT, and UPDATE queries based on custom fields git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@137 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-23Fixed issues with the creation of function in the upgrade scripts and functioneinhverfr
files git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@136 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-22updating website URL to point to ledgersmb.org - more, this time without ↵christopherm
borking my .svn files git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@131 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-22Now db custom fields are cached in the $form object. Also there is now aeinhverfr
$form->{dbh} which is a noauto database handle to be used for all db activities. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@128 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-18Changed version number in Form.pmeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@113 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-18Fixing more tabs in HTTP headers caused by whitespace cleanupchristopherm
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@111 4979c152-3d1c-0410-bac9-87ea11338e46