summaryrefslogtreecommitdiff
path: root/bin/mozilla/ps.pl
blob: abda8e8f6598fda6f32b30d01baf8afe9266af3f (plain)
  1. #=====================================================================
  2. # LedgerSMB
  3. # Small Medium Business Accounting software
  4. #
  5. # See COPYRIGHT file for copyright information
  6. #======================================================================
  7. #
  8. # This file has NOT undergone whitespace cleanup.
  9. #
  10. #======================================================================
  11. #
  12. # point of sale script
  13. #
  14. #######################################################################
  15. use LedgerSMB::AA;
  16. use LedgerSMB::IS;
  17. use LedgerSMB::RP;
  18. require "$form->{path}/ar.pl";
  19. require "$form->{path}/is.pl";
  20. require "$form->{path}/rp.pl";
  21. require "$form->{path}/pos.pl";
  22. # customizations
  23. if (-f "$form->{path}/custom_pos.pl") {
  24. eval { require "$form->{path}/custom_pos.pl"; };
  25. }
  26. if (-f "$form->{path}/$form->{login}_pos.pl") {
  27. eval { require "$form->{path}/$form->{login}_pos.pl"; };
  28. }
  29. 1;
  30. # end