summaryrefslogtreecommitdiff
path: root/bin/mozilla/ps.pl
blob: ce3d633be307909406fa61e17a63256d3723ae92 (plain)
  1. ######################################################################
  2. # LedgerSMB Small Medium Business Accounting
  3. # Copyright (C) 2006
  4. # This work contains copyrighted information from a number of sources all used
  5. # with permission.
  6. #
  7. # This file contains source code included with or based on SQL-Ledger which
  8. # is Copyright Dieter Simader and DWS Systems Inc. 2000-2005 and licensed
  9. # under the GNU General Public License version 2 or, at your option, any later
  10. # version. For a full list including contact information of contributors,
  11. # maintainers, and copyright holders, see the CONTRIBUTORS file.
  12. #
  13. # Original Copyright Notice from SQL-Ledger 2.6.17 (before the fork):
  14. # Copyright (c) 1999 - 2005
  15. #
  16. # Author: DWS Systems Inc.
  17. # Web: http://www.sql-ledger.org
  18. #
  19. #
  20. # Author: DWS Systems Inc.
  21. # Web: http://sourceforge.net/projects/ledger-smb/
  22. #
  23. # This program is free software; you can redistribute it and/or modify
  24. # it under the terms of the GNU General Public License as published by
  25. # the Free Software Foundation; either version 2 of the License, or
  26. # (at your option) any later version.
  27. #
  28. # This program is distributed in the hope that it will be useful,
  29. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  30. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  31. # GNU General Public License for more details.
  32. # You should have received a copy of the GNU General Public License
  33. # along with this program; if not, write to the Free Software
  34. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  35. #
  36. #######################################################################
  37. #
  38. # point of sale script
  39. #
  40. #######################################################################
  41. use LedgerSMB::AA;
  42. use LedgerSMB::IS;
  43. use LedgerSMB::RP;
  44. require "$form->{path}/ar.pl";
  45. require "$form->{path}/is.pl";
  46. require "$form->{path}/rp.pl";
  47. require "$form->{path}/pos.pl";
  48. # customizations
  49. if (-f "$form->{path}/custom_pos.pl") {
  50. eval { require "$form->{path}/custom_pos.pl"; };
  51. }
  52. if (-f "$form->{path}/$form->{login}_pos.pl") {
  53. eval { require "$form->{path}/$form->{login}_pos.pl"; };
  54. }
  55. 1;
  56. # end