From: Benjamin L. <ben...@co...> - 2001-06-21 15:43:44
|
To Dieter, and anyone interested, Attached are: IR.pm IS.pm bin/mozilla/ir.pl bin/mozilla/is.pl These files should be able to used as drop-in replacements for the similarly named files in SL 1.4.6. Your mileage may vary. The small changes that I have made are: * CGI.pm hook workarounds, so-to-speak, for developers. If the user doesn't have CGI.pm, everything still works (knock on wood) ;-P. These are minimal at the moment. * Invoice work flow allows 'Update Form' to be _accidently_ used in the place of 'Add Item'. Basically it calls the 'Add Item' code to check to see if the user meant to press 'Add Item' if there is some input in the bottom-most line. * Invoice has autocalculated Due Date on 'Update Form'; based upon customer / vendor's credit terms. So the user can post an Invoice tomorrow and have the Due Date calculated for them? Ha. Probably needs a manual override. * Invoice 'Update Form' checks for valid item Numbers in the rows; and removes the line if invalid. This would occur if the user accidently was to change an item Number for any row bar the bottom-most line. And I've include Form.pm because it's got some CSS stuff in it. That may (or may not) make your browser use smaller and different fonts. Have fun, Ben. -- B. http://makelinux.org/ "Always real." http://realthought.net/ __________________________________________________________________________ Men use thought only to justify their wrong doings, and speech only to conceal their thoughts. -- Voltaire |