Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c8f7f88b

Von Andreas Rudin vor etwa 4 Jahren hinzugefügt

  • ID c8f7f88b20d7e81737654d60ba0f240b982b1e95
  • Vorgänger 2e0b62a6
  • Nachfolger f9f91032

Layoutanpassungen in Rechnungsmaske sowie Projektnummer statt Projekt

Unterschiede anzeigen:

templates/webpages/is/form_header.html
273 273
      <tr>
274 274
      </tr>
275 275
    [% ELSE %]
276
    <tr>
277
      <th>[% 'Invoice' | $T8 %]</th>
278
      <!-- <th>[% 'Invoice Date' | $T8 %]</th> -->
279
      <td>[% L.date_tag('invdate', invdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("invdate")', class='wi-date') %]</td>
280
      <td><input type="text" name="invnumber" id="invnumber" value="[% HTML.escape(invnumber) %]" class="wi-small"></td>
281
    </tr>
282
    <tr>
283
      <th>[% 'Due Date' | $T8 %]</th>
284
      <td>
285
       <span class="condensed" id="duedate_container"[% IF payment_terms_obj.auto_calculation %] style="display:none"[% END %]>[% L.date_tag('duedate', duedate, class='wi-date') %]</span>
286
       <span class="condensed" id="duedate_fixed"[% IF !payment_terms_obj.auto_calculation %] style="display:none"[% END %]>[% HTML.escape(duedate, class='wi-date') %]</span>
287
      </td>
288
      <td></td>
289
    </tr>
290
    <tr>
291
      <th>[% 'Delivery Order Number' | $T8 %]</th>
292
      <td></td>
293
      <td><input type="text" name="donumber" id="donumber" value="[% HTML.escape(donumber) %]" class="wi-small"></td>
294
    </tr>
295
  [% END %]
296
    <tr>
297
      <th>[% 'Delivery Date' | $T8 %]</th>
298
      <td>[% L.date_tag('deliverydate', deliverydate, class='wi-date') %]</td>
299
      <td></td>
300
   </tr>
276
      <tr>
277
        <th>[% 'Invoice' | $T8 %]</th>
278
        <td>[% L.date_tag('invdate', invdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("invdate")', class='wi-date') %]</td>
279
        <td><input type="text" name="invnumber" id="invnumber" value="[% HTML.escape(invnumber) %]" class="wi-small"></td>
280
      </tr>
281
      <tr>
282
        <th>[% 'Due Date' | $T8 %]</th>
283
        <td>
284
        <span class="condensed" id="duedate_container"[% IF payment_terms_obj.auto_calculation %] style="display:none"[% END %]>[% L.date_tag('duedate', duedate, class='wi-date') %]</span>
285
        <span class="condensed" id="duedate_fixed"[% IF !payment_terms_obj.auto_calculation %] style="display:none"[% END %]>[% HTML.escape(duedate, class='wi-date') %]</span>
286
        </td>
287
        <td></td>
288
      </tr>
289
    [% END %]
301 290
    <tr>
302 291
      <th>[% 'Order' | $T8 %]</th>
303
      <!-- <th>[% 'Order Date' | $T8 %]</th> -->
304 292
      <td>[% L.date_tag('orddate', orddate, class='wi-date') %]</td>
305 293
      <td><input type="text" name="ordnumber" id="ordnumber" value="[% HTML.escape(ordnumber) %]" class="wi-small"></td>
306 294
    </tr>
......
308 296
    </tr>
309 297
    <tr>
310 298
      <th>[% 'Quotation' | $T8 %]</th>
311
      <!-- <th>[% 'Quotation Date' | $T8 %]</th> -->
312 299
      <td>[% L.date_tag('quodate', quodate, class='wi-date') %]</td>
313 300
      <td><input type="text" name="quonumber" id="quonumber" value="[% HTML.escape(quonumber) %]" class="wi-small"></td>
314 301
    </tr>
315 302
    <tr>
303
      <th>[% 'Delivery Date' | $T8 %]</th>
304
      <td>[% L.date_tag('deliverydate', deliverydate, class='wi-date') %]</td>
305
      <td></td>
316 306
    </tr>
307
    [% UNLESS is_type_credit_note %]
308
      <tr>
309
        <th>[% 'Delivery Order Number' | $T8 %]</th>
310
        <td></td>
311
        <td><input type="text" name="donumber" id="donumber" value="[% HTML.escape(donumber) %]" class="wi-small"></td>
312
      </tr>
313
    [% END %]
317 314
    <tr>
318 315
      <th>[% 'Customer Order Number' | $T8 %]</th>
319
      <td>&nbsp;</td>
316
      <td></td>
320 317
      <td><input type="text" name="cusordnumber" id="cusordnumber" value="[% HTML.escape(cusordnumber) %]" class="wi-small"></td>
321 318
    </tr>
322 319
    <tr>
323
      <th>[% 'Project' | $T8 %]</th>
324
      <td colspan="2">[% L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();", class="wi-lightwide") %]</td>
320
      <th>[% 'Project Number' | $T8 %]</th>
321
      <td></td>
322
      <td>[% L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();", class="wi-small") %]</td>
325 323
    </tr>
326 324
    </tbody>
327 325
  </table>

Auch abrufbar als: Unified diff