X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Fconsole;h=f7b0a0e891c1a089503978065a4350397399271f;hb=c3fa430edf27cefc8d45597e8784d0e847a72ff4;hp=4ceb9a0ddedc3a7e3292afc18861b025b7c0cd1a;hpb=fa7fc7eeb3ca718914affee06c0629a08d571288;p=kivitendo-erp.git 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;