public function deletePurchaseOrderProduct($purchaseOrderId, $productId) { PurchaseOrderProduct::where('purchase_order_id', $purchaseOrderId)->where('product_id', $productId)->delete(); }