Commit bafc4172 authored by Frank Bergmann's avatar Frank Bergmann

- removed timesheet and Big-Brother status for freelancers in MySLS

parent 58bf4561
......@@ -575,19 +575,6 @@ begin
acs_permission.grant_permission(v_menu, v_accounting, 'read');
acs_permission.grant_permission(v_menu, v_customers, 'read');
acs_permission.grant_permission(v_menu, v_freelancers, 'read');
v_menu := im_menu.new (
package_name => 'intranet-invoices',
label => 'invoices_new',
name => 'New',
url => '/intranet-invoices/',
sort_order => 90,
parent_menu_id => v_finance_menu
);
acs_permission.grant_permission(v_menu, v_admins, 'read');
acs_permission.grant_permission(v_menu, v_senman, 'read');
acs_permission.grant_permission(v_menu, v_accounting, 'read');
acs_permission.grant_permission(v_menu, v_customers, 'read');
end;
/
commit;
......
<master src="../../intranet-core/www/master">
<property name="title">@page_title;noquote@</property>
<property name="main_navbar_label">finance</property>
<%= [im_invoices_navbar "none" "/intranet/invoices/index" "" "" [list]] %>
<%= [im_costs_navbar "none" "/intranet/invoices/index" "" "" [list] "invoices_new"] %>
<table cellpadding=0 cellspacing=0 border=0 width=100%>
<tr>
......
<master src="../../intranet-core/www/master">
<property name=title>Add a user</property>
<property name="main_navbar_label">finance</property>
@filter_html;noquote@
<%= [im_costs_navbar $letter "/intranet-invoices/list" $next_page_url $previous_page_url [list invoice_status_id cost_type_id customer_id start_idx order_by how_many view_name letter] $parent_menu_label ] %>
<form action=invoice-action method=POST>
<%= [export_form_vars customer_id invoice_id return_url] %>
<table width=100% cellpadding=2 cellspacing=2 border=0>
@table_header_html;noquote@
@table_body_html;noquote@
@table_continuation_html;noquote@
@button_html;noquote@
</table>
</form>
......@@ -545,28 +545,3 @@ set button_html "
</td>
</tr>"
# ---------------------------------------------------------------
# 10. Join all parts together
# ---------------------------------------------------------------
ns_log Notice "intranet-invoices/list: parent_menu_label=$parent_menu_label"
set page_body "
$filter_html
[im_costs_navbar $letter "/intranet-invoices/list" $next_page_url $previous_page_url [list invoice_status_id cost_type_id customer_id start_idx order_by how_many view_name letter] $parent_menu_label ]
<form action=invoice-action method=POST>
[export_form_vars customer_id invoice_id return_url]
<table width=100% cellpadding=2 cellspacing=2 border=0>
$table_header_html
$table_body_html
$table_continuation_html
$button_html
</table>
</form>
"
db_release_unused_handles
doc_return 200 text/html [im_return_template]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment