]> wagnertech.de Git - mfinanz.git/blobdiff - scripts/console
PriceSource: typo
[mfinanz.git] / scripts / console
index 4ceb9a0ddedc3a7e3292afc18861b025b7c0cd1a..01a6db9829a05f5f1e2e57c898494d68525abf58 100755 (executable)
@@ -160,8 +160,10 @@ Spezielle Kommandos:
   quit                - beendet die Konsole
 
   part                - shortcuts auf die jeweilige SL::DB::{...}::find_by
-  customer, vendor
-  order, invoice
+  customer, vendor,
+  order, invoice,
+  purchase_invoice,
+  chart
 
 EOL
 #  load   'module'     - läd das angegebene Modul, d.h. bin/mozilla/module.pl und SL/Module.pm.
@@ -226,6 +228,11 @@ sub invoice {
   SL::DB::Manager::Invoice->find_by(@_)
 }
 
+sub purchase_invoice {
+  require SL::DB::PurchaseInvoice;
+  SL::DB::Manager::PurchaseInvoice->find_by(@_)
+}
+
 sub customer {
   require SL::DB::Customer;
   SL::DB::Manager::Customer->find_by(@_)
@@ -236,6 +243,10 @@ sub vendor {
   SL::DB::Manager::Vendor->find_by(@_)
 }
 
+sub chart {
+  require SL::DB::Chart;
+  SL::DB::Manager::Chart->find_by(@_)
+}
 
 1;