src/Eccube/Repository/CustomerRepository.php 1 location
|
@@ 155-160 (lines=6) @@
|
| 152 |
|
} |
| 153 |
|
|
| 154 |
|
// tel |
| 155 |
|
if (isset($searchData['phone_number']) && StringUtil::isNotBlank($searchData['phone_number'])) { |
| 156 |
|
$tel = preg_replace('/[^0-9]/ ', '', $searchData['phone_number']); |
| 157 |
|
$qb |
| 158 |
|
->andWhere('c.phone_number LIKE :phone_number') |
| 159 |
|
->setParameter('phone_number', '%'.$tel.'%'); |
| 160 |
|
} |
| 161 |
|
|
| 162 |
|
// buy_total |
| 163 |
|
if (isset($searchData['buy_total_start']) && StringUtil::isNotBlank($searchData['buy_total_start'])) { |
src/Eccube/Repository/OrderRepository.php 1 location
|
@@ 340-345 (lines=6) @@
|
| 337 |
|
} |
| 338 |
|
|
| 339 |
|
// tel |
| 340 |
|
if (isset($searchData['phone_number']) && StringUtil::isNotBlank($searchData['phone_number'])) { |
| 341 |
|
$tel = preg_replace('/[^0-9]/ ', '', $searchData['phone_number']); |
| 342 |
|
$qb |
| 343 |
|
->andWhere('o.phone_number LIKE :phone_number') |
| 344 |
|
->setParameter('phone_number', '%'.$tel.'%'); |
| 345 |
|
} |
| 346 |
|
|
| 347 |
|
// sex |
| 348 |
|
if (!empty($searchData['sex']) && count($searchData['sex']) > 0) { |
src/Eccube/Repository/ShippingRepository.php 1 location
|
@@ 133-138 (lines=6) @@
|
| 130 |
|
} |
| 131 |
|
|
| 132 |
|
// tel |
| 133 |
|
if (isset($searchData['phone_number']) && StringUtil::isNotBlank($searchData['phone_number'])) { |
| 134 |
|
$tel = preg_replace('/[^0-9]/ ', '', $searchData['phone_number']); |
| 135 |
|
$qb |
| 136 |
|
->andWhere('s.phone_number LIKE :phone_number') |
| 137 |
|
->setParameter('phone_number', '%'.$tel.'%'); |
| 138 |
|
} |
| 139 |
|
|
| 140 |
|
// payment |
| 141 |
|
if (!empty($searchData['payment']) && count($searchData['payment'])) { |