退换货
This commit is contained in:
parent
ba67262e9e
commit
fbd4f61128
|
|
@ -78,7 +78,7 @@ class RmaReasonRepo
|
|||
*/
|
||||
public static function list(array $data = [])
|
||||
{
|
||||
$builder = RmaReason::query();
|
||||
$builder = RmaReason::query()->where('locale', current_language());
|
||||
|
||||
if (isset($data['name'])) {
|
||||
$builder->where('name', 'like', "%{$data['name']}%");
|
||||
|
|
|
|||
Loading…
Reference in New Issue