Commit 89a82902 authored by cosine's avatar cosine

- Added export for tickets

parent b6ae311c
......@@ -56,7 +56,7 @@
<td><%= [im_gif [db_string gif "select object_type_gif from acs_object_types where object_type = 'person'"]] %></td>
<td>Person</td>
<td align=center><a href="examples/person.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_persons%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_persons%>"><%= [im_gif database_table] %></a></td>
<td><!--Alternatively you can use the old facilities for <a href="<%= [export_vars -base "/intranet/users/upload-contacts" {return_url}] %>">importing users from MS-Outlook exports</a>.--></td>
</tr>
......@@ -64,7 +64,7 @@
<td><%= [im_gif [db_string gif "select object_type_gif from acs_object_types where object_type = 'im_company'"]] %></td>
<td>Company</td>
<td align=center><a href="examples/im_company.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_companies%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_companies%>"><%= [im_gif database_table] %></a></td>
<td>Company <a href="/intranet-dynfield/object-type?object_type=im_company">DynFields</a> are also recognized by their "pretty name" or "column name".</p>
</td>
</tr>
......@@ -73,7 +73,7 @@
<td><%= [im_gif [db_string gif "select object_type_gif from acs_object_types where object_type = 'im_invoice'"]] %></td>
<td>Financial Documents (Invoices, Purchase Orders, etc.)</td>
<td align=center><a href="examples/im_invoice.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_companies%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_companies%>"><%= [im_gif database_table] %></a></td>
<td>
<a href="http://www.project-open.com/en/object-type-im-invoice" target="_blank">Financial Documents</a> are
<a href="http://www.project-open.com/en/object-type-im-cost" target="_blank">cost items</a> with a header and
......@@ -86,7 +86,7 @@
<td><%= [im_gif page_white_star] %></td>
<td>Financial Document Item</td>
<td align=center><a href="examples/im_invoice_item.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_invoice_items%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_invoice_items%>"><%= [im_gif database_table] %></a></td>
<td>Allows to import "Items" seperately from headers.</td>
</tr>
......@@ -94,7 +94,7 @@
<td><%= [im_gif [db_string gif "select object_type_gif from acs_object_types where object_type = 'im_project'"]] %></td>
<td>Project</td>
<td align=center><a href="examples/im_project.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_projects%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_projects%>"><%= [im_gif database_table] %></a></td>
<td>
Project <a href="/intranet-dynfield/object-type?object_type=im_project">DynFields</a> are also recognized by their "pretty name" or "column name".</p>
</td>
......@@ -104,7 +104,7 @@
<td><%= [im_gif [db_string gif "select object_type_gif from acs_object_types where object_type = 'im_gantt_task'" -default ""]] %></td>
<td>Gantt Task</td>
<td align=center><a href="examples/im_project.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_tasks%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_tasks%>"><%= [im_gif database_table] %></a></td>
<td>Allows to import Timesheet Tasks separately from projects/sub-projects.</td>
</tr>
......@@ -112,7 +112,7 @@
<td><%= [im_gif hourglass] %></td>
<td>Timesheet Hour</td>
<td align=center><a href="examples/im_hour.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_hours%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_hours%>"><%= [im_gif database_table] %></a></td>
<td>DynFields for hours are not supported.</td>
</tr>
......@@ -120,7 +120,7 @@
<td><%= [im_gif money] %></td>
<td>Expense Items</td>
<td align=center><a href="examples/im_expense.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_expense_items%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_expense_items%>"><%= [im_gif database_table] %></a></td>
<td>
Expense <a href="/intranet-dynfield/object-type?object_type=im_expense">DynFields</a> are also recognized by their "pretty name" or "column name".
</td>
......@@ -130,7 +130,7 @@
<td><%= [im_gif box] %></td>
<td>Expense Bundles</td>
<td align=center><a href="examples/im_expense_bundle.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_expense_bundles%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_expense_bundles%>"><%= [im_gif database_table] %></a></td>
<td></td>
</tr>
......@@ -157,7 +157,7 @@
<td><%=[im_gif brick_link]%></td>
<td>Relationships</td>
<td align=center><a href="examples/im_relation.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/new?report_id=<%=$report_id_export_project_task_relationships%>"><%= [im_gif database_table] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_project_task_relationships%>"><%= [im_gif database_table] %></a></td>
<td>Import relationships between projects/tasks and persons.</td>
</tr>
......@@ -174,14 +174,13 @@
<tr>
<td><%= [im_gif [db_string gif "select object_type_gif from acs_object_types where object_type = 'im_ticket'"]] %></td>
<td>Tickets</td>
<td align=center></td>
<td align=center></td>
<td align=center><a href="examples/im_ticket.csv"><%= [im_gif csv-doc] %></a></td>
<td align=center><a href="/intranet-reporting/view?report_id=<%=$report_id_export_tickets%>"><%= [im_gif database_table] %></a></td>
<td>
Tickets import is under active development at the moment.<br>Please <a href="http://www.project-open.com/en/contact">contact us</a> for the current status or updates.
Ticket <a href="/intranet-dynfield/object-type?object_type=im_ticket">DynFields</a> are also recognized by their "pretty name" or "column name".</p>
</td>
</tr>
<!--
<tr>
<td><%= [im_gif [db_string gif "select object_type_gif from acs_object_types where object_type = 'im_cost'"]] %></td>
......
......@@ -31,16 +31,20 @@ set main_navbar_label [im_csv_import_label_from_object_type -object_type $object
db_1row get_report_ids "
select
(select report_id from im_reports where report_name = 'Export Persons') as report_id_export_persons,
(select report_id from im_reports where report_name = 'Export Absences') as report_id_export_absemces,
(select report_id from im_reports where report_name = 'Export Companies') as report_id_export_companies,
(select report_id from im_reports where report_name = 'Export Projects') as report_id_export_projects,
(select report_id from im_reports where report_name = 'Export Tasks') as report_id_export_tasks,
(select report_id from im_reports where report_name = 'Export Project-Task Relationships') as report_id_export_project_task_relationships,
(select report_id from im_reports where report_name = 'Export Finance Documents') as report_id_export_finance_documents,
(select report_id from im_reports where report_name = 'Export Invoice Items') as report_id_export_invoice_items,
(select report_id from im_reports where report_name = 'Export Conf Items') as report_id_export_conf_items,
(select report_id from im_reports where report_name = 'Export Expense Bundles') as report_id_export_expense_bundles,
(select report_id from im_reports where report_name = 'Export Expense Items') as report_id_export_expense_items,
(select report_id from im_reports where report_name = 'Export Hours') as report_id_export_hours
(select report_id from im_reports where report_name = 'Export Finance Documents') as report_id_export_finance_documents,
(select report_id from im_reports where report_name = 'Export Hours') as report_id_export_hours,
(select report_id from im_reports where report_name = 'Export Invoice Items') as report_id_export_invoice_items,
(select report_id from im_reports where report_name = 'Export Persons') as report_id_export_persons,
(select report_id from im_reports where report_name = 'Export Project-Task Relationships') as report_id_export_project_task_relationships,
(select report_id from im_reports where report_name = 'Export Projects') as report_id_export_projects,
(select report_id from im_reports where report_name = 'Export Risks') as report_id_export_risks,
(select report_id from im_reports where report_name = 'Export Tasks') as report_id_export_tasks,
(select report_id from im_reports where report_name = 'Export Tickets') as report_id_export_tickets
from dual
"
......
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