projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f80a17f
)
Console Shortcut für chart (analog zu part)
author
G. Richardson
<information@kivitendo-premium.de>
Sun, 3 Aug 2014 23:44:53 +0000
(
01:44
+0200)
committer
G. Richardson
<information@kivitendo-premium.de>
Mon, 4 Aug 2014 15:31:42 +0000
(17:31 +0200)
scripts/console
patch
|
blob
|
history
diff --git
a/scripts/console
b/scripts/console
index
4ceb9a0
..
f7b0a0e
100755
(executable)
--- 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;