Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vegimcarkaxhija committed Jan 16, 2024
1 parent 23767ad commit 1e72dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/checkout/billinkcheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public function getArticles()
public function getRecipientCategory()
{
$category = self::CUSTOMER_TYPE_B2C;
if ($this->customerType == self::CUSTOMER_TYPE_B2B
|| $this->companyExists($this->invoice_address->company)) {
if ($this->customerType == self::CUSTOMER_TYPE_B2B ||
($this->customerType == self::CUSTOMER_TYPE_BOTH && $this->companyExists($this->invoice_address->company))) {
$category = self::CUSTOMER_TYPE_B2B;
}
return $category;
Expand Down

0 comments on commit 1e72dc5

Please sign in to comment.