Browse Source

Merge branch 'develop'

master
Guillaume Bourgeois 9 months ago
parent
commit
6781918471
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      Repository/Order/OrderShopStore.php

+ 9
- 0
Repository/Order/OrderShopStore.php View File

return $query->count(); return $query->count();
} }


public function isFirstOrder(UserInterface $user): bool
{
return $this->countBy([
'user' => $user,
'isValid' => true,
'excludeComplementaryOrderShops' => false
]) == 1;
}

// findCartCurrent // findCartCurrent
public function getOneCartCurrent( public function getOneCartCurrent(
UserInterface $user = null, UserInterface $user = null,

Loading…
Cancel
Save