]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/wh/produce_assembly_error.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / wh / produce_assembly_error.html
1 [%- USE T8 %][%- USE HTML %][%- USE LxERP -%][%- USE L -%]
2
3 <div class="message message_error">
4   <h4>[% LxERP.t8("Error!") %]</h4>
5 </div>
6
7 [% IF missing_qty_exceptions.size %]
8   <div class="wrapper">[% LxERP.t8("The following parts could not be allocated:") %]</div>
9
10   <div class="wrapper">
11     <table class="tbl-list">
12       <thead>
13         <tr>
14           <th>[% LxERP.t8("Part") %]</th>
15           <th class="right">[% LxERP.t8("Required qty") %]</th>
16           <th class="right">[% LxERP.t8("Missing qty") %]</th>
17         </tr>
18       </thead>
19
20       <tbody>
21         [% FOREACH ex = missing_qty_exceptions %]
22           <tr class="listrow">
23             <td>[% HTML.escape(ex.part_description) %]</td>
24             <td class="numeric">[% HTML.escape(LxERP.format_amount(ex.to_allocate_qty)) %]</td>
25             <td class="numeric">[% HTML.escape(LxERP.format_amount(ex.missing_qty)) %]</td>
26           </tr>
27         [% END %]
28       </tbody>
29     </table>
30   </div>
31 [% END %]
32
33 [% IF other_exceptions.size %]
34   <div class="wrapper">[% LxERP.t8("Additional errors:") %]</div>
35
36   <div class="wrapper">
37     <ul>
38       [% FOREACH ex = other_exceptions %]
39         <li>[% HTML.escape(ex.message) %]</li>
40       [% END %]
41     </ul>
42   </div>
43 [% END %]