Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b1a92c56

Von Werner Hahn vor mehr als 3 Jahren hinzugefügt

  • ID b1a92c5647cfba337902208c097a2273233197f2
  • Vorgänger b9aaed24
  • Nachfolger 84176299

Webshop Order Zahlungsbedingen mit übergeben

Unterschiede anzeigen:

SL/DB/ShopOrder.pm
96 96
      intnotes                => $customer->notes,
97 97
      salesman_id             => $employee->id,
98 98
      taxincluded             => $self->tax_included,
99
      payment_id              => $customer->payment_id,
99
      payment_id              => $self->payment_id,
100 100
      taxzone_id              => $customer->taxzone_id,
101 101
      currency_id             => $customer->currency_id,
102 102
      transaction_description => $shop->transaction_description,
SL/ShopConnector/WooCommerce.pm
203 203
    } else {
204 204
      $d_street = $import->{billing}->{address_1} . ($import->{billing}->{address_2} ? " " . $import->{billing}->{address_2} : "");
205 205
    }
206
  # Mapping Zahlungsmethoden muss an Firmenkonfiguration angepasst werden
207
  my %payment_ids_methods = (
208
                              'paypal'                            => 2489,
209
                              'german_market_purchase_on_account' => 2487,
210
                            );
206 211
  my %columns = (
207 212
#billing Shop can have different billing addresses, and may have 1 customer_address
208 213
    billing_firstname       => $import->{billing}->{first_name},
......
292 297
    #prices_include_tax
293 298
    tax_included            => $tax_included,
294 299
    #payment_method
295
    # ??? payment_id              => $import->{payment_method},
300
    payment_id              => $payment_ids_methods{$import->{payment_method}} || 2487,
296 301
    #payment_method_title
297
    payment_description     => $import->{payment}->{payment_method_title},
302
    payment_description     => $import->{payment_method_title},
298 303
    #transaction_id
299 304
    shop_trans_id           => $import->{id},
300 305
    #date_paid
templates/webpages/shop_order/show.html
118 118
          <tr><td><b>[% 'Shop Ordernotes' | $T8 %]</b></td><td>[% HTML.escape(IMPORT.shop_customer_comment) %]</td></tr>
119 119
          <tr><td><b>[% 'Shop Orderamount' | $T8 %]</b></td><td>[% HTML.escape(IMPORT.amount_as_number) %]</td></tr>
120 120
          <tr><td><b>[% 'Shipping costs' | $T8 %]</b></td><td>[% HTML.escape(IMPORT.shipping_costs_as_number) %]</td></tr>
121
          <tr><td><b>[% 'Payment description' | $T8 %]</b></td><td>[% HTML.escape(IMPORT.payment_description) %]</td></tr>
121 122
        </table>
122 123
      </td>
123 124
      <td style="padding-left: 20px; vertical-align: top;">

Auch abrufbar als: Unified diff