Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5ab937c5

Von Moritz Bunkus vor fast 8 Jahren hinzugefügt

  • ID 5ab937c5ee945133bc39fc431f01183b06b51694
  • Vorgänger 99d0bd2b
  • Nachfolger c4d3f82d

Kontoauszug verbuchen: bei Vorschlägen Rechnungsnummer in Verwendungszweck highlighten

Unterschiede anzeigen:

css/kivitendo/main.css
520 520
    max-width: 16px;
521 521
    max-height: 16px;
522 522
}
523

  
524
/* Bank transactions */
525
#bank_transactions_proposals .invoice_number_highlight a,
526
#bank_transactions_proposals span.invoice_number_highlight {
527
  background-color: #006400;
528
  color: #FFFFFF;
529
}
css/lx-office-erp/main.css
527 527
    max-width: 16px;
528 528
    max-height: 16px;
529 529
}
530

  
531
/* Bank transactions */
532
#bank_transactions_proposals .invoice_number_highlight a,
533
#bank_transactions_proposals span.invoice_number_highlight {
534
  background-color: #006400;
535
  color: #FFFFFF;
536
}
templates/webpages/bank_transactions/tabs/automatic.html
7 7
[% L.hidden_tag('action', 'BankTransaction/dispatch') %]
8 8
[% L.hidden_tag('ui_tab', ui_tab) %]
9 9

  
10
<table>
10
<table id="bank_transactions_proposals">
11 11
  <thead>
12 12
    <tr class="listheading">
13 13
      <th>[% L.checkbox_tag('check_all') %]</th>
......
38 38
          <td>[% proposal.transdate_as_date %]</td>
39 39
          <td align="right">[% LxERP.format_amount(proposal.amount,2) %]</td>
40 40
          <td></td>
41
          <td>[% HTML.escape(proposal.purpose) %]</td>
41
          <td>
42
           [% SET purpose = HTML.escape(proposal.purpose)
43
                  invnumber_found = '' ;
44
              FOREACH proposed_invoice = proposal.proposals;
45
                IF purpose.match(proposed_invoice.invnumber);
46
                  SET invnumber_found = proposed_invoice.invnumber ;
47
                END ;
48
              END ;
49

  
50
              IF invnumber_found ;
51
                purpose.replace(invnumber_found, '<span class="invoice_number_highlight">' _ invnumber_found _ '</span>') ;
52
              ELSE ;
53
                purpose ;
54
              END %]
55
          </td>
42 56
          <td>[% HTML.escape(proposal.remote_name) %]</td>
43 57
        </tr>
44 58

  
......
53 67
          <td align="right">[% proposed_invoice.realamount %]</td>
54 68
          <td>[% proposed_invoice.skonto_type | $T8 %]
55 69
              [% L.hidden_tag("invoice_skontos." _ proposal.id _ "[]", proposed_invoice.skonto_type) %]</td>
56
          <td>[% proposed_invoice.link %]</td>
70
          <td[% IF proposed_invoice.invnumber == invnumber_found %] class="invoice_number_highlight"[% END %]>[% proposed_invoice.link %]</td>
57 71
          <td>[% HTML.escape(proposed_invoice.customer.name) %][% HTML.escape(proposed_invoice.vendor.name) %]</td>
58 72
        </tr>
59 73
        [% END %]
60
        <tr><td style="height:10px"></td></tr>
74
        <tr><td style="height:10px" colspan="8"></td></tr>
61 75
      </tbody>
62 76
    [% END %]
63 77
  [% END %]

Auch abrufbar als: Unified diff