From e170abc7bd6b1087bd2a942a5bd60c20471e1943 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 4 Aug 2014 01:44:53 +0200 Subject: [PATCH] =?utf8?q?Console=20Shortcut=20f=C3=BCr=20chart=20(analog?= =?utf8?q?=20zu=20part)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- scripts/console | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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; -- 2.20.1