Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 31c2693e

Von Andreas Rudin vor fast 4 Jahren hinzugefügt

  • ID 31c2693e73d23d2317a72ba739577a18e335b9fc
  • Vorgänger 92521cea
  • Nachfolger a93dc8e8

Layoutanpassungen in Rechnungsmaske sowie Projektnummer statt Projekt

Unterschiede anzeigen:

templates/webpages/is/form_header.html
281 281
      <tr>
282 282
      </tr>
283 283
    [% ELSE %]
284
    <tr>
285
      <th>[% 'Invoice' | $T8 %]</th>
286
      <!-- <th>[% 'Invoice Date' | $T8 %]</th> -->
287
      <td>[% L.date_tag('invdate', invdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("invdate")', class='wi-date') %]</td>
288
      <td><input type="text" name="invnumber" id="invnumber" value="[% HTML.escape(invnumber) %]" class="wi-small"></td>
289
    </tr>
290
    <tr>
291
      <th>[% 'Due Date' | $T8 %]</th>
292
      <td>
293
       <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>
294
       <span class="condensed" id="duedate_fixed"[% IF !payment_terms_obj.auto_calculation %] style="display:none"[% END %]>[% HTML.escape(duedate, class='wi-date') %]</span>
295
      </td>
296
      <td></td>
297
    </tr>
284
      <tr>
285
        <th>[% 'Invoice' | $T8 %]</th>
286
        <td>[% L.date_tag('invdate', invdate, onchange='kivi.SalesPurchase.set_duedate_on_reference_date_change("invdate")', class='wi-date') %]</td>
287
        <td><input type="text" name="invnumber" id="invnumber" value="[% HTML.escape(invnumber) %]" class="wi-small"></td>
288
      </tr>
289
      <tr>
290
        <th>[% 'Due Date' | $T8 %]</th>
291
        <td>
292
        <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>
293
        <span class="condensed" id="duedate_fixed"[% IF !payment_terms_obj.auto_calculation %] style="display:none"[% END %]>[% HTML.escape(duedate, class='wi-date') %]</span>
294
        </td>
295
        <td></td>
296
      </tr>
298 297
    [% END %]
299 298
    <tr>
300 299
      <th>[% 'Tax point' | $T8 %]</th>
301 300
      <td>[% L.date_tag('tax_point', tax_point, id='tax_point', class='wi-date') %]</td>
302 301
    </tr>
303
    [% IF !is_type_credit_note %]
304
    <tr>
305
      <th>[% 'Delivery Order Number' | $T8 %]</th>
306
      <td></td>
307
      <td><input type="text" name="donumber" id="donumber" value="[% HTML.escape(donumber) %]" class="wi-small"></td>
308
    </tr>
309
    [% END %]
310
    <tr>
311
      <th>[% 'Delivery Date' | $T8 %]</th>
312
      <td>[% L.date_tag('deliverydate', deliverydate, class='wi-date') %]</td>
313
      <td></td>
314
   </tr>
315 302
    <tr>
316 303
      <th>[% 'Order' | $T8 %]</th>
317
      <!-- <th>[% 'Order Date' | $T8 %]</th> -->
318 304
      <td>[% L.date_tag('orddate', orddate, class='wi-date') %]</td>
319 305
      <td><input type="text" name="ordnumber" id="ordnumber" value="[% HTML.escape(ordnumber) %]" class="wi-small"></td>
320 306
    </tr>
......
322 308
    </tr>
323 309
    <tr>
324 310
      <th>[% 'Quotation' | $T8 %]</th>
325
      <!-- <th>[% 'Quotation Date' | $T8 %]</th> -->
326 311
      <td>[% L.date_tag('quodate', quodate, class='wi-date') %]</td>
327 312
      <td><input type="text" name="quonumber" id="quonumber" value="[% HTML.escape(quonumber) %]" class="wi-small"></td>
328 313
    </tr>
329 314
    <tr>
315
      <th>[% 'Delivery Date' | $T8 %]</th>
316
      <td>[% L.date_tag('deliverydate', deliverydate, class='wi-date') %]</td>
317
      <td></td>
330 318
    </tr>
319
    [% UNLESS is_type_credit_note %]
320
      <tr>
321
        <th>[% 'Delivery Order Number' | $T8 %]</th>
322
        <td></td>
323
        <td><input type="text" name="donumber" id="donumber" value="[% HTML.escape(donumber) %]" class="wi-small"></td>
324
      </tr>
325
    [% END %]
331 326
    <tr>
332 327
      <th>[% 'Customer Order Number' | $T8 %]</th>
333
      <td>&nbsp;</td>
328
      <td></td>
334 329
      <td><input type="text" name="cusordnumber" id="cusordnumber" value="[% HTML.escape(cusordnumber) %]" class="wi-small"></td>
335 330
    </tr>
336 331
    <tr>
337
      <th>[% 'Project' | $T8 %]</th>
338
      <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>
332
      <th>[% 'Project Number' | $T8 %]</th>
333
      <td></td>
334
      <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>
339 335
    </tr>
340 336
    </tbody>
341 337
  </table>

Auch abrufbar als: Unified diff