From: G. Richardson Date: Sun, 3 Aug 2014 23:44:53 +0000 (+0200) Subject: Console Shortcut für chart (analog zu part) X-Git-Tag: release-3.2.0beta~367 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e170abc7bd6b1087bd2a942a5bd60c20471e1943;p=kivitendo-erp.git Console Shortcut für chart (analog zu part) --- diff --git a/scripts/console b/scripts/console index 4ceb9a0dd..f7b0a0e89 100755 --- a/scripts/console +++ b/scripts/console @@ -160,8 +160,9 @@ Spezielle Kommandos: quit - beendet die Konsole part - shortcuts auf die jeweilige SL::DB::{...}::find_by - customer, vendor - order, invoice + customer, vendor, + order, invoice, + chart EOL # load 'module' - läd das angegebene Modul, d.h. bin/mozilla/module.pl und SL/Module.pm. @@ -236,6 +237,10 @@ sub vendor { SL::DB::Manager::Vendor->find_by(@_) } +sub chart { + require SL::DB::Chart; + SL::DB::Manager::Chart->find_by(@_) +} 1;