[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5941] trunk/LedgerSMB/Entity/Credit_Account.pm
- Subject: SF.net SVN: ledger-smb:[5941] trunk/LedgerSMB/Entity/Credit_Account.pm
- From: ..hidden..
- Date: Thu, 8 Aug 2013 11:57:34 +0000
Revision: 5941
http://sourceforge.net/p/ledger-smb/code/5941
Author: einhverfr
Date: 2013-08-08 11:57:33 +0000 (Thu, 08 Aug 2013)
Log Message:
-----------
Pricematrix saving now works
Modified Paths:
--------------
trunk/LedgerSMB/Entity/Credit_Account.pm
Modified: trunk/LedgerSMB/Entity/Credit_Account.pm
===================================================================
--- trunk/LedgerSMB/Entity/Credit_Account.pm 2013-08-08 11:17:58 UTC (rev 5940)
+++ trunk/LedgerSMB/Entity/Credit_Account.pm 2013-08-08 11:57:33 UTC (rev 5941)
@@ -397,13 +397,16 @@
my $self = shift @_;
my $retval = {};
@{$retval->{pricematrix}} = $self->exec_method(
- funcname => 'eca__get_pricematrix'
+ funcname => 'eca__get_pricematrix',
+ args => [$self->{id}]
);
if ($self->{entity_class} == 1){
@{$retval->{pricematrix_pricegroup}}= $self->exec_method(
- funcname => 'eca__get_pricematrix_by_pricegroup'
+ funcname => 'eca__get_pricematrix_by_pricegroup',
+ args => [$self->{id}]
);
}
+ return $retval;
}
=item delete_pricematrix($entry_id)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.