summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-26 02:47:54 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-26 02:47:54 +0000
commit977c143b3c79398daba5965419acb7c8a109bba7 (patch)
treec4852a8b176f6292621074d97d45d31a69d27388
parenta695d55dfd7b2a6620f21dae903237238c767ab2 (diff)
Added custom fields awareness to LedgerSMB::PE
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@313 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--Changelog2
-rwxr-xr-xLedgerSMB/PE.pm3
2 files changed, 5 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index 35804709..46a3014d 100644
--- a/Changelog
+++ b/Changelog
@@ -30,6 +30,8 @@ Code Quality and API:
* New template system (Chris T)
* IC.pm, OE.pm, and IS.pm are aware of custom fields (Chris T)
* Added LedgerSMB::Sysconfig for site-wide configuration (Chris T)
+* LedgerSMB::IC is aware of custom fields (Chris T)
+* LedgerSMB::PE is aware of custom fields (Chris T)
Packaging:
* Added first version of rpm spec from Mads Kiilerich (Chris T)
diff --git a/LedgerSMB/PE.pm b/LedgerSMB/PE.pm
index 1fcfb3c6..604e62e7 100755
--- a/LedgerSMB/PE.pm
+++ b/LedgerSMB/PE.pm
@@ -188,6 +188,8 @@ sub get_project {
PE->get_customer($myconfig, $form, $dbh);
+ $form->run_custom_queries('project', 'SELECT');
+
$dbh->disconnect;
}
@@ -225,6 +227,7 @@ sub save_project {
)|;
}
$dbh->do($query) || $form->dberror($query);
+ $form->run_custom_queries('project', 'UPDATE');
$dbh->disconnect;