summaryrefslogtreecommitdiff
path: root/bin/lynx/ps.pl
blob: 1a11743ed392e9c8aa957941107fe57dc87b128f (plain)
  1. ######################################################################
  2. # LedgerSMB Small Medium Business Accounting
  3. # Copyright (c) 1999 - 2005
  4. #
  5. # Author: DWS Systems Inc.
  6. # Web: http://sourceforge.net/projects/ledger-smb/
  7. #
  8. # This program is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation; either version 2 of the License, or
  11. # (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. # You should have received a copy of the GNU General Public License
  18. # along with this program; if not, write to the Free Software
  19. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. #
  21. #######################################################################
  22. #
  23. # point of sale script
  24. #
  25. #######################################################################
  26. use SL::AA;
  27. use SL::IS;
  28. use SL::RP;
  29. require "$form->{path}/ar.pl";
  30. require "$form->{path}/is.pl";
  31. require "$form->{path}/rp.pl";
  32. require "$form->{path}/pos.pl";
  33. # customizations
  34. if (-f "$form->{path}/custom_pos.pl") {
  35. eval { require "$form->{path}/custom_pos.pl"; };
  36. }
  37. if (-f "$form->{path}/$form->{login}_pos.pl") {
  38. eval { require "$form->{path}/$form->{login}_pos.pl"; };
  39. }
  40. 1;
  41. # end