fixed email logic in Order/Save
This commit is contained in:
@@ -1161,7 +1161,7 @@ class OrderController extends mfBaseController {
|
||||
// send order finish email
|
||||
if($send_to_bill_email) {
|
||||
|
||||
if($ext_products && !$int_products) {
|
||||
if($ext_products) {
|
||||
if(!$order->sendExtBillinfoEmail(new Address($ext_product_owner_id))) {
|
||||
$this->layout()->setFlash("Beim Senden der externen Billing Benachrichtigung ist ein Fehler aufgetreten.", "warning");
|
||||
}
|
||||
@@ -1173,12 +1173,12 @@ class OrderController extends mfBaseController {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($int_products) {
|
||||
|
||||
/*if($int_products) {
|
||||
if(!$order->sendIntBillinfoEmail()) {
|
||||
$this->layout()->setFlash("Beim Senden der Billing Benachrichtigung ist ein Fehler aufgetreten.", "warning");
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
if($int_products && $ext_products) {
|
||||
//$this->layout()->setFlash("Eigene und Fremdprodukte gefunden, nur interne Billing Benachrichtigung verschickt.", "warning");
|
||||
|
||||
Reference in New Issue
Block a user