Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 43e74053

Von Bernd Bleßmann vor etwa 6 Jahren hinzugefügt

  • ID 43e74053df32b26b2e2ec5059bebc60d47be753b
  • Vorgänger 984f6322
  • Nachfolger 93957d04

Auftrags-Controller: date_tag mit _as_date füttern

Unterschiede anzeigen:

templates/webpages/order/tabs/_second_row.html
14 14
    [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %] 
15 15
    [%- IF (TYPE == "sales_order" || TYPE == "purchase_order") %]
16 16
      <b>[%- 'Reqdate' | $T8 %]</b>&nbsp;
17
      [% L.date_tag("order.orderitems[].reqdate", ITEM.reqdate) %]&nbsp;
17
      [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %]&nbsp;
18 18
    [%- END %]
19 19
    <b>[%- 'Subtotal' | $T8 %]</b>&nbsp;
20 20
    [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]&nbsp;
templates/webpages/order/tabs/basic_data.html
150 150
          [%- END -%]
151 151
          <tr>
152 152
            <th width="70%" align="right" nowrap>[% transdate_txt | $T8 %]</th>
153
            <td>[% L.date_tag('order.transdate', SELF.order.transdate) %]</td>
153
            <td>[% L.date_tag('order.transdate_as_date', SELF.order.transdate_as_date) %]</td>
154 154
          </tr>
155 155

  
156 156
          [%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
......
162 162
          [%- END -%]
163 163
          <tr>
164 164
            <th width="70%" align="right" nowrap>[% reqdate_txt | $T8 %]</th>
165
            <td>[% L.date_tag('order.reqdate', SELF.order.reqdate) %]</td>
165
            <td>[% L.date_tag('order.reqdate_as_date', SELF.order.reqdate_as_date) %]</td>
166 166
          </tr>
167 167

  
168 168
          [%- IF SELF.type == "sales_quotation" -%]
......
172 172
          </tr>
173 173
          <tr>
174 174
            <th width="70%" align="right" nowrap>[% 'Expected billing date' | $T8 %]</th>
175
            <td>[%- L.date_tag('order.expected_billing_date', SELF.order.expected_billing_date) %]</td>
175
            <td>[%- L.date_tag('order.expected_billing_date_as_date', SELF.order.expected_billing_date_sa_date) %]</td>
176 176
          </tr>
177 177
          [%- END %]
178 178

  

Auch abrufbar als: Unified diff