Commit bd5344d5 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Cleaned up whitespaces & bumped copyright

parent 5101ea44
# Mysql conversion script
# Copyright (C) 2009, AllWorldIT
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2005-2007 Nigel Kukard <nkukard@lbsd.net>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......
/*
* Database schema
* Copyright (C) 2009, AllWorldIT
* Copyright (C) 2009-2014, AllWorldIT
* Copyright (C) 2008, LinuxRulz
* Copyright (C) 2005-2007 Nigel Kukard <nkukard@lbsd.net>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......@@ -269,13 +269,13 @@ CREATE TABLE gl_transactions (
ID @SERIAL_TYPE@,
TransactionDate DATE NOT NULL,
Reference VARCHAR(255) NOT NULL,
Type BIGINT NOT NULL DEFAULT '1', /* 1 - default visible, 2 - year end */
Posted SMALLINT NOT NULL DEFAULT '0'
/*
Causes problems on some db's as they don't support this
......@@ -292,13 +292,13 @@ CREATE TABLE gl_entries (
ID @SERIAL_TYPE@,
GLTransactionID @SERIAL_REF_TYPE@ NOT NULL,
Reference VARCHAR(255),
GLAccountID @SERIAL_REF_TYPE@ NOT NULL,
Amount DECIMAL(10,2) NOT NULL,
FOREIGN KEY (GLTransactionID) REFERENCES gl_transactions(ID),
FOREIGN KEY (GLAccountID) REFERENCES gl_accounts(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -349,7 +349,7 @@ CREATE TABLE inventory (
GLExpenseAccountID @SERIAL_REF_TYPE@, /* COGS for product */
Unit VARCHAR(255),
SellPrice DECIMAL(10,2) NOT NULL,
TaxTypeID @SERIAL_REF_TYPE@ NOT NULL,
......@@ -370,7 +370,7 @@ CREATE INDEX inventory_idx1 ON inventory (Code);
CREATE TABLE inventory_tracking (
ID @SERIAL_TYPE@,
ParentInventoryTrackingID @SERIAL_REF_TYPE@, /* NULL - inbound stock, else its the parent inbound stock item */
InventoryID @SERIAL_REF_TYPE@ NOT NULL,
......@@ -383,7 +383,7 @@ CREATE TABLE inventory_tracking (
Price DECIMAL (16,2) NOT NULL,
Closed SMALLINT, /* NULL if doesn't apply, 0 if not closed and done, 1 if closed, done and finished! */
FOREIGN KEY (InventoryID) REFERENCES inventory(ID),
FOREIGN KEY (GLTransactionID) REFERENCES gl_transactions(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -411,7 +411,7 @@ CREATE TABLE clients (
RegNumber VARCHAR(255), /* Company registration number */
TaxReference VARCHAR(255), /* Tax reference number, VAT/GST ... etc */
GLAccountID @SERIAL_REF_TYPE@ NOT NULL,
ContactPerson VARCHAR(255), /* Primary contact person */
......@@ -446,7 +446,7 @@ CREATE TABLE client_phone_numbers (
Type SMALLINT NOT NULL, /* 1 = phone, 2 = fax */
Name VARCHAR(255), /* Descriptive name */
Number VARCHAR(255) NOT NULL,
FOREIGN KEY (ClientID) REFERENCES clients(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -463,7 +463,7 @@ CREATE TABLE client_email_addresses (
Type SMALLINT NOT NULL, /* 1 = accounts, 2 = general */
Name VARCHAR(255), /* Optional name of person using in TO: person <email addy> */
Address VARCHAR(255) NOT NULL,
FOREIGN KEY (ClientID) REFERENCES clients(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -486,7 +486,7 @@ CREATE TABLE suppliers (
RegNumber VARCHAR(255), /* Company registration number */
TaxReference VARCHAR(255), /* Tax reference number, VAT/GST ... etc */
GLAccountID @SERIAL_REF_TYPE@ NOT NULL,
ContactPerson VARCHAR(255), /* Primary contact person */
......@@ -524,7 +524,7 @@ CREATE TABLE supplier_phone_numbers (
Type SMALLINT NOT NULL, /* 1 = phone, 2 = fax */
Name VARCHAR(255), /* Descriptive name */
Number VARCHAR(255) NOT NULL,
FOREIGN KEY (SupplierID) REFERENCES suppliers(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -541,7 +541,7 @@ CREATE TABLE supplier_email_addresses (
Type SMALLINT NOT NULL, /* 1 = accounts, 2 = general */
Name VARCHAR(255), /* Optional name of person using in TO: person <email addy> */
Address VARCHAR(255) NOT NULL,
FOREIGN KEY (SupplierID) REFERENCES suppliers(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -577,10 +577,10 @@ CREATE TABLE supplier_invoices (
Total DECIMAL(10,2), /* SubTotal + Tax total */
Note TEXT,
GLTransactionID @SERIAL_REF_TYPE@, /* Not null if posted */
Paid SMALLINT NOT NULL DEFAULT '0',
Paid SMALLINT NOT NULL DEFAULT '0',
FOREIGN KEY (SupplierID) REFERENCES suppliers(ID),
......@@ -595,9 +595,9 @@ CREATE INDEX suppliers_invoices_idx3 ON supplier_invoices (SupplierInvoiceNumber
CREATE TABLE supplier_invoice_transactions (
ID @SERIAL_TYPE@,
SupplierInvoiceID @SERIAL_REF_TYPE@ NOT NULL,
SupplierCreditNoteID @SERIAL_REF_TYPE@,
PaymentAllocationID @SERIAL_REF_TYPE@,
......@@ -615,7 +615,7 @@ CREATE INDEX suppliers_invoices_transactions_idx3 ON supplier_invoice_transactio
CREATE TABLE supplier_invoice_items (
ID @SERIAL_TYPE@,
SupplierInvoiceID @SERIAL_REF_TYPE@ NOT NULL,
InventoryID @SERIAL_REF_TYPE@, /* Item we linked to in inventory */
......@@ -630,7 +630,7 @@ CREATE TABLE supplier_invoice_items (
Discount DECIMAL(5,2), /* % discount, NULL = none */
DiscountAmount DECIMAL(10,2), /* discount amount, NULL = none */
TaxTypeID @SERIAL_REF_TYPE@, /* NULL for no tax applicable */
TaxMode SMALLINT, /* NULL for no tax applicaable, SellPrice is 1 - including, 2 - excluding tax */
......@@ -650,7 +650,7 @@ CREATE INDEX suppliers_invoice_items_idx1 ON supplier_invoice_items (SupplierInv
CREATE TABLE supplier_invoice_item_tracking (
ID @SERIAL_TYPE@,
SupplierInvoiceItemID @SERIAL_REF_TYPE@ NOT NULL,
QtyChange DECIMAL(12,4) NOT NULL,
......@@ -684,9 +684,9 @@ CREATE TABLE payments (
Amount DECIMAL(10,2) NOT NULL,
GLTransactionID @SERIAL_REF_TYPE@, /* Set if posted */
Closed SMALLINT NOT NULL DEFAULT '0', /* Set to 1 if this payment has been fully allocated */
FOREIGN KEY (SupplierID) REFERENCES suppliers(ID),
FOREIGN KEY (GLAccountID) REFERENCES gl_accounts(ID),
......@@ -701,7 +701,7 @@ CREATE INDEX payments_idx4 ON payments (Closed);
CREATE TABLE payment_allocations (
ID @SERIAL_TYPE@,
PaymentID @SERIAL_REF_TYPE@ NOT NULL,
SupplierInvoiceID @SERIAL_REF_TYPE@ NOT NULL,
SupplierInvoiceTransactionID @SERIAL_REF_TYPE@,
......@@ -744,11 +744,11 @@ CREATE TABLE supplier_creditnotes (
Total DECIMAL(10,2), /* SubTotal + Tax total */
Note TEXT,
GLTransactionID @SERIAL_REF_TYPE@, /* Not null if posted */
Closed SMALLINT NOT NULL DEFAULT '0', /* '1' if the credit note is fully allocated */
FOREIGN KEY (SupplierID) REFERENCES suppliers(ID),
FOREIGN KEY (SupplierInvoiceID) REFERENCES supplier_invoices(ID),
......@@ -763,12 +763,12 @@ CREATE INDEX supplier_creditnotes_idx4 ON supplier_creditnotes (Closed);
CREATE TABLE supplier_creditnote_items (
ID @SERIAL_TYPE@,
SupplierCreditNoteID @SERIAL_REF_TYPE@ NOT NULL,
InventoryID @SERIAL_REF_TYPE@, /* This is set when linking an item to the invoice */
GLAccountID @SERIAL_REF_TYPE@, /* same, set when linking an item to the credit note */
GLExpenseAccountID @SERIAL_REF_TYPE@, /* GL account to post any inventory differences concerning qty = 0 and price > 0 to */
Description VARCHAR(255),
......@@ -777,7 +777,7 @@ CREATE TABLE supplier_creditnote_items (
Quantity DECIMAL(12,4) NOT NULL,
UnitPrice DECIMAL(10,2) NOT NULL,
Price DECIMAL(10,2) NOT NULL,
FOREIGN KEY (SupplierCreditNoteID) REFERENCES supplier_creditnotes(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -787,7 +787,7 @@ CREATE INDEX supplier_creditnote_items_idx1 ON supplier_creditnote_items (Suppli
CREATE TABLE supplier_creditnote_item_linking (
ID @SERIAL_TYPE@,
SupplierCreditNoteItemID @SERIAL_REF_TYPE@ NOT NULL,
SupplierInvoiceItemID @SERIAL_REF_TYPE@ NOT NULL, /* Set when posting the credit note */
......@@ -800,7 +800,7 @@ CREATE TABLE supplier_creditnote_item_linking (
TaxRate DECIMAL(4,2), /* NULL for no tax */
TaxAmount DECIMAL(10,2), /* NULL for no tax */
FOREIGN KEY (SupplierCreditNoteItemID) REFERENCES supplier_creditnote_items(ID),
FOREIGN KEY (SupplierInvoiceItemID) REFERENCES supplier_invoice_items(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -810,11 +810,11 @@ CREATE INDEX supplier_creditnote_item_linking_idx1 ON supplier_creditnote_item_l
CREATE TABLE supplier_creditnote_item_tracking (
ID @SERIAL_TYPE@,
SupplierCreditNoteItemID @SERIAL_REF_TYPE@ NOT NULL,
InventoryTrackingID @SERIAL_REF_TYPE@ NOT NULL, /* Inventory tracking */
FOREIGN KEY (SupplierCreditNoteItemID) REFERENCES supplier_creditnote_items(ID),
FOREIGN KEY (InventoryTrackingID) REFERENCES inventory_tracking(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -825,9 +825,9 @@ CREATE INDEX supplier_creditnote_item_tracking_idx2 ON supplier_creditnote_item_
CREATE TABLE supplier_creditnote_transactions (
ID @SERIAL_TYPE@,
SupplierCreditNoteID @SERIAL_REF_TYPE@ NOT NULL,
SupplierInvoiceTransactionID @SERIAL_REF_TYPE@,
SupplierReceiptAllocationID @SERIAL_REF_TYPE@,
......@@ -860,10 +860,10 @@ CREATE TABLE supplier_receipts (
Amount DECIMAL(10,2) NOT NULL,
GLTransactionID @SERIAL_REF_TYPE@, /* Set if posted */
Closed SMALLINT NOT NULL DEFAULT '0',
FOREIGN KEY (SupplierID) REFERENCES suppliers(ID),
FOREIGN KEY (GLAccountID) REFERENCES gl_accounts(ID),
FOREIGN KEY (GLTransactionID) REFERENCES gl_transactions(ID)
......@@ -897,7 +897,7 @@ CREATE INDEX supplier_receipt_allocations_idx2 ON supplier_receipt_allocations (
......@@ -910,7 +910,7 @@ CREATE TABLE invoices (
ID @SERIAL_TYPE@,
ClientID @SERIAL_REF_TYPE@ NOT NULL,
/* Our reference */
Number VARCHAR(255) NOT NULL,
......@@ -931,7 +931,7 @@ CREATE TABLE invoices (
Note TEXT,
GLTransactionID @SERIAL_REF_TYPE@, /* Not null if posted */
Paid SMALLINT NOT NULL DEFAULT '0',
......@@ -947,7 +947,7 @@ CREATE INDEX invoices_idx4 ON invoices (DueDate);
CREATE TABLE invoice_items (
ID @SERIAL_TYPE@,
InvoiceID @SERIAL_REF_TYPE@ NOT NULL,
InventoryID @SERIAL_REF_TYPE@ NOT NULL, /* Item we linked to in inventory */
......@@ -958,10 +958,10 @@ CREATE TABLE invoice_items (
Unit VARCHAR(255),
UnitPrice DECIMAL(10,2) NOT NULL,
Price DECIMAL(10,2) NOT NULL,
Discount DECIMAL(5,2), /* % discount, 0 = none, NULL = not discountable */
DiscountAmount DECIMAL(10,2), /* discount amount, NULL = none */
TaxTypeID @SERIAL_REF_TYPE@, /* NULL for no tax applicable */
TaxMode SMALLINT, /* NULL for no tax applicaable, SellPrice is 1 - including, 2 - excluding tax */
......@@ -980,11 +980,11 @@ CREATE INDEX invoice_items_idx1 ON invoice_items (InvoiceID);
CREATE TABLE invoice_item_tracking (
ID @SERIAL_TYPE@,
InvoiceItemID @SERIAL_REF_TYPE@ NOT NULL,
InventoryTrackingID @SERIAL_REF_TYPE@ NOT NULL, /* Inventory tracking */
FOREIGN KEY (InvoiceItemID) REFERENCES invoice_items(ID),
FOREIGN KEY (InventoryTrackingID) REFERENCES inventory_tracking(ID)
) @CREATE_TABLE_SUFFIX@;
......@@ -995,9 +995,9 @@ CREATE INDEX invoice_item_tracking_idx2 ON invoice_item_tracking (InventoryTrack
CREATE TABLE invoice_transactions (
ID @SERIAL_TYPE@,
InvoiceID @SERIAL_REF_TYPE@ NOT NULL,
/* CreditNoteID @SERIAL_REF_TYPE@, */
ReceiptAllocationID @SERIAL_REF_TYPE@,
......@@ -1020,7 +1020,7 @@ CREATE TABLE client_account_transactions (
ID @SERIAL_TYPE@,
ClientID @SERIAL_REF_TYPE@ NOT NULL,
Number VARCHAR(255), /* Transaction number */
/* Our reference */
......@@ -1032,7 +1032,7 @@ CREATE TABLE client_account_transactions (
Amount DECIMAL(10,2),
GLTransactionID @SERIAL_REF_TYPE@, /* Not null if posted */
Closed SMALLINT NOT NULL DEFAULT '0',
......@@ -1047,9 +1047,9 @@ CREATE INDEX client_account_transactions_idx2 ON client_account_transactions (Tr
/* This is part of receipting */
CREATE TABLE client_account_transaction_allocations (
ID @SERIAL_TYPE@,
AccountTransactionID @SERIAL_REF_TYPE@ NOT NULL,
/* CreditNoteID @SERIAL_REF_TYPE@, */
ReceiptAllocationID @SERIAL_REF_TYPE@,
......@@ -1080,10 +1080,10 @@ CREATE TABLE receipts (
Amount DECIMAL(10,2) NOT NULL,
GLTransactionID @SERIAL_REF_TYPE@, /* Set if posted */
Closed SMALLINT NOT NULL DEFAULT '0',
FOREIGN KEY (ClientID) REFERENCES clients(ID),
FOREIGN KEY (GLAccountID) REFERENCES gl_accounts(ID),
FOREIGN KEY (GLTransactionID) REFERENCES gl_transactions(ID)
......@@ -1099,7 +1099,7 @@ CREATE TABLE receipt_allocations (
ID @SERIAL_TYPE@,
ReceiptID @SERIAL_REF_TYPE@ NOT NULL,
InvoiceID @SERIAL_REF_TYPE@,
InvoiceTransactionID @SERIAL_REF_TYPE@,
......@@ -1113,7 +1113,7 @@ CREATE TABLE receipt_allocations (
FOREIGN KEY (InvoiceID) REFERENCES invoices(ID),
FOREIGN KEY (InvoiceTransactionID) REFERENCES invoice_transactions(ID),
FOREIGN KEY (AccountTransactionID) REFERENCES client_account_transactions(ID),
FOREIGN KEY (AccountTransactionAllocationID) REFERENCES client_account_transaction_allocations(ID)
......@@ -1174,7 +1174,7 @@ If it is for inventory sent back by a client it works as follows
+ Sales
+ VAT
- Debtor
+ Stock control
- Cost of goods sold
......
# SQLite conversion script
# Copyright (C) 2009, AllWorldIT
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2005-2007 Nigel Kukard <nkukard@lbsd.net>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......
# SOAP authentication functions
# Copyright (C) 2009, AllWorldIT
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2005-2007 Nigel Kukard <nkukard@lbsd.net>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......@@ -107,7 +107,7 @@ sub sessionGetData {
sub checkAccess {
my ($uri,$package,$function) = @_;
# Check we have session data
if (!defined($authData)) {
die "Access denied. No active session";
......
# SOAP interface to Clients module
# Copyright (C) 2009, AllWorldIT
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2007 Nigel Kukard <nkukard@lbsd.net>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......@@ -44,7 +44,7 @@ sub init {
Auth::aclAdd('Clients','getClient','Clients/Show');
Auth::aclAdd('Clients','getClientAddresses','Clients/Show');
Auth::aclAdd('Clients','getClientPhoneNumbers','Clients/Show');
Auth::aclAdd('Clients','getClientEmailAddresses','Clients/Show');
Auth::aclAdd('Clients','getClientEmailAddresses','Clients/Show');
Auth::aclAdd('Clients','createClient','Clients/Add');
Auth::aclAdd('Clients','linkClientAddress','Clients/Add');
......@@ -467,7 +467,7 @@ sub removeClient {
# @li TransactionDate Transaction date
# @li Amount Amount
# @li TransactionReference Transaction reference
sub getClientGLAccountEntries
sub getClientGLAccountEntries
{
my (undef,$data) = @_;
......@@ -634,7 +634,7 @@ sub getAccountTransactions
# @param data Hash ref with the below attributes
# @li ID - Optional transaction ID
# @li Number - Optional transaction number
#
#
# @return Hash refs, described below
# @li ID - Transaction ID
# @li ClientID - Client ID
......
# SOAP interface to Engine module
# Copyright (C) 2009, AllWorldIT
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2007 Nigel Kukard <nkukard@lbsd.net>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......
# SOAP interface to GL module
# Copyright (C) 2009, AllWorldIT
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2006-2007 Nigel Kukard <nkukard@lbsd.net>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......
# SOAP interface to Inventory module
# Copyright (C) 2009, AllWorldIT
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2007 Nigel Kukard <nkukard@lbsd.net>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......
# SOAP interface to Payments module
# Copyright (C) 2009, AllWorldIT
# Copyright (C) 2009-2014, AllWorldIT
# Copyright (C) 2008, LinuxRulz
# Copyright (C) 2007 Nigel Kukard <nkukard@lbsd.net>
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
......@@ -49,7 +49,7 @@ sub init {
Auth::aclAdd('Payments','getPaymentAllocations','Payments/Allocation/Show');
Auth::aclAdd('Payments','createPaymentAllocation','Payments/Allocation/Add');
Auth::aclAdd('Payments','postPaymentAllocation','Payments/Allocation/Post');
}
}
......
# SOAP interface to Purchasing module