summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-18 20:35:31 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-18 20:35:31 +0000
commit18e15b44b4dda09f5d5a8a416e3f6524fb8b2a64 (patch)
tree2697ea82a026998684f2e95b9cd0a54a7e2fd895 /LedgerSMB
parent5398dde91bacbc86db0614214d0bdcaedf142e67 (diff)
More customer/vendor screen/stored proc fixes. Note that since locations are mapped many<->many with companies and persons, I have moved the location class foreign key into the mapping tables.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1879 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/DBObject/Customer.pm4
-rwxr-xr-xLedgerSMB/Template/HTML.pm2
2 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/DBObject/Customer.pm b/LedgerSMB/DBObject/Customer.pm
index 36b4ed62..09f8e3dd 100644
--- a/LedgerSMB/DBObject/Customer.pm
+++ b/LedgerSMB/DBObject/Customer.pm
@@ -1,6 +1,6 @@
package LedgerSMB::DBObject::Customer;
-use base qw(LedgerSMB::DBObject::Company);
+use base qw(LedgerSMB::DBObject);
use LedgerSMB::DBObject;
use LedgerSMB::Entity;
@@ -44,4 +44,4 @@ sub search {
}
-1; \ No newline at end of file
+1;
diff --git a/LedgerSMB/Template/HTML.pm b/LedgerSMB/Template/HTML.pm
index 9159098e..ca748dd3 100755
--- a/LedgerSMB/Template/HTML.pm
+++ b/LedgerSMB/Template/HTML.pm
@@ -97,7 +97,7 @@ sub process {
$source = get_template($parent->{template});
}
$template = Template->new({
- INCLUDE_PATH => $parent->{include_path},
+ INCLUDE_PATH => [$parent->{include_path}, 'UI/lib'],
START_TAG => quotemeta('<?lsmb'),
END_TAG => quotemeta('?>'),
DELIMITER => ';',