[%- USE T8 %][%- USE HTML %][%- USE LxERP -%][%- USE L -%]

[% LxERP.t8("Error!") %]

[% LxERP.t8("The assembly could not be produced.") %]

[% IF missing_qty_exceptions.size %]

[% LxERP.t8("The following parts could not be allocated:") %]

[% FOREACH ex = missing_qty_exceptions %] [% END %]
[% LxERP.t8("Part") %] [% LxERP.t8("Required qty") %] [% LxERP.t8("Missing qty") %]
[% HTML.escape(ex.part_description) %] [% HTML.escape(LxERP.format_amount(ex.to_allocate_qty)) %] [% HTML.escape(LxERP.format_amount(ex.missing_qty)) %]
[% END %] [% IF other_exceptions.size %]

[% LxERP.t8("Additional errors:") %]

[% END %]