WIP Ivt Import 2024-05-02
This commit is contained in:
@@ -288,7 +288,7 @@ class Order extends mfBaseModel {
|
||||
$to = $values['to'];
|
||||
|
||||
if(!$subject || !$from || !$from_name || !$to) {
|
||||
$this->log->warn("Order Fileupload Email not sent. (subject: '$subject', from: '$from', from_email: '$from_email', to: '$to')");
|
||||
$this->log->warn("Order Fileupload Email not sent. (subject: '$subject', from: '$from_name', from_email: '$from', to: '$to')");
|
||||
} else {
|
||||
$filepath = MFUPLOAD_FILE_SAVE_PATH;
|
||||
if($file->file->subfolder) {
|
||||
|
||||
@@ -1236,7 +1236,6 @@ class OrderController extends mfBaseController {
|
||||
$order->deletePositions();
|
||||
|
||||
|
||||
// TODO: check if Product is unused
|
||||
$order->delete();
|
||||
$this->layout()->setFlash("Bestellung gelöscht", "success");
|
||||
$this->redirect("Order");
|
||||
|
||||
Reference in New Issue
Block a user