Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision fec7f504

Von Werner Hahn vor mehr als 7 Jahren hinzugefügt

  • ID fec7f50485fe5eae469a0918a5c29a4a1eeffa5d
  • Vorgänger 60a44450
  • Nachfolger db5b8526

Shopmodul: Fehler nache merge behoben

Unterschiede anzeigen:

SL/Controller/ShopOrder.pm
)";
my @values = ($lastname, $company, $shop_order->billing_zipcode, $street, $shop_order->billing_zipcode, $shop_order->billing_email);
my @c_ids = selectall_array_query($::form, $dbh, $fs_query, @values);
$main::lxdebug->dump(0, 'WH:C_IDs ',\@c_ids);
my $proposals = SL::DB::Manager::Customer->get_all(
query => [ id => [ @c_ids ],
# or => [
# and => [ # when matching names also match zipcode
# or => [ 'name' => { ilike => "%$lastname%"},
# 'name' => { ilike => $shop_order->customer_company },
# ],
# 'zipcode' => { ilike => $shop_order->customer_zipcode },
# ],
# and => [ # check for street and zipcode
# and => [ 'street' => { ilike => "%".$shop_order->customer_street."%" },
# 'zipcode' => { ilike => $shop_order->customer_zipcode },
# ],
# ],
# or => [ 'email' => { ilike => $shop_order->customer_email } ],
# ],
],
query => [ id => [ @c_ids ], ],
);
$self->render('shop_order/show',
title => t8('Shoporder'),
IMPORT => $shop_order,
PROPOSALS => $proposals,
# C_ADDRESS => $c_address,
# B_ADDRESS => $b_address,
# D_ADDRESS => $d_address,
);
}
SL/ShopConnector/Shopware.pm
city => $shop_order->billing_city,
name => $name,
]);
$main::lxdebug->dump(0, 'WH:CUS ',\$customer);
if(ref $customer){
$shop_order->{kivi_customer_id} = $customer->id;
......
email => $shop_order->billing_email,
]
);
$main::lxdebug->dump(0, 'WH:CUS ',\$customer);
if(ref $customer){
$shop_order->{kivi_customer_id} = $customer->id;
$shop_order->save;
}
}
# DF Versandkosten als Position am ende einfügen Dreschflegelspezifisch event. konfigurierbar machen
if(ref $customer){
$shop_order->{kivi_customer_id} = $customer->id;

Auch abrufbar als: Unified diff