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