Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8b70293b

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

  • ID 8b70293b3639b4215fcd2b25669dd6b4d9d206a5
  • Vorgänger 1556942a
  • Nachfolger 6c2c837a

Design40: Lieferanten-/Kunden-/-Typ-spez. Artikelnummern: Tabellen mit colgroup

Unterschiede anzeigen:

templates/design40_webpages/part/_businessmodel_row.html
8 8
    [%- L.hidden_tag("businessmodels[+].business_id", businessmodel.business_id) -%]
9 9
  </td>
10 10
  <td class="center">
11
    [%- L.button_tag("kivi.Part.delete_businessmodel_row(this)", LxERP.t8("X"), class="wi-verytiny neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]
11
    [%- L.button_tag("kivi.Part.delete_businessmodel_row(this)", LxERP.t8("X"), class="neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]
12 12
  </td>
13 13
  <td class="center numeric"><span name="position">[% HTML.escape(businessmodel.position) %]</span></td>
14 14
  <td><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></td>
15 15
  <td></td>
16 16
  <td>[% businessmodel.business.description | html %]</td>
17
  <td>[% L.input_tag('businessmodels[].model',                    businessmodel.model,                class='wi-mediumsmall', size=30) %]</td>
18
  <td>[% L.input_tag('businessmodels[].part_description',         businessmodel.part_description,     class='wi-mediumsmall', size=10) %]</td>
19
  <td>[% L.areainput_tag('businessmodels[].part_longdescription', businessmodel.part_longdescription, class='wi-mediumsmall', size=10) %]
17
  <td>[% L.input_tag('businessmodels[].model',                    businessmodel.model,                size=10) %]</td>
18
  <td>[% L.input_tag('businessmodels[].part_description',         businessmodel.part_description,     size=10) %]</td>
19
  <td>[% L.areainput_tag('businessmodels[].part_longdescription', businessmodel.part_longdescription, size=10) %]
20 20
</tr>
templates/design40_webpages/part/_businessmodels.html
6 6

  
7 7
<table id="businessmodel_table" class="tbl-list wi-moderate">
8 8
  <caption>[% 'Business Type Model' | $T8 %]</caption>
9
  <colgroup>
10
    <col class="wi-verytiny">
11
    <col>
12
    <col class="wi-verytiny">
13
    <col class="wi-mediumsmall">
14
    <col class="wi-mediumsmall">
15
    <col class="wi-mediumsmall">
16
    <col class="wi-mediumsmall">
17
    <col class="wi-mediumsmall">
18
  </colgroup>
9 19
  <thead>
10 20
    <tr>
11 21
      <th class="center"><img src="image/close.png" alt="[%- LxERP.t8('delete item') %]"></th>
......
29 39
      <td></td>
30 40
      <td></td>
31 41
      <th class="right"><span class="label">[% 'Business' | $T8 %]</th>
32
      <td>[% P.select_tag('add_businessmodel', SELF.all_businesses, title_key="description", with_empty=1, class='wi-mediumsmall', onchange='kivi.Part.add_businessmodel_row()') %]</td>
42
      <td>[% P.select_tag('add_businessmodel', SELF.all_businesses, title_key="description", with_empty=1, class="wi-mediumsmall", onchange='kivi.Part.add_businessmodel_row()') %]</td>
33 43
      <td>[% L.button_tag('kivi.Part.add_businessmodel_row()', LxERP.t8('Add')) %]</td>
34 44
      <td></td>
35 45
      <td></td>
templates/design40_webpages/part/_customerprice_row.html
9 9
    [% L.hidden_tag("customerprices[].id"   , customerprice.id) %]
10 10
  </td>
11 11
  <td class="center">
12
    [% L.button_tag("kivi.Part.delete_customerprice_row(this)", LxERP.t8("X"), class="wi-verytiny neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]
12
    [% L.button_tag("kivi.Part.delete_customerprice_row(this)", LxERP.t8("X"), class="neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]
13 13
  </td>
14 14
  <td class="center numeric"><span name="position">[% HTML.escape(customerprice.sortorder) %]</span></td>
15 15
  <td><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></td>
16 16
  <td>[% customerprice.customer.customernumber | html %]</td>
17 17
  <td>[% customerprice.customer.name         | html %]</td>
18
  <td>[% L.input_tag('customerprices[].customer_partnumber'     , customerprice.customer_partnumber , class='wi-mediumsmall', size=10) %]</td>
19
  <td>[% L.input_tag('customerprices[].part_description'        , customerprice.part_description    , class='wi-mediumsmall', size=10) %]</td>
20
  <td>[% L.areainput_tag('customerprices[].part_longdescription', customerprice.part_longdescription, class='wi-mediumsmall', size=10) %]</td>
21
  <td>[% L.input_tag('customerprices[].price_as_number'         , customerprice.price_as_number     , class="wi-small reformat_number numeric", size=10) %]</td>
18
  <td>[% L.input_tag('customerprices[].customer_partnumber'     , customerprice.customer_partnumber , size=10) %]</td>
19
  <td>[% L.input_tag('customerprices[].part_description'        , customerprice.part_description    , size=10) %]</td>
20
  <td>[% L.areainput_tag('customerprices[].part_longdescription', customerprice.part_longdescription, size=10) %]</td>
21
  <td>[% L.input_tag('customerprices[].price_as_number'         , customerprice.price_as_number     , class="reformat_number numeric", size=10) %]</td>
22 22
  <td>[% L.hidden_tag('customerprices[].lastupdate'             , customerprice.lastupdate.to_kivitendo) %][% customerprice.lastupdate.to_kivitendo | html %]</td>
23 23
</tr>
templates/design40_webpages/part/_customerprices.html
5 5

  
6 6
<table id="customerprice_table" class="tbl-list wi-moderate">
7 7
  <caption>[% 'Customer specific Price' | $T8 %]</caption>
8
  <colgroup>
9
    <col class="wi-verytiny">
10
    <col>
11
    <col class="wi-verytiny">
12
    <col class="wi-mediumsmall">
13
    <col class="wi-mediumsmall">
14
    <col class="wi-mediumsmall">
15
    <col class="wi-mediumsmall">
16
    <col class="wi-mediumsmall">
17
    <col class="wi-small">
18
    <col class="wi-small">
19
  </colgroup>
8 20
  <thead>
9 21
    <tr>
10 22
      <th class="center"><img src="image/close.png" alt="[% LxERP.t8('delete item') %]"></th>
......
32 44
   <td></td>
33 45
   <td></td>
34 46
   <th class="right"><span class="label">[% 'Search & Add Customer' | $T8 %]</span></th>
35
   <td>[% P.customer_vendor.customer_picker('add_customerprice', '', class="add_customerprice_input wi-small tooltipstered tooltipster-html", action={commit_one='kivi.Part.add_customerprice_row'}, title=LxERP.t8("Search customer by name and add by selecting")) %]</td>
47
   <td>[% P.customer_vendor.customer_picker('add_customerprice', '', class="add_customerprice_input tooltipstered tooltipster-html wi-mediumsmall", action={commit_one='kivi.Part.add_customerprice_row'}, title=LxERP.t8("Search customer by name and add by selecting")) %]</td>
36 48
   <td>[% L.button_tag('kivi.Part.add_customerprice_row()', LxERP.t8('Add')) %]</td>
37 49
   <td colspan="4"></td>
38 50
  </tr>
templates/design40_webpages/part/_makemodel.html
6 6

  
7 7
<table id="makemodel_table" class="tbl-list wi-moderate">
8 8
  <caption>[% 'Makemodel Price' | $T8 %]</caption>
9
  <colgroup>
10
    <col class="wi-verytiny">
11
    <col>
12
    <col class="wi-verytiny">
13
    <col class="wi-mediumsmall">
14
    <col class="wi-mediumsmall">
15
    <col class="wi-mediumsmall">
16
    <col class="wi-mediumsmall">
17
    <col class="wi-mediumsmall">
18
    <col class="wi-small">
19
    <col class="wi-small">
20
  </colgroup>
9 21
  <thead>
10 22
    <tr>
11 23
      <th class="center"><img src="image/close.png" alt="[% LxERP.t8('delete item') %]"></th>
......
36 48
     <th class="right"><span class="label">[% 'Search & Add Vendor' | $T8 %]</span></th>
37 49
     <td>
38 50
        [% SET titleaddmodel=LxERP.t8('Search & Add Vendor by Name') %]
39
        [% P.customer_vendor.picker('add_makemodel', '', type='vendor', class='add_makemodel_input wi-small tooltipstered tooltipster-html', title=titleaddmodel, action={commit_one='kivi.Part.add_makemodel_row'}, size=10) %]
51
        [% P.customer_vendor.picker('add_makemodel', '', type='vendor', class='add_makemodel_input tooltipstered tooltipster-html wi-mediumsmall', title=titleaddmodel, action={commit_one='kivi.Part.add_makemodel_row'}, size=10) %]
40 52
      </td>
41 53
     <td>[% L.button_tag('kivi.Part.add_makemodel_row()', LxERP.t8('Add')) %]</td>
42 54
     <td colspan="4"></td>
templates/design40_webpages/part/_makemodel_row.html
9 9
    [% L.hidden_tag("makemodels[].id"   , makemodel.id)   %]
10 10
  </td>
11 11
  <td class="center">
12
    [% L.button_tag("kivi.Part.delete_makemodel_row(this)", LxERP.t8("X"), class="wi-verytiny neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]
12
    [% L.button_tag("kivi.Part.delete_makemodel_row(this)", LxERP.t8("X"), class="neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]
13 13
  </td>
14 14
  <td class="center numeric"><span name="position">[% HTML.escape(makemodel.sortorder) %]</span></td>
15 15
  <td><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></td>
16 16
  <td>[% makemodel.vendor.vendornumber | html %]</td>
17 17
  <td>[% makemodel.vendor.name         | html %]</td>
18
  <td>[% L.input_tag('makemodels[].model', makemodel.model, class='wi-mediumsmall', size=10) %] </td>
19
  <td>[% L.input_tag('makemodels[].part_description', makemodel.part_description, class='wi-mediumsmall', size=10) %]</td>
20
  <td>[% L.areainput_tag('makemodels[].part_longdescription', makemodel.part_longdescription, class='wi-mediumsmall', size=10) %]</td>
21
  <td>[% L.input_tag('makemodels[].lastcost_as_number', makemodel.lastcost_as_number, class='reformat_number numeric wi-small', size=10) %] </td>
18
  <td>[% L.input_tag('makemodels[].model', makemodel.model, size=10) %] </td>
19
  <td>[% L.input_tag('makemodels[].part_description', makemodel.part_description, size=10) %]</td>
20
  <td>[% L.areainput_tag('makemodels[].part_longdescription', makemodel.part_longdescription, size=10) %]</td>
21
  <td>[% L.input_tag('makemodels[].lastcost_as_number', makemodel.lastcost_as_number, class='reformat_number numeric', size=10) %] </td>
22 22
  <td>
23 23
    [% L.hidden_tag('makemodels[].lastupdate', makemodel.lastupdate.to_kivitendo) %]
24 24
    [% makemodel.lastupdate.to_kivitendo | html %]

Auch abrufbar als: Unified diff