X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Forder%2Fform.html;h=82bc2f15d0039fba078381f215c247b1566b34bc;hb=332b5ec73395d63e194dd5719c77053cb3d1acb5;hp=df5163146a23af335c1a8fb296e70ab9e5ab0568;hpb=46d3bb6e2f544e82ed36ce6fa08bf48f74a54cc9;p=kivitendo-erp.git diff --git a/templates/webpages/order/form.html b/templates/webpages/order/form.html index df5163146..82bc2f15d 100644 --- a/templates/webpages/order/form.html +++ b/templates/webpages/order/form.html @@ -1,13 +1,27 @@ [%- USE T8 %] [%- USE LxERP %] [%- USE L %] - -
-
[% FORM.title %]
- - [% L.hidden_tag('callback', FORM.callback) %] - [% L.hidden_tag('type', FORM.type) %] - [% L.hidden_tag('id', SELF.order.id) %] +[%- USE HTML %] +

[% FORM.title %] [%- SELF.order.number -%]

+ +
+ + + +
+ [% L.hidden_tag('callback', FORM.callback) %] + [% L.hidden_tag('type', FORM.type) %] + [% L.hidden_tag('id', SELF.order.id) %] + [% L.hidden_tag('converted_from_oe_id', SELF.converted_from_oe_id) %] [%- INCLUDE 'common/flash.html' %] @@ -17,6 +31,16 @@ [%- IF INSTANCE_CONF.get_webdav %]
  • [% 'WebDAV' | $T8 %]
  • [%- END %] +[%- IF SELF.order.id AND INSTANCE_CONF.get_doc_storage %] +
  • [% 'Documents' | $T8 %]
  • +
  • [% 'Attachments' | $T8 %]
  • +[%- END %] +[%- IF SELF.order.id %] +
  • [% 'Linked Records' | $T8 %]
  • +[%- END %] +[% IF SELF.order.id %] +
  • [% 'Phone Notes' | $T8 %][%- num_phone_notes ? ' (' _ num_phone_notes _ ')' : '' -%]
  • +[% END %] [% PROCESS "order/tabs/basic_data.html" %] @@ -24,82 +48,19 @@
    [%- LxERP.t8("Loading...") %]
    - - -
    - - [% L.hidden_tag('action', 'Order/dispatch') %] +[% IF SELF.order.id %] +
    + [% PROCESS "order/tabs/phone_notes.html" %] +
    +[% END %] + - [% L.button_tag('save()', LxERP.t8('Save')) %] - [% L.button_tag('create_pdf()', LxERP.t8('Create PDF')) %] - [% L.button_tag('email()', LxERP.t8('E-mail')) %] - [% L.button_tag('save_and_delivery_order()', LxERP.t8('Save and Delivery Order')) %] -[%- IF SELF.order.id && ( (SELF.cv == 'customer' && INSTANCE_CONF.get_sales_order_show_delete) || (SELF.cv == 'vendor' && INSTANCE_CONF.get_purchase_order_show_delete) ) %] - [% L.button_tag('delete_order()', LxERP.t8('Delete'), confirm=LxERP.t8("Are you sure?")) %] -[%- END %] +
    - - -