diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-04-12 20:46:20 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-04-12 20:46:20 +0000 |
commit | df073d6e09c0f87fb2e88cc215ace843a5851d4a (patch) | |
tree | 1c15ce909d3e0353b21bbd909e6720fd485a3a53 /bin/ps.pl | |
parent | 65458125b8f3814fd6ef4d07b55ab69f62f5a528 (diff) |
Formatting with Perltidy
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1068 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/ps.pl')
-rwxr-xr-x | bin/ps.pl | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -8,9 +8,9 @@ # with permission. # # This file contains source code included with or based on SQL-Ledger which -# is Copyright Dieter Simader and DWS Systems Inc. 2000-2005 and licensed -# under the GNU General Public License version 2 or, at your option, any later -# version. For a full list including contact information of contributors, +# is Copyright Dieter Simader and DWS Systems Inc. 2000-2005 and licensed +# under the GNU General Public License version 2 or, at your option, any later +# version. For a full list including contact information of contributors, # maintainers, and copyright holders, see the CONTRIBUTORS file. # # Original Copyright Notice from SQL-Ledger 2.6.17 (before the fork): @@ -53,18 +53,19 @@ require "bin/pos.pl"; require "pos.conf.pl"; # customizations -if (-f "bin/custom/pos.pl") { - eval { require "bin/custom/pos.pl"; }; +if ( -f "bin/custom/pos.pl" ) { + eval { require "bin/custom/pos.pl"; }; } -if (-f "bin/custom/$form->{login}_pos.pl") { - eval { require "bin/custom/$form->{login}_pos.pl"; }; +if ( -f "bin/custom/$form->{login}_pos.pl" ) { + eval { require "bin/custom/$form->{login}_pos.pl"; }; } # Necessary for Partsgroup lookups -if ($form->{action} =~ s/^\s//){ - $form->{my_partsgroup} = $form->{action}; - $form->{action} = "lookup_partsgroup"; +if ( $form->{action} =~ s/^\s// ) { + $form->{my_partsgroup} = $form->{action}; + $form->{action} = "lookup_partsgroup"; } 1; + # end |