Revert "Neue Verkaufsberichtvariante mit Umsatz-Sortierung"
[kivitendo-erp.git] / templates / webpages / vk / search_invoice_top.html
diff --git a/templates/webpages/vk/search_invoice_top.html b/templates/webpages/vk/search_invoice_top.html
deleted file mode 100644 (file)
index 199c8a6..0000000
+++ /dev/null
@@ -1,280 +0,0 @@
-[%- USE T8 %]
-[%- USE L %]
-
-<form method=post name="search_invoice_top" action=[% script %]>
-  <input type="hidden" name="sort" value="transdate">
-  <input type="hidden" name="l_sort_by_total" value="Y">
-  <input type=hidden name=nextsub value=[% nextsub %]>
-
-  <div class="listtop">[% title %]</div>
-
-
-  <table>
-
-    <tr>
-      <td align="right">[% 'Main sorting' | $T8 %]</td>
-      <td>
-        <select name="topsortmain" id="topsortmain">
-          <option value="description">[% 'Part' | $T8 %]</option>
-          <option value="customername" selected="selected">[% 'Customer' | $T8 %]</option>
-          <option value="country">[% 'Country' | $T8 %]</option>
-          <option value="partsgroup">[% 'Group' | $T8 %]</option>
-          <option value="business">[% 'Customer type' | $T8 %]</option>
-          <option value="salesman">[% 'Salesman' | $T8 %]</option>
-          <option value="month">[% 'Month' | $T8 %]</option>
-        </select>
-    </tr>
-    <tr>
-      <td align="right">[% 'Sort By' | $T8 %]</td>
-      <td>
-        <select name="topsorttype" id="topsorttype">
-          <option value="sellprice_total" selected="selected">[% 'Total revenue' | $T8 %]</option>
-          <option value="marge_total">[% 'Sales margin' | $T8 %]</option>
-          <option value="qty">[% 'Quantity' | $T8 %]</option>
-          <option value="weight">[% 'Weight' | $T8 %]</option>
-        </select>
-      </td>
-      </td>
-    </tr>
-
-    <tr>
-      <th align="right">[% 'Total sum' | $T8 %]</th>
-      <td colspan="1" align=left><input name="l_total" class=checkbox type=checkbox value=Y checked></td>
-      <td align="right" nowrap>[% 'Decimalplaces' | $T8 %]: </td>
-      <td colspan="2"><input name="decimalplaces" size="2" value="2"></td>
-    </tr>
-
-
-    <tr>
-      <td></td>
-      <td colspan="7">
-        <hr size="1" noshade="">
-      </td>
-    <tr>
-
-    <tr>
-      <th align=right>[% 'Customer' | $T8 %]</th>
-      <td>
-        [%- INCLUDE 'generic/multibox.html'
-          name          = 'customer',
-          default       = oldcustomer,
-          style         = 'width: 250px',
-          DATA          = ALL_VC,
-          id_sub        = 'vc_keys',
-          label_key     = 'name',
-          select        = vc_select,
-          limit         = vclimit,
-          show_empty    = 1,
-          allow_textbox = 1,
-          class         = 'initial_focus',
-        -%]
-      </td>
-
-      <th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
-      <td>
-        <input name="customernumber" size="20">
-      </td>
-    </tr>
-
-    <tr>
-      <th align=right nowrap>[% 'Department' | $T8 %]</th>
-      <td>
-        [%- INCLUDE 'generic/multibox.html'
-          name          = 'department',
-          style         = 'width: 250px',
-          DATA          = ALL_DEPARTMENTS,
-          id_key        = 'id',
-          label_key     = 'description',
-          show_empty    = 1,
-          allow_textbox = 0,
-        -%]
-      </td>
-
-      <th align="right">[% 'Project Number' | $T8 %]</th>
-      <td>
-        [%- INCLUDE 'generic/multibox.html'
-          name          =  'project_id',
-          style         = "width: 250px",
-          DATA          =  ALL_PROJECTS,
-          id_key        = 'id',
-          label_key     = 'projectnumber',
-          limit         = vclimit,
-          show_empty    = 1,
-          allow_textbox = 0,
-        -%]
-      </td>
-    </tr>
-
-    <tr>
-      <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
-      <td><input name="partnumber" size="20"></td>
-    </tr>
-
-    <tr>
-      <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
-      <td>
-        <input name="description" size="40">
-      </td>
-    </tr>
-
-    <tr>
-      <th align="right">[% 'Group' | $T8 %]</th>
-      <td>
-        [%- INCLUDE 'generic/multibox.html'
-          name          = 'partsgroup_id',
-          style         = 'width: 250px',
-          DATA          =  ALL_PARTSGROUPS,
-          id_key        = 'id',
-          label_key     = 'partsgroup',
-          show_empty    = 1,
-          allow_textbox = 0,
-        -%]
-      </td>
-
-      <td align="right" nowrap>[% 'Country' | $T8 %]</td>
-      <td><input name="country" size="20"></td>
-    </tr>
-
-    <tr>
-      <th align="right">[% 'Employee' | $T8 %]</th>
-      <td>
-        [%- INCLUDE 'generic/multibox.html'
-          name          = 'employee_id',
-          style         = 'width: 250px',
-          DATA          =  ALL_EMPLOYEES,
-          id_key        = 'id',
-          label_sub     = 'employee_labels',
-          limit         = vclimit,
-          show_empty    = 1,
-          allow_textbox = 0,
-          default       = ' ',
-        -%]
-      </td>
-
-      <th align="right">[% 'Salesman' | $T8 %]</th>
-      <td>
-        [%- INCLUDE 'generic/multibox.html'
-          name          = 'salesman_id',
-          style         = 'width: 250px',
-          DATA          =  ALL_SALESMEN,
-          id_key        = 'id',
-          label_sub     = 'salesman_labels',
-          limit         = vclimit,
-          show_empty    = 1,
-          allow_textbox = 0,
-        -%]
-      </td>
-    </tr>
-
-    <tr>
-      <th align="right">[% 'Customer type' | $T8 %]</th>
-      <td>
-        [%- INCLUDE 'generic/multibox.html'
-           name          =  'business_id',
-           style         = "width: 250px",
-           DATA          =  ALL_BUSINESS_TYPES,
-           id_key        = 'id',
-           label_key     = 'description',
-           limit         = vclimit,
-           show_empty    = 1,
-           allow_textbox = 0,
-        -%]
-      </td>
-    </tr>
-
-    <tr>
-      <th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th>
-      <td>
-        [% L.date_tag('transdatefrom') %]
-      </td>
-
-      <th align=right>[% 'Bis' | $T8 %]</th>
-
-      <td>
-        [% L.date_tag('transdateto') %]
-      </td>
-    </tr>
-
-
-    <tr>
-      <td></td>
-      <th colspan="4" align="left">
-        [% 'Filter for customer variables' | $T8 %]
-      </th>
-    </tr>
-    [% CUSTOM_VARIABLES_FILTER_CODE_CT %]
-
-
-    <tr>
-      <td></td>
-      <th colspan="4" align="left">
-        [% 'Filter for item variables' | $T8 %]
-      </th>
-    </tr>
-    [% CUSTOM_VARIABLES_FILTER_CODE_IC %]
-
-
-
-    <tr>
-      <td></td>
-      <td colspan="7">
-        <hr size="1" noshade="">
-      </td>
-    <tr>
-
-
-
-    <tr>
-      <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
-
-      <td colspan="3">
-        <table>
-          <tr>
-            <td align=left><input name="l_qty" class=checkbox type=checkbox value=Y checked>[% 'Quantity' | $T8 %]</td>
-            <td align=left><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked>[% 'Sales price total' | $T8 %]</td>
-            <td align=left><input name="l_lastcost_total" class=checkbox type=checkbox value=Y>[% 'Purchase price total' | $T8 %]</td>
-            <td align=left><input name="l_marge_total" class=checkbox type=checkbox value=Y>[% 'Margetotal' | $T8 %]</td>
-            <td colspan="1"> ([% 'Cumulated values' | $T8 %])
-          </tr>
-
-          <tr>
-            <td align=left><input name="l_discount" class=checkbox type=checkbox value=Y>[% 'Discount' | $T8 %]</td>
-            <td align=left><input name="l_sellprice" class=checkbox type=checkbox value=Y>[% 'Sales price' | $T8 %]</td>
-            <td align=left><input name="l_lastcost" class=checkbox type=checkbox value=Y>[% 'Purchase price' | $T8 %]</td>
-            <td align=left><input name="l_marge_percent" class=checkbox type=checkbox value=Y>[% 'Margepercent' | $T8 %]</td>
-            <td colspan="1">([% 'Averaged values' | $T8 %])</td>
-          </tr>
-
-          <tr>
-            <td align=left><input name="l_weight" class=checkbox type=checkbox value=Y>[% 'Weight' | $T8 %]</td>
-            <td></td>
-            <td></td>
-            <td></td>
-            <td>([% 'Averaged values' | $T8 %])</td>
-          </tr>
-
-          <tr>
-            <td colspan="7">&nbsp;</td>
-          </tr>
-
-        </table>
-      </td>
-    </tr>
-
-  </table>
-
-  <hr size="3" noshade="">
-
-  <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
-
-  <br><br>
-
-</form>
-
-<script type="text/javascript">
-<!--
-$(document).ready(function(){
-  $('customer').focus();
-})
-//-->
-</script>