Preisupdate in eigenen controller verlagert
[kivitendo-erp.git] / templates / webpages / ic / confirm_price_update.html
index 910c91a..ae2e0ac 100644 (file)
@@ -1,23 +1,20 @@
 [%- USE T8 %]
 [%- USE HTML %]
 [%- USE LxERP %]
+[%- USE L %]
 
- <form method="post" action="ic.pl">
-
-  [%- FOREACH row = HIDDENS %]
-  <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" >
-  [%- END %]
+ <form method="post" action="controller.pl">
 
   <h2 class="confirm">[% 'Confirm!' | $T8 %]</h2>
 
-  <p>
-   [% LxERP.t8('Approximately #1 prices will be updated.', num_matches) %]
-  </p>
+  <p>[% LxERP.t8('Approximately #1 prices will be updated.', num_matches) %]</p>
 
   <p>[% 'Are you sure you want to update the prices' | $T8 %]?</p>
 
   <p>
-   <input name="action" class="submit" type="submit" value="[% 'Continue' | $T8 %]">
+   [% L.hidden_tag('filter_key', filter_key) %]
+   [% L.hidden_tag('action', 'PartsPriceUpdate/dispatch') %]
+   <input name="action_update_prices" class="submit" type="submit" value="[% 'Continue' | $T8 %]">
    <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
   </p>
  </form>