Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 76ed70e1

Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt

  • ID 76ed70e1568a63f94218173545024691470ba096
  • Vorgänger ba629467
  • Nachfolger d64a6420

Vorgangsbezeichnung in Debitorenbuchung: Speichern und Laden

Unterschiede anzeigen:

SL/AR.pm
138 138
           currency_id = (SELECT id FROM currencies WHERE name = ?),
139 139
           netamount = ?, notes = ?, department_id = ?,
140 140
           employee_id = ?, storno = ?, storno_id = ?, globalproject_id = ?,
141
           direct_debit = ?
141
           direct_debit = ?, transaction_description = ?
142 142
         WHERE id = ?|;
143 143
    my @values = ($form->{invnumber}, $form->{ordnumber}, conv_date($form->{transdate}), conv_i($form->{customer_id}), $form->{taxincluded} ? 't' : 'f', $form->{amount},
144 144
                  conv_date($form->{duedate}), conv_date($form->{deliverydate}), conv_date($form->{tax_point}), $form->{paid},
145 145
                  $form->{currency},
146 146
                  $form->{netamount}, $form->{notes}, conv_i($form->{department_id}),
147 147
                  conv_i($form->{employee_id}), $form->{storno} ? 't' : 'f', $form->{storno_id},
148
                  conv_i($form->{globalproject_id}), $form->{direct_debit} ? 't' : 'f', conv_i($form->{id}));
148
                  conv_i($form->{globalproject_id}), $form->{direct_debit} ? 't' : 'f', $form->{transaction_description},
149
                  conv_i($form->{id}));
149 150
    do_query($form, $dbh, $query, @values);
150 151

  
151 152
    # add individual transactions for AR, amount and taxes
templates/webpages/ar/form_header.html
109 109
                  <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %]</td>
110 110
                </tr>
111 111
              [% END %]
112
              <tr>
113
                <th align="right">[% 'Transaction description' | $T8 %]</th>
114
                <td colspan="3">[% L.input_tag("transaction_description", transaction_description, size=35, "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %]</td>
115
              </tr>
112 116
              <tr>
113 117
                <td align=right>[% L.checkbox_tag('taxincluded', checked=taxincluded) %]</td>
114 118
                <th align="left" nowrap><label for="taxincluded">[% 'Tax Included' | $T8 %]</label></th>

Auch abrufbar als: Unified diff