File: ps.pl

package info (click to toggle)
sql-ledger 3.2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 33,080 kB
  • sloc: perl: 73,172; sql: 36,530; sh: 34; makefile: 21
file content (32 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#=====================================================================
# SQL-Ledger
# Copyright (c) DWS Systems Inc.
#
#  Author: DWS Systems Inc.
#     Web: http://www.sql-ledger.com
#
#=====================================================================
#
# point of sale script
#
#=====================================================================

use SL::AA;
use SL::IS;
use SL::RP;

require "$form->{path}/rp.pl";
require "$form->{path}/ar.pl";
require "$form->{path}/is.pl";
require "$form->{path}/pos.pl";

# customizations
if (-f "$form->{path}/custom/pos.pl") {
  eval { require "$form->{path}/custom/pos.pl"; };
}
if (-f "$form->{path}/custom/$form->{login}/pos.pl") {
  eval { require "$form->{path}/custom/$form->{login}/pos.pl"; };
}

1;
# end