diff options
Diffstat (limited to 'scripts/customer.pl')
-rw-r--r-- | scripts/customer.pl | 8 |
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; |