@extends('admin.layouts.app') @section('title', '마케팅 회원 추출') @section('page_title', '마케팅 회원 추출') @section('page_desc', '조건에 맞는 회원을 빠르게 조회하고, 전체를 ZIP(암호)로 내려받습니다. (화면은 상위 10건만 표시)') @push('head') @endpush @section('content') @php $f = $filters ?? []; $stat3 = (string)($f['stat_3'] ?? ''); $regFrom = (string)($f['reg_from'] ?? ''); $regTo = (string)($f['reg_to'] ?? ''); // 로그인 필터: mode + days (둘 중 하나만) $loginMode = (string)($f['login_mode'] ?? 'none'); // none|inactive|recent $loginDays = (string)($f['login_days'] ?? ''); // 구매/최근구매 $hasPur = (string)($f['has_purchase'] ?? 'all'); // all|1|0 $recent = (string)($f['recent_purchase'] ?? 'all'); // all|30|90 $minCnt = (string)($f['min_purchase_count'] ?? ''); $minAmt = (string)($f['min_purchase_amount'] ?? ''); // 수신동의/정보유무 $optSms = (string)($f['optin_sms'] ?? 'all'); // all|1|0 $optEmail = (string)($f['optin_email'] ?? 'all'); // all|1|0 $hasPhone = (string)($f['has_phone'] ?? 'all'); // all|1|0 $hasEmail = (string)($f['has_email'] ?? 'all'); // all|1|0 @endphp
| 회원번호 | 성명 | 전화번호 | 이메일 | 회원상태 | 가입일시 | 최근로그인 | 미접속일수 | 누적구매횟수 | 누적구매금액 | 최근구매일 | SMS수신 | 이메일수신 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #{{ $no }} | {{ $r['name'] ?? '-' }} | {{ $r['phone_display'] ?? '-' }} | {{ $r['email'] ?? '' }} | {{ $r['stat_3_label'] ?? ($r['stat_3'] ?? '') }} | {{ $r['reg_at'] ?? '-' }} | {{ $r['last_login_at'] ?? '-' }} | {{ $inactiveDays }} | {{ number_format((int)($r['purchase_count_total'] ?? 0)) }} | {{ number_format((int)($r['purchase_amount_total'] ?? 0)) }} | {{ $r['last_purchase_at'] ?? '-' }} | {{ ((int)($r['optin_sms'] ?? 0)===1) ? '수신동의' : '수신미동의' }} | {{ ((int)($r['optin_email'] ?? 0)===1) ? '수신동의' : '수신미동의' }} |
| 조건에 해당하는 데이터가 없습니다. | ||||||||||||