src/Eccube/Repository/CustomerRepository.php 1 location
|
@@ 154-159 (lines=6) @@
|
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
// tel |
| 154 |
|
if (isset($searchData['phone_number']) && StringUtil::isNotBlank($searchData['phone_number'])) { |
| 155 |
|
$tel = preg_replace('/[^0-9]/ ', '', $searchData['phone_number']); |
| 156 |
|
$qb |
| 157 |
|
->andWhere('c.phone_number LIKE :phone_number') |
| 158 |
|
->setParameter('phone_number', '%'.$tel.'%'); |
| 159 |
|
} |
| 160 |
|
|
| 161 |
|
// buy_total |
| 162 |
|
if (isset($searchData['buy_total_start']) && StringUtil::isNotBlank($searchData['buy_total_start'])) { |
src/Eccube/Repository/OrderRepository.php 1 location
|
@@ 169-174 (lines=6) @@
|
| 166 |
|
} |
| 167 |
|
|
| 168 |
|
// tel |
| 169 |
|
if (isset($searchData['phone_number']) && StringUtil::isNotBlank($searchData['phone_number'])) { |
| 170 |
|
$tel = preg_replace('/[^0-9]/ ', '', $searchData['phone_number']); |
| 171 |
|
$qb |
| 172 |
|
->andWhere('o.phone_number LIKE :phone_number') |
| 173 |
|
->setParameter('phone_number', '%'.$tel.'%'); |
| 174 |
|
} |
| 175 |
|
|
| 176 |
|
// sex |
| 177 |
|
if (!empty($searchData['sex']) && count($searchData['sex']) > 0) { |
src/Eccube/Repository/ShippingRepository.php 1 location
|
@@ 129-134 (lines=6) @@
|
| 126 |
|
} |
| 127 |
|
|
| 128 |
|
// tel |
| 129 |
|
if (isset($searchData['phone_number']) && StringUtil::isNotBlank($searchData['phone_number'])) { |
| 130 |
|
$tel = preg_replace('/[^0-9]/ ', '', $searchData['phone_number']); |
| 131 |
|
$qb |
| 132 |
|
->andWhere('s.phone_number LIKE :phone_number') |
| 133 |
|
->setParameter('phone_number', '%'.$tel.'%'); |
| 134 |
|
} |
| 135 |
|
|
| 136 |
|
// payment |
| 137 |
|
if (!empty($searchData['payment']) && count($searchData['payment'])) { |