Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0ecb3198

Von Sven Schöling vor mehr als 17 Jahren hinzugefügt

  • ID 0ecb31986f567eb0b1e9949978458baba04c0ef9
  • Vorgänger 805e8da4
  • Nachfolger 102600f0

storno_id spalte in ar eingefuegt, und die post_transaction angepasst um diese auch zu nutzen

Unterschiede anzeigen:

SL/AR.pm
143 143
         invnumber = ?, ordnumber = ?, transdate = ?, customer_id = ?,
144 144
         taxincluded = ?, amount = ?, duedate = ?, paid = ?, datepaid = ?,
145 145
         netamount = ?, curr = ?, notes = ?, department_id = ?,
146
         employee_id = ?
146
         employee_id = ?, storno = ?, storno_id = ?
147 147
       WHERE id = ?|;
148 148
  my @values = ($form->{invnumber}, $form->{ordnumber}, conv_date($form->{transdate}), conv_i($form->{customer_id}), $form->{taxincluded} ? 't' : 'f', $form->{amount},
149 149
                conv_date($form->{duedate}), $form->{paid}, conv_date($datepaid), $form->{netamount}, $form->{currency}, $form->{notes}, conv_i($form->{department_id}),
150
                conv_i($form->{employee_id}), conv_i($form->{id}));
150
                conv_i($form->{employee_id}), $form->{storno} ? 't' : 'f', $form->{storno_id}, conv_i($form->{id}));
151 151
  do_query($form, $dbh, $query, @values);
152 152

  
153 153
  # amount for AR account

Auch abrufbar als: Unified diff