Revision 4b38f376
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/project/_basic_data.html | ||
---|---|---|
[%- USE T8 %]
|
||
[%- USE L %]
|
||
[%- USE P %]
|
||
[%- USE HTML %]
|
||
[%- USE LxERP %]
|
||
<table>
|
||
<tr>
|
||
<th align="right">[% 'Number' | $T8 %]</th>
|
||
<td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, style='width: 300px', class="initial_focus") %]</td>
|
||
</tr>
|
||
[% USE T8 %]
|
||
[% USE L %]
|
||
[% USE P %]
|
||
[% USE HTML %]
|
||
[% USE LxERP %]
|
||
|
||
<tr>
|
||
<th align="right">[% 'Description' | $T8 %]</th>
|
||
<td>
|
||
[%- L.areainput_tag("project.description", SELF.project.description, size=60, style="width: 300px", wrap="soft") %]
|
||
</td>
|
||
</tr>
|
||
<div class="wrapper">
|
||
|
||
<tr>
|
||
<th align="right">[% 'Project Type' | $T8 %]</th>
|
||
<td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', style='width: 300px') %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Project Status' | $T8 %]</th>
|
||
<td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', style='width: 300px') %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Customer' | $T8 %]</th>
|
||
<td>[% P.customer_vendor.picker('project.customer_id', SELF.project.customer_id, type='customer', fat_set_item=1, style='width: 300px', default=SELF.project.customer_id)%] [%- IF SELF.project.customer_id %]
|
||
[%- END %]
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Valid' | $T8 %]</th>
|
||
<td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, style='width: 300px') %]</td>
|
||
</tr>
|
||
|
||
[%- IF SELF.project.id %]
|
||
<tr>
|
||
<th align="right">[% 'Active' | $T8 %]</th>
|
||
<td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, style='width: 300px') %]</td>
|
||
</tr>
|
||
[%- END %]
|
||
<table class="tbl-horizontal">
|
||
<caption>[% 'Project' | $T8 %][% IF SELF.project.description %] <i>[% SELF.project.description %]</i>[% END %] </caption>
|
||
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<th>[% 'Number' | $T8 %]</th>
|
||
<td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, class="wi-wide initial_focus") %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Description' | $T8 %]</th>
|
||
<td>[% L.areainput_tag("project.description", SELF.project.description, size=37, class='wi-wide', wrap="soft") %] </td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Project Type' | $T8 %]</th>
|
||
<td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', class='wi-wide') %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Project Status' | $T8 %]</th>
|
||
<td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', class='wi-wide') %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Customer' | $T8 %]</th>
|
||
<td>
|
||
[% P.customer_vendor.picker('project.customer_id', SELF.project.customer_id, type='customer', fat_set_item=1, class='wi-wide', default=SELF.project.customer_id)%]
|
||
[% #PENDENT: Was bedeutet das? %] [% IF SELF.project.customer_id %][% END %]
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Valid' | $T8 %]</th>
|
||
<td>[% L.select_tag('project.valid', [ [ 1, LxERP.t8('Valid') ], [ 0, LxERP.t8('Invalid') ] ], default=SELF.project.valid, class='wi-wide') %]</td>
|
||
</tr>
|
||
[% IF SELF.project.id %]
|
||
<tr>
|
||
<th>[% 'Active' | $T8 %]</th>
|
||
<td>[% L.select_tag('project.active', [ [ 1, LxERP.t8('Active') ], [ 0, LxERP.t8('Inactive') ] ], default=SELF.project.active, class='wi-wide') %]</td>
|
||
</tr>
|
||
[% END %]
|
||
</tbody>
|
||
</table>
|
||
|
||
</div><!-- /.wrapper -->
|
templates/webpages/project/_cvars.html | ||
---|---|---|
[%- USE HTML %]
|
||
<table>
|
||
[%- FOREACH var = CUSTOM_VARIABLES %]
|
||
[% USE HTML %]
|
||
<table class="tbl-horizontal">
|
||
[% FOREACH var = CUSTOM_VARIABLES %]
|
||
<tr>
|
||
<td align="right" valign="top">[% HTML.escape(var.description) %]</td>
|
||
<td valign="top">[% var.HTML_CODE %]</td>
|
||
<th>[% HTML.escape(var.description) %]</th>
|
||
<td>[% var.HTML_CODE %]</td>
|
||
</tr>
|
||
[%- END %]
|
||
[% END %]
|
||
</table>
|
templates/webpages/project/_filter.html | ||
---|---|---|
[%- USE T8 %]
|
||
[%- USE HTML %]
|
||
[%- USE L %]
|
||
[%- USE LxERP %]
|
||
[% USE T8 %]
|
||
[% USE HTML %]
|
||
[% USE L %]
|
||
[% USE LxERP %]
|
||
|
||
[% L.hidden_tag("_include_cvars_from_form", 1) %]
|
||
|
||
<table id="filter_table">
|
||
<tr>
|
||
<th align="right">[% 'Number' | $T8 %]</th>
|
||
<td>[% L.input_tag('filter.projectnumber:substr::ilike', filter.projectnumber_substr__ilike, size=60) %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Description' | $T8 %]</th>
|
||
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size=60, class='initial_focus') %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Customer' | $T8 %]</th>
|
||
<td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, size=60) %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Project Type' | $T8 %]</th>
|
||
<td>[% L.select_tag('filter.project_type_id', SELF.project_types, default=filter.project_type_id, title_key='description', with_empty=1, style="width: 200px") %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Project Status' | $T8 %]</th>
|
||
<td>[% L.select_tag('filter.project_status_id', SELF.project_statuses, default=filter.project_status_id, title_key='description', with_empty=1, style="width: 200px") %]</td>
|
||
</tr>
|
||
[% BLOCK filter_toggle_panel %]
|
||
<table id="filter_table" class="tbl-horizontal">
|
||
<caption>[% 'Project' | $T8 %]</caption>
|
||
<tbody>
|
||
<tr>
|
||
<th>[% 'Number' | $T8 %]</th>
|
||
<td>[% L.input_tag('filter.projectnumber:substr::ilike', filter.projectnumber_substr__ilike, class='wi-normal') %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Description' | $T8 %]</th>
|
||
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, class='wi-normal initial_focus') %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Customer' | $T8 %]</th>
|
||
<td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, class='wi-normal') %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Project Type' | $T8 %]</th>
|
||
<td>[% L.select_tag('filter.project_type_id', SELF.project_types, default=filter.project_type_id, title_key='description', with_empty=1, class='wi-normal') %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Project Status' | $T8 %]</th>
|
||
<td>[% L.select_tag('filter.project_status_id', SELF.project_statuses, default=filter.project_status_id, title_key='description', with_empty=1, class='wi-normal') %]</td>
|
||
</tr>
|
||
|
||
[% FOREACH cvar_cfg = SELF.cvar_configs %]
|
||
[%- IF cvar_cfg.searchable %]
|
||
... | ... | |
[% END %]
|
||
[% END %]
|
||
|
||
<tr>
|
||
<th>[% 'Include in Report' | $T8 %]</th>
|
||
<td>
|
||
<table>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table class="tbl-horizontal">
|
||
<caption>[% 'Include in Report' | $T8 %]</caption>
|
||
<tbody>
|
||
<tr>
|
||
<td>[% L.select_tag('filter.active', [ [ 'active', LxERP.t8('Active') ], [ 'inactive', LxERP.t8('Inactive') ], [ 'both', LxERP.t8('Both') ] ], default=filter.active, style="width: 200px") %]</td>
|
||
<td>[% L.select_tag('filter.active', [ [ 'active', LxERP.t8('Active') ], [ 'inactive', LxERP.t8('Inactive') ], [ 'both', LxERP.t8('Both') ] ], default=filter.active, style="width: 200px") %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>[% L.select_tag('filter.valid', [ [ 'valid', LxERP.t8('Valid') ], [ 'invalid', LxERP.t8('Invalid') ], [ 'both', LxERP.t8('Both') ] ], default=filter.valid, style="width: 200px") %]</td>
|
||
<td>[% L.select_tag('filter.valid', [ [ 'valid', LxERP.t8('Valid') ], [ 'invalid', LxERP.t8('Invalid') ], [ 'both', LxERP.t8('Both') ] ], default=filter.valid, style="width: 200px") %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>[% L.select_tag('filter.status', [ [ 'all', LxERP.t8('All') ], [ 'orphaned', LxERP.t8('Orphaned') ] ], default=filter.status, style="width: 200px") %]</td>
|
||
<td>[% L.select_tag('filter.status', [ [ 'all', LxERP.t8('All') ], [ 'orphaned', LxERP.t8('Orphaned') ] ], default=filter.status, style="width: 200px") %]</td>
|
||
</tr>
|
||
|
||
[% FOREACH cvar_cfg = SELF.includeable_cvar_configs %]
|
||
... | ... | |
</tr>
|
||
[% END %]
|
||
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
[% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset')) %]
|
||
<div class="buttons">
|
||
[% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset'), class="neutral") %]
|
||
</div>
|
||
[% END # /BLOCK filter_toggle_panel %]
|
||
|
||
[% INCLUDE 'common/toggle_panel.html' %]
|
templates/webpages/project/_linked_records.html | ||
---|---|---|
[%- USE P %]
|
||
[% P.record.grouped_list(records) %]
|
||
[% USE P %]
|
||
[% P.record.grouped_list(records) %]
|
templates/webpages/project/form.html | ||
---|---|---|
[%- USE T8 %]
|
||
[%- USE L %]
|
||
[%- USE P %]
|
||
[%- USE HTML %]
|
||
[%- USE LxERP %]
|
||
[% USE T8 %]
|
||
[% USE L %]
|
||
[% USE P %]
|
||
[% USE HTML %]
|
||
[% USE LxERP %]
|
||
<h1>[% title %]</h1>
|
||
|
||
[%- INCLUDE 'common/flash.html' %]
|
||
[% INCLUDE 'common/flash.html' %]
|
||
|
||
<form method="post" action="controller.pl" id="form">
|
||
[% L.hidden_tag("callback", callback) %]
|
||
... | ... | |
<div class="tabwidget">
|
||
<ul>
|
||
<li><a href="#basic_data">[% 'Basic Data' | $T8 %]</a></li>
|
||
[%- IF CUSTOM_VARIABLES.size %]
|
||
<li><a href="#custom_variables">[% 'Custom Variables' | $T8 %]</a></li>
|
||
[%- END %]
|
||
[%- IF SELF.may_edit_invoice_permissions %]
|
||
[% IF CUSTOM_VARIABLES.size %]
|
||
<li><a href="#custom_variables">[% 'Custom Variables' | $T8 %]</a></li>
|
||
[% END %]
|
||
[% IF SELF.may_edit_invoice_permissions %]
|
||
<li><a href="#invoice_permissions">[% 'Permissions for invoices' | $T8 %]</a></li>
|
||
[%- END %]
|
||
[%- IF SELF.project.id and AUTH.assert('record_links', 1) %]
|
||
<li><a href="#linked_records">[% 'Linked Records' | $T8 %]</a></li>
|
||
[%- END %]
|
||
[% END %]
|
||
[% IF SELF.project.id and AUTH.assert('record_links', 1) %]
|
||
<li><a href="#linked_records">[% 'Linked Records' | $T8 %]</a></li>
|
||
[% END %]
|
||
</ul>
|
||
|
||
<div id="basic_data">
|
||
[%- PROCESS 'project/_basic_data.html' %]
|
||
<div id="basic_data" class="ui-tabs-panel">
|
||
[% PROCESS 'project/_basic_data.html' %]
|
||
</div>
|
||
|
||
[%- IF CUSTOM_VARIABLES.size %]
|
||
<div id="custom_variables">
|
||
[%- PROCESS 'project/_cvars.html' %]
|
||
</div>
|
||
[%- END %]
|
||
[% IF CUSTOM_VARIABLES.size %]
|
||
<div id="custom_variables" class="ui-tabs-panel">
|
||
[% PROCESS 'project/_cvars.html' %]
|
||
</div>
|
||
[% END %]
|
||
|
||
[%- IF SELF.may_edit_invoice_permissions %]
|
||
[% IF SELF.may_edit_invoice_permissions %]
|
||
<div id="invoice_permissions">
|
||
[%- PROCESS 'project/_invoice_permissions.html' %]
|
||
[% PROCESS 'project/_invoice_permissions.html' %]
|
||
</div>
|
||
[%- END %]
|
||
|
||
[%- IF SELF.project.id and AUTH.assert('record_links', 1) %]
|
||
<div id="linked_records">
|
||
[%- PROCESS 'project/_linked_records.html' records=SELF.linked_records %]
|
||
</div>
|
||
[%- END %]
|
||
[% END %]
|
||
[% IF SELF.project.id and AUTH.assert('record_links', 1) %]
|
||
<div id="linked_records" class="ui-tabs-panel">
|
||
[% PROCESS 'project/_linked_records.html' records=SELF.linked_records %]
|
||
</div>
|
||
[% END %]
|
||
|
||
</div>
|
||
</form>
|
templates/webpages/project/report_bottom.html | ||
---|---|---|
[% USE L %]
|
||
[%- L.paginate_controls(models=SELF.models) %]
|
||
[% L.paginate_controls(models=SELF.models) %]
|
||
</div><!-- /.wrapper -->
|
templates/webpages/project/report_top.html | ||
---|---|---|
[%- USE L %]
|
||
[%- USE T8 %]
|
||
[%- USE LxERP %]
|
||
[%- USE HTML %]
|
||
<form action='controller.pl' method='post' id='search_form'>
|
||
<div class='filter_toggle'>
|
||
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
|
||
[% SELF.filter_summary | html %]
|
||
</div>
|
||
<div class='filter_toggle' style='display:none'>
|
||
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a>
|
||
[%- PROCESS 'project/_filter.html' filter=SELF.models.filtered.laundered %]
|
||
|
||
[% L.hidden_tag('action', 'Project/dispatch') %]
|
||
[% L.hidden_tag('sort_by', FORM.sort_by) %]
|
||
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
|
||
[% L.hidden_tag('page', FORM.page) %]
|
||
</div>
|
||
[% USE L %]
|
||
[% USE T8 %]
|
||
[% USE LxERP %]
|
||
[% USE HTML %]
|
||
|
||
<form action="controller.pl" method="post" id="search_form">
|
||
<div class="wrapper">
|
||
[% PROCESS 'project/_filter.html' filter=SELF.models.filtered.laundered %]
|
||
[% L.hidden_tag('action', 'Project/dispatch') %]
|
||
[% L.hidden_tag('sort_by', FORM.sort_by) %]
|
||
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
|
||
[% L.hidden_tag('page', FORM.page) %]
|
||
</div><!-- /.wrapper -->
|
||
</form>
|
||
<hr>
|
||
<div class="wrapper">
|
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/project/..