Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4425d550

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID 4425d550aab16a1a6af01484615724146f5e3b59
  • Vorgänger c04bc3bf
  • Nachfolger 64cb58a3

Lieferantenauftragsbestätigung: design40: Maske

Unterschiede anzeigen:

templates/design40_webpages/order/tabs/_price_sources_dialog.html
8 8
[% IF (FORM.type == "sales_order" || FORM.type == "sales_order_intake" || FORM.type == "sales_quotation") %]
9 9
  [% SET price_editable = AUTH.assert('sales_edit_prices', 1) %]
10 10
[% END %]
11
[% IF (FORM.type == "purchase_order" || FORM.type == "request_quotation" || FORM.type == "purchase_quotation_intake") %]
11
[% IF (FORM.type == "purchase_order" || FORM.type == "purchase_order_confirmation" || FORM.type == "request_quotation" || FORM.type == "purchase_quotation_intake") %]
12 12
  [% SET price_editable = AUTH.assert('purchase_edit_prices', 1) %]
13 13
[% END %]
14 14
[% SET exfactor = price_source.record.exchangerate ? 1 / price_source.record.exchangerate : 1 %]
templates/design40_webpages/order/tabs/_row.html
55 55
      [% L.hidden_tag("order.orderitems[].longdescription", ITEM.longdescription) %]
56 56
      [% L.button_tag("kivi.Order.show_longdescription_dialog(this)", LxERP.t8("L"), class="wi-tiny neutral") %]
57 57
    </td>
58
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
58
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
59 59
    <td>
60 60
      [%- L.div_tag(LxERP.format_amount(ITEM.shipped_qty, 2, 0) _ ' ' _ ITEM.unit, name="shipped_qty", class="numeric") %]
61 61
    </td>
......
96 96
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "sales_quotation") %]
97 97
      [% SET RIGHT_TO_EDIT_PRICES = AUTH.assert('sales_edit_prices', 1) %]
98 98
    [% END %]
99
    [% IF (SELF.type == "purchase_order" || SELF.type == "request_quotation" || SELF.type == "purchase_quotation_intake") %]
99
    [% IF (SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation" || SELF.type == "request_quotation" || SELF.type == "purchase_quotation_intake") %]
100 100
      [% SET RIGHT_TO_EDIT_PRICES = AUTH.assert('purchase_edit_prices', 1) %]
101 101
    [% END %]
102 102
    <td>
templates/design40_webpages/order/tabs/_second_row.html
7 7
<table>
8 8
  <tr>
9 9
    <td>
10
      [% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order") %]
10
      [% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order" || TYPE == "purchase_order_confirmation") %]
11 11
        <b>[% 'Serial No.' | $T8 %]</b> [% L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15, "data-validate"="trimmed_whitespaces") %]
12 12
      [% END %]
13 13
      <b>[% 'Project' | $T8 %]</b> [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %]
14
      [% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order") %]
14
      [% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order" || TYPE == "purchase_order_confirmation") %]
15 15
        <b>[% 'Reqdate' | $T8 %]</b> [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %]
16 16
      [% END %]
17 17
      <b>[% 'Subtotal' | $T8 %]</b> [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]
templates/design40_webpages/order/tabs/basic_data.html
230 230
          title_key='safe_name') %]</td>
231 231
      </tr>
232 232
    [% END %]
233
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
233
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
234 234
      <tr>
235 235
        <th>[% 'Order Number' | $T8 %]</th>
236 236
        <td>
......
253 253
    <tr>
254 254
      <th>[% quo_nr_txt | $T8 %]</th>
255 255
      <td>
256
        [%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
256
        [%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") -%]
257 257
          [% L.input_tag('order.quonumber', SELF.order.quonumber, class='wi-normal') %]
258 258
        [%- ELSIF INSTANCE_CONF.get_sales_purchase_record_numbers_changeable %]
259 259
          [% L.input_tag('order.quonumber', SELF.order.quonumber, onchange='kivi.Order.set_number_in_title(this)', class='wi-normal') %]
......
265 265
        [%- END %]
266 266
      </td>
267 267
    </tr>
268
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
268
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
269 269
      <tr>
270 270
        <th>[% 'Customer Order Number' | $T8 %]</th>
271 271
        <td>[% L.input_tag('order.cusordnumber', SELF.order.cusordnumber, class='wi-normal') %]</td>
272 272
      </tr>
273 273
    [% END %]
274
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
274
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
275 275
      [% SET transdate_txt = 'Order Date' %]
276 276
    [% ELSIF (SELF.type == "sales_quotation" || SELF.type == "purchase_quotation_intake") %]
277 277
      [% SET transdate_txt = 'Quotation Date' %]
......
286 286
      <th>[% 'Tax point' | $T8 %]</th>
287 287
      <td>[% L.date_tag('order.tax_point_as_date', SELF.order.tax_point_as_date, class='wi-date recalc') %]</td>
288 288
    </tr>
289
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %]
289
    [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
290 290
      [% SET reqdate_txt = 'Reqdate'; SET reqdate_class = 'recalc' %]
291 291
    [% ELSIF SELF.type == "sales_quotation" %]
292 292
      [% SET reqdate_txt = 'Valid until'; SET reqdate_class = '' %]
......
355 355
      [%- END -%]
356 356
      <th id="partclass_header_id">[% 'Type'  | $T8 %]</th>
357 357
      <th id="description_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("description")'>[% 'Description' | $T8 %]</a></th>
358
      [%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
358
      [%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") -%]
359 359
      <th id="shipped_qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("shipped_qty")'>[% 'Delivered' | $T8 %]</a></th>
360 360
      [%- END -%]
361 361
      <th id="qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("qty")'>        [% 'Qty'         | $T8 %]</a></th>

Auch abrufbar als: Unified diff