projects
/
order_line_extra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f24537
)
Add ItemSchedule Link
author
Maxime Bourget
<bmx007@gmail.com>
Tue, 11 Jun 2013 13:01:38 +0000
(14:01 +0100)
committer
Maxime Bourget
<bmx007@gmail.com>
Tue, 11 Jun 2013 13:03:19 +0000
(14:03 +0100)
hooks.php
patch
|
blob
|
history
diff --git
a/hooks.php
b/hooks.php
index 9bb260bb4baadec444f61a854e20920b98eb4c69..050bb52dd69693b14a957f078b912e8c1432f505 100644
(file)
--- a/
hooks.php
+++ b/
hooks.php
@@
-28,7
+28,13
@@
class hooks_order_line_extra extends hooks {
case 'orders':
$app->add_rapp_function(0, _('Order Extra'),
$path_to_root.'/modules/order_line_extra/order_lines_view.php', 'SA_SALESTRANSVIEW');
+ break;
+ case 'stock':
+ $app->add_rapp_function(1, _('Item Schedule'),
+ $path_to_root.'/modules/order_line_extra/item_schedule.php', 'SA_SALESTRANSVIEW');
+ break;
}
+
}
function install_access()