Added order position deletion; added fontawesome pro
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user