summaryrefslogtreecommitdiff
path: root/scripts/customer.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-27 02:27:48 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-27 02:27:48 +0000
commitd4f3ec54f158e60565f7eccac83c88bf1cb934b6 (patch)
tree3fd850edba4103200bccb7f355fcbf1b3d12ab1c /scripts/customer.pl
parent7595b9fa3b219c3e0ad3eed3692445c2466772d7 (diff)
AR/AP Breakage Fixed
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1909 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'scripts/customer.pl')
-rw-r--r--scripts/customer.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/customer.pl b/scripts/customer.pl
index cf1f734e..ab9a6919 100644
--- a/scripts/customer.pl
+++ b/scripts/customer.pl
@@ -202,4 +202,12 @@ sub save_bank_account {
_render_main_screen($customer);
}
+sub save_notes {
+ my ($request) = @_;
+ my $customer = LedgerSMB::DBObject::Customer->new({base => $request});
+ $customer->save_notes();
+ $customer->get();
+ _render_main_screen($customer);
+}
+
1;