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