Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 09800b73

Von Werner Hahn vor mehr als 2 Jahren hinzugefügt

  • ID 09800b73f7503b0de87cfa1c1e53250acd2e8781
  • Vorgänger e6349b94
  • Nachfolger c39e831b

Dunning: Email und Zahlungsbedingung in Mahnlaufbericht aufgenommen

Unterschiede anzeigen:

SL/DN.pm
657 657
         ct.name AS customername, a.customer_id, a.duedate,
658 658
         a.amount - a.paid AS open_amount,
659 659
         a.direct_debit,
660
         pt.description as payment_term,
660 661
         dep.description as departmentname,
661

  
662
         ct.invoice_mail AS cv_email,
662 663
         cfg.dunning_description, cfg.dunning_level,
663 664

  
664 665
         d.transdate AS dunning_date, d.duedate AS dunning_duedate,
......
676 677

  
677 678
       LEFT JOIN customer ct ON (a.customer_id = ct.id)
678 679
       LEFT JOIN department dep ON (a.department_id = dep.id)
680
       LEFT JOIN payment_terms pt ON (a.payment_id = pt.id)
679 681
       LEFT JOIN dunning_config cfg ON (a.dunning_config_id = cfg.id)
680 682
       LEFT JOIN dunning_config nextcfg ON
681 683
         (nextcfg.id =
templates/webpages/dunning/show_invoices.html
20 20
  <table width="100%" id="dunning_invoice_list">
21 21
   <th class="listheading" colspan="2">[% 'Current / Next Level' | $T8 %]</th>
22 22

  
23
   <th class="listheading">[% 'Payment description' | $T8 %]</th>
23 24
   <th class="listheading">
24 25
    [% L.checkbox_tag('selectall_active', checkall='INPUT[name*=active_]', checked=all_active) %]
25 26
    <label for="selectall_active">[% 'Active?' | $T8 %]</label>
......
69 70
       [% FOREACH cfg_row = row.DUNNING_CONFIG %]<option value="[% HTML.escape(cfg_row.id) %]" [% IF cfg_row.SELECTED %]selected[% END %]>[% HTML.escape(cfg_row.dunning_description) %]</option>[% END %]
70 71
      </select>
71 72
     </td>
73
     <td>[% HTML.escape(row.payment_term) %]</td>
72 74

  
73 75
     <td><input type="checkbox" name="active_[% loop.count %]" value="1" [% IF row.active %]checked[% END %]></td>
74
     <td><input type="checkbox" name="email_[% loop.count %]" value="1" [% IF row.email %]checked[% END %]></td>
76
     <td><input type="checkbox" name="email_[% loop.count %]" value="1" [% IF row.email && row.cv_email %]checked[% END %]>[% HTML.escape(row.cv_email) %]</td>
75 77
     <td><input type="checkbox" name="include_invoice_[% loop.count %]" value="1" [% IF row.print_original_invoice %]checked[% END %]></td>
76 78
     <td><input type="hidden" name="customername_[% loop.count %]" size="6" value="[% HTML.escape(row.customername) %]">[% HTML.escape(row.customername) %]</td>
77 79
     <td><input type="hidden" name="department_[% loop.count %]" size="6" value="[% HTML.escape(row.departmentname) %]">[% HTML.escape(row.departmentname) %]</td>

Auch abrufbar als: Unified diff