Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a523371d

Von Moritz Bunkus vor fast 12 Jahren hinzugefügt

  • ID a523371da37bbce8a103a9db97a5daecd4773c59
  • Vorgänger 593b017a
  • Nachfolger ee2b1ef3

Verkaufsrechnungen: Checkbox für "Lastschrifteinzug"; Vorbelegung aus Stammdaten

Unterschiede anzeigen:

SL/IS.pm
1017 1017
                cp_id       = ?, marge_total   = ?, marge_percent = ?,
1018 1018
                globalproject_id               = ?, delivery_customer_id             = ?,
1019 1019
                transaction_description        = ?, delivery_vendor_id               = ?,
1020
                donumber    = ?, invnumber_for_credit_note = ?
1020
                donumber    = ?, invnumber_for_credit_note = ?,        direct_debit  = ?
1021 1021
              WHERE id = ?|;
1022 1022
  @values = (          $form->{"invnumber"},           $form->{"ordnumber"},             $form->{"quonumber"},          $form->{"cusordnumber"},
1023 1023
             conv_date($form->{"invdate"}),  conv_date($form->{"orddate"}),    conv_date($form->{"quodate"}),    conv_i($form->{"customer_id"}),
......
1030 1030
                conv_i($form->{"cp_id"}),            1 * $form->{marge_total} ,      1 * $form->{marge_percent},
1031 1031
                conv_i($form->{"globalproject_id"}),                              conv_i($form->{"delivery_customer_id"}),
1032 1032
                       $form->{transaction_description},                          conv_i($form->{"delivery_vendor_id"}),
1033
                       $form->{"donumber"}, $form->{"invnumber_for_credit_note"},
1033
                       $form->{"donumber"}, $form->{"invnumber_for_credit_note"},        $form->{direct_debit} ? 't' : 'f',
1034 1034
                conv_i($form->{"id"}));
1035 1035
  do_query($form, $dbh, $query, @values);
1036 1036

  
......
1508 1508
           a.employee_id, a.salesman_id, a.payment_id,
1509 1509
           a.language_id, a.delivery_customer_id, a.delivery_vendor_id, a.type,
1510 1510
           a.transaction_description, a.donumber, a.invnumber_for_credit_note,
1511
           a.marge_total, a.marge_percent,
1511
           a.marge_total, a.marge_percent, a.direct_debit,
1512 1512
           e.name AS employee
1513 1513
         FROM ar a
1514 1514
         LEFT JOIN employee e ON (e.id = a.employee_id)
......
1684 1684
         c.email, c.cc, c.bcc, c.language_id, c.payment_id,
1685 1685
         c.street, c.zipcode, c.city, c.country,
1686 1686
         c.notes AS intnotes, c.klass as customer_klass, c.taxzone_id, c.salesman_id, c.curr,
1687
         c.taxincluded_checked,
1687
         c.taxincluded_checked, c.direct_debit,
1688 1688
         $duedate + COALESCE(pt.terms_netto, 0) AS duedate,
1689 1689
         b.discount AS tradediscount, b.description AS business
1690 1690
       FROM customer c

Auch abrufbar als: Unified diff