Revision 3f556b78
Von Kivitendo Admin vor fast 10 Jahren hinzugefügt
scripts/console | ||
---|---|---|
162 | 162 |
part - shortcuts auf die jeweilige SL::DB::{...}::find_by |
163 | 163 |
customer, vendor, |
164 | 164 |
order, invoice, |
165 |
purchase_invoice, |
|
165 | 166 |
chart |
166 | 167 |
|
167 | 168 |
EOL |
... | ... | |
227 | 228 |
SL::DB::Manager::Invoice->find_by(@_) |
228 | 229 |
} |
229 | 230 |
|
231 |
sub purchase_invoice { |
|
232 |
require SL::DB::PurchaseInvoice; |
|
233 |
SL::DB::Manager::PurchaseInvoice->find_by(@_) |
|
234 |
} |
|
235 |
|
|
230 | 236 |
sub customer { |
231 | 237 |
require SL::DB::Customer; |
232 | 238 |
SL::DB::Manager::Customer->find_by(@_) |
Auch abrufbar als: Unified diff
console - shortcut for purchase_invoice