Skip to content

Commit

Permalink
[FIX] accidentally deleted _
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Nov 9, 2019
1 parent a35d48d commit 95b028d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Model/Api/Builder/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ protected function getSequraOrders()
'entity_id',//load minimun fields, anyway later, we need to populate all and load related objects.
'increment_id'
])->addFieldToFilter(
'sequraorder_send',
'sequra_order_send',
['eq' => 1]
);
/* join with payment table */
$collection->getSelect()
->join(
["sop" => "salesorder_payment"],
["sop" => "sales_order_payment"],
'main_table.entity_id = sop.parent_id',
['method']
)
Expand Down Expand Up @@ -242,16 +242,16 @@ public function orderMerchantReference($order)

private function getBrokenOrders()
{
$cleanedorders = [];
$cleaned_orders = [];
$this->brokenorders = [];
foreach ($this->orders as $key => $order) {
if (!Helper::isConsistentCart($order['cart'])) {
$this->brokenorders[] = $order;
} else {
$cleanedorders[] = $order;
$cleaned_orders[] = $order;
}
}
$this->orders = $cleanedorders;
$this->orders = $cleaned_orders;
}

/**
Expand Down

0 comments on commit 95b028d

Please sign in to comment.