[% USE HTML %] [% USE T8 %] [% USE P %] [% USE LxERP %]

[% title | html %]

[% IF !SELF.object.id %]

[% 'Input delivery order number (picker NYI)' | $T8 %]

[% P.M.input_tag("object_number", "", label=LxERP.t8("Number")) %] [% P.M.submit_tag("submit", LxERP.t8("Update")) %] [% ELSE %]

[% SELF.object.displayable_name | html %]

[% P.hidden_tag("object_id", SELF.object.id) %] [% END %] [% P.hidden_tag("object_type", SELF.object_type) %] [% P.hidden_tag("action", "ImageUpload/upload_image") %]
[%# IF SELF.object.id %]
[%# END %]