Added order position deletion; added fontawesome pro

This commit is contained in:
Frank Schubert
2022-03-31 17:05:24 +02:00
parent 35cb56dc50
commit 94b09b00a5
17870 changed files with 600844 additions and 15830 deletions

View File

@@ -619,6 +619,12 @@ class OrderController extends mfBaseController {
continue;
}
if($p['delete'] == 1) {
$product = new OrderProduct($product_id);
$product->delete();
continue;
}
$prod = new Product($p['product_id']);
if(!$prod->id) {
$this->log->warn(__CLASS__."::save() Invalid product: ".$p['product_id']);