summaryrefslogtreecommitdiff
path: root/LedgerSMB/Form.pm
AgeCommit message (Collapse)Author
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
2006-09-18Updating for testing. Dataset creation and backup are currently known to be einhverfr
broken. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@109 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-12Added a link to our sourceforge project page to the copyright notice in all einhverfr
pages. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@71 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-10Revised copyright notices for PM's.einhverfr
Finished applying Dave's patch git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@54 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-06Changed version to 1.0.0einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@36 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-04Removed the underscore from valid login names since it was causing regex errors.einhverfr
Fixed the system so that the db upgrade script works. Added some new tasks, notes, etc to TODO. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@21 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-04Added changelog.einhverfr
Reformatted the a few lines in the format_line form method. Corrected the regex LaTeX printing problem. Updated most of the png logos. Added items to TODO list. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@19 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-01fixing typo in error function that was making the error message invisblechristopherm
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@6 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-01no need for logic to display favicon, plus it wasn't reliable anywaychristopherm
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@4 4979c152-3d1c-0410-bac9-87ea11338e46
2006-09-01Initial Importchristopherm
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/ledger-smb@1 4979c152-3d1c-0410-bac9-87ea11338e46